NetSurf
|
Browser core functionality. More...
#include "utils/errors.h"
#include "utils/log.h"
#include "utils/utils.h"
#include "netsurf/browser.h"
#include "css/utils.h"
Go to the source code of this file.
Functions | |
nserror | browser_set_dpi (int dpi) |
Set the DPI of the browser. More... | |
int | browser_get_dpi (void) |
Get the browser DPI. More... | |
Browser core functionality.
Definition in file browser.c.
int browser_get_dpi | ( | void | ) |
Get the browser DPI.
Definition at line 45 of file browser.c.
References nscss_screen_dpi.
Referenced by fb_fill_scalar(), and nsgtk_setup().
nserror browser_set_dpi | ( | int | dpi | ) |
Set the DPI of the browser.
dpi | The DPI to set. |
Definition at line 32 of file browser.c.
References max, min, nscss_screen_dpi, NSERROR_OK, and NSLOG.
Referenced by ami_font_setdevicedpi(), nsgtk_setup(), and WinMain().