/AliOS-Things-master/components/SDL2/test/ |
A D | testdisplayinfo.c | 54 float ddpi, hdpi, vdpi; in main() local 60 if (SDL_GetDisplayDPI(dpy, &ddpi, &hdpi, &vdpi) == -1) { in main() 63 SDL_Log(" DPI: ddpi=%f; hdpi=%f; vdpi=%f\n", ddpi, hdpi, vdpi); in main()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11modes.h | 36 float vdpi; member 81 …X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, float * vdpi);
|
A D | SDL_x11modes.c | 472 … displaydata->vdpi = display_mm_height ? (((float) mode.h) * 25.4f / display_mm_height) : 0.0f; in X11_InitModes_XRandR() 754 displaydata->vdpi = (float)DisplayHeight(data->display, displaydata->screen) * 25.4f / in X11_InitModes() 1056 X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, float * vdpi) in X11_GetDisplayDPI() argument 1066 if (vdpi) { in X11_GetDisplayDPI() 1067 *vdpi = data->vdpi; in X11_GetDisplayDPI()
|
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidvideo.c | 50 int Android_GetDisplayDPI(_THIS, SDL_VideoDisplay *display, float *ddpi, float *hdpi, float *vdpi); 224 Android_GetDisplayDPI(_THIS, SDL_VideoDisplay *display, float *ddpi, float *hdpi, float *vdpi) in Android_GetDisplayDPI() argument 226 return Android_JNI_GetDisplayDPI(ddpi, hdpi, vdpi); in Android_GetDisplayDPI()
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsmodes.c | 260 float hdpi = 0, vdpi = 0, ddpi = 0; in WIN_GetDisplayDPI() local 268 vdpi = (float)hdpi_uint; in WIN_GetDisplayDPI() 297 vdpi = (float)vdpi_int; in WIN_GetDisplayDPI() 308 *vdpi_out = vdpi; in WIN_GetDisplayDPI()
|
A D | SDL_windowsmodes.h | 40 …int WIN_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi);
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoamodes.h | 40 …t Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hpdi, float * vdpi);
|
A D | SDL_cocoamodes.m | 445 Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi) 475 if (vdpi) { 476 *vdpi = (pixelHeight * MM_IN_INCH / displaySize.height) * scaleFactor;
|
/AliOS-Things-master/components/SDL2/src/video/uikit/ |
A D | SDL_uikitmodes.h | 47 …t UIKit_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi);
|
A D | SDL_uikitmodes.m | 387 UIKit_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi) 399 if (vdpi) { 400 *vdpi = dpi;
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_video.h | 366 …DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi);
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_sysvideo.h | 193 …int (*GetDisplayDPI) (_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi);
|
A D | SDL_video.c | 744 SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi) in SDL_GetDisplayDPI() argument 753 if (_this->GetDisplayDPI(_this, display, ddpi, hdpi, vdpi) == 0) { in SDL_GetDisplayDPI()
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_common.c | 902 float vdpi = 0; in SDLTest_CommonInit() local 921 SDL_GetDisplayDPI(i, NULL, &hdpi, &vdpi); in SDLTest_CommonInit() 925 SDL_Log("DPI: %fx%f\n", hdpi, vdpi); in SDLTest_CommonInit()
|