Home
last modified time | relevance | path

Searched refs:xscale (Results 1 - 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-graphite2.cc326 float xscale = (float) font->x_scale / upem; in _hb_graphite2_shape() local
328 yscale *= yscale / xscale; in _hb_graphite2_shape()
332 curradv = gr_slot_origin_X(gr_seg_first_slot(seg)) * xscale; in _hb_graphite2_shape()
333 clusters[0].advance = gr_seg_advance_X(seg) * xscale - curradv; in _hb_graphite2_shape()
361 c->advance = curradv - gr_slot_origin_X(is) * xscale; in _hb_graphite2_shape()
367 clusters[ci].advance += gr_slot_origin_X(is) * xscale - curradv; in _hb_graphite2_shape()
381 clusters[ci].advance += gr_seg_advance_X(seg) * xscale - curradv; in _hb_graphite2_shape()
405 pPos->x_offset = gr_slot_origin_X (is) * xscale - curradvx; in _hb_graphite2_shape()
420 curradvx = gr_seg_advance_X(seg) * xscale; in _hb_graphite2_shape()
433 pPos->x_offset = gr_slot_origin_X (is) * xscale in _hb_graphite2_shape()
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_translate.h425 int xscale, yscale; in translate_samples_to_xyscale() local
430 xscale = 1; in translate_samples_to_xyscale()
434 xscale = 2; in translate_samples_to_xyscale()
438 xscale = 2; in translate_samples_to_xyscale()
446 *xscale_out = xscale; in translate_samples_to_xyscale()
/third_party/glfw/src/
H A Dnull_monitor.c80 float* xscale, float* yscale) in _glfwGetMonitorContentScaleNull()
82 if (xscale) in _glfwGetMonitorContentScaleNull()
83 *xscale = 1.f; in _glfwGetMonitorContentScaleNull()
79 _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleNull() argument
H A Dwin32_monitor.c317 void _glfwGetHMONITORContentScaleWin32(HMONITOR handle, float* xscale, float* yscale) in _glfwGetHMONITORContentScaleWin32() argument
321 if (xscale) in _glfwGetHMONITORContentScaleWin32()
322 *xscale = 0.f; in _glfwGetHMONITORContentScaleWin32()
342 if (xscale) in _glfwGetHMONITORContentScaleWin32()
343 *xscale = xdpi / (float) USER_DEFAULT_SCREEN_DPI; in _glfwGetHMONITORContentScaleWin32()
375 float* xscale, float* yscale) in _glfwGetMonitorContentScaleWin32()
377 _glfwGetHMONITORContentScaleWin32(monitor->win32.handle, xscale, yscale); in _glfwGetMonitorContentScaleWin32()
374 _glfwGetMonitorContentScaleWin32(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleWin32() argument
H A Dwl_monitor.c208 float* xscale, float* yscale) in _glfwGetMonitorContentScaleWayland()
210 if (xscale) in _glfwGetMonitorContentScaleWayland()
211 *xscale = (float) monitor->wl.scale; in _glfwGetMonitorContentScaleWayland()
207 _glfwGetMonitorContentScaleWayland(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleWayland() argument
H A Dcocoa_platform.h153 float xscale, yscale; member
229 void _glfwGetWindowContentScaleCocoa(_GLFWwindow* window, float* xscale, float* yscale);
281 void _glfwGetMonitorContentScaleCocoa(_GLFWmonitor* monitor, float* xscale, float* yscale);
H A Dmonitor.c381 float* xscale, float* yscale) in glfwGetMonitorContentScale()
383 if (xscale) in glfwGetMonitorContentScale()
384 *xscale = 0.f; in glfwGetMonitorContentScale()
393 _glfw.platform.getMonitorContentScale(monitor, xscale, yscale); in glfwGetMonitorContentScale()
380 glfwGetMonitorContentScale(GLFWmonitor* handle, float* xscale, float* yscale) glfwGetMonitorContentScale() argument
H A Dwindow.c134 void _glfwInputWindowContentScale(_GLFWwindow* window, float xscale, float yscale) in _glfwInputWindowContentScale() argument
137 assert(xscale > 0.f); in _glfwInputWindowContentScale()
138 assert(xscale < FLT_MAX); in _glfwInputWindowContentScale()
143 window->callbacks.scale((GLFWwindow*) window, xscale, yscale); in _glfwInputWindowContentScale()
753 float* xscale, float* yscale) in glfwGetWindowContentScale()
755 if (xscale) in glfwGetWindowContentScale()
756 *xscale = 0.f; in glfwGetWindowContentScale()
765 _glfw.platform.getWindowContentScale(window, xscale, yscale); in glfwGetWindowContentScale()
752 glfwGetWindowContentScale(GLFWwindow* handle, float* xscale, float* yscale) glfwGetWindowContentScale() argument
H A Dnull_window.c322 void _glfwGetWindowContentScaleNull(_GLFWwindow* window, float* xscale, float* yscale) in _glfwGetWindowContentScaleNull() argument
324 if (xscale) in _glfwGetWindowContentScaleNull()
325 *xscale = 1.f; in _glfwGetWindowContentScaleNull()
H A Dnull_platform.h215 void _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, float* xscale, float* yscale);
235 void _glfwGetWindowContentScaleNull(_GLFWwindow* window, float* xscale, float* yscale);
H A Dwin32_platform.h543 void _glfwGetHMONITORContentScaleWin32(HMONITOR handle, float* xscale, float* yscale);
557 void _glfwGetWindowContentScaleWin32(_GLFWwindow* window, float* xscale, float* yscale);
609 void _glfwGetMonitorContentScaleWin32(_GLFWmonitor* monitor, float* xscale, float* yscale);
H A Dx11_monitor.c341 float* xscale, float* yscale) in _glfwGetMonitorContentScaleX11()
343 if (xscale) in _glfwGetMonitorContentScaleX11()
344 *xscale = _glfw.x11.contentScaleX; in _glfwGetMonitorContentScaleX11()
340 _glfwGetMonitorContentScaleX11(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleX11() argument
H A Dwin32_window.c1203 const float xscale = HIWORD(wParam) / (float) USER_DEFAULT_SCREEN_DPI; in windowProc() local
1221 _glfwInputWindowContentScale(window, xscale, yscale); in windowProc()
1438 float xscale, yscale; in createNativeWindow() local
1439 _glfwGetHMONITORContentScaleWin32(mh, &xscale, &yscale); in createNativeWindow()
1441 if (xscale > 0.f && yscale > 0.f) in createNativeWindow()
1443 rect.right = (int) (rect.right * xscale); in createNativeWindow()
1778 void _glfwGetWindowContentScaleWin32(_GLFWwindow* window, float* xscale, float* yscale) in _glfwGetWindowContentScaleWin32() argument
1782 _glfwGetHMONITORContentScaleWin32(handle, xscale, yscale); in _glfwGetWindowContentScaleWin32()
H A Dwl_platform.h625 void _glfwGetWindowContentScaleWayland(_GLFWwindow* window, float* xscale, float* yscale);
677 void _glfwGetMonitorContentScaleWayland(_GLFWmonitor* monitor, float* xscale, float* yscale);
H A Dx11_platform.h916 void _glfwGetWindowContentScaleX11(_GLFWwindow* window, float* xscale, float* yscale);
968 void _glfwGetMonitorContentScaleX11(_GLFWmonitor* monitor, float* xscale, float* yscale);
/third_party/glfw/tests/
H A Dmonitors.c99 float xscale, yscale; in list_modes() local
106 glfwGetMonitorContentScale(monitor, &xscale, &yscale); in list_modes()
114 printf("Content scale: %f x %f\n", xscale, yscale); in list_modes()
H A Dwindow.c375 float xscale, yscale; in main() local
376 glfwGetWindowContentScale(window, &xscale, &yscale); in main()
378 nk_labelf(nk, NK_TEXT_LEFT, "%f", xscale); in main()
H A Devents.c311 static void window_content_scale_callback(GLFWwindow* window, float xscale, float yscale) in window_content_scale_callback() argument
315 counter++, slot->number, glfwGetTime(), xscale, yscale); in window_content_scale_callback()
/third_party/ffmpeg/libavfilter/
H A Dvf_vignette.c72 float xscale, yscale; member
139 const int xx = (x - s->x0) * s->xscale; in get_natural_factor()
298 s->xscale = av_q2d(av_div_q(sar, s->aspect)); in config_props()
302 s->xscale = 1; in config_props()
305 av_log(s, AV_LOG_DEBUG, "xscale=%f yscale=%f dmax=%f\n", in config_props()
306 s->xscale, s->yscale, s->dmax); in config_props()
/third_party/python/Lib/
H A Dturtle.py492 self.xscale = self.yscale = 1.0
512 cl.append(x * self.xscale)
543 cl.append(x * self.xscale)
593 x = x * self.xscale
614 x, y = (self.cv.canvasx(event.x)/self.xscale,
632 x, y = (self.cv.canvasx(event.x)/self.xscale,
652 x, y = (self.cv.canvasx(event.x)/self.xscale,
672 x, y = (self.cv.canvasx(event.x)/self.xscale,
729 self.cv.coords(item, (x * self.xscale, -y * self.yscale))
1066 self.xscale
[all...]
/third_party/littlefs/scripts/
H A Dplot.py388 xscale, yscale = 2, 4
390 xscale, yscale = 1, 2
392 xscale, yscale = 1, 1
396 for x in range(self.width//xscale):
402 for i in range(xscale*yscale):
403 f, c = self.grid[x*xscale+(xscale-1-(i%xscale))
404 + (y*yscale+(i//xscale))*self.width]
434 elif x == self.width//xscale
[all...]
/third_party/libdrm/exynos/
H A Dexynos_fimg2d.h285 unsigned int xscale; member
/third_party/glfw/include/GLFW/
H A Dglfw3.h1767 * void function_name(GLFWwindow* window, float xscale, float yscale)
1771 * @param[in] xscale The new x-axis content scale of the window.
1781 typedef void (* GLFWwindowcontentscalefun)(GLFWwindow* window, float xscale, float yscale);
2710 * @param[out] xscale Where to store the x-axis content scale, or `NULL`.
2728 GLFWAPI void glfwGetMonitorContentScale(GLFWmonitor* monitor, float* xscale, float* yscale);
3718 * @param[out] xscale Where to store the x-axis content scale, or `NULL`.
3734 GLFWAPI void glfwGetWindowContentScale(GLFWwindow* window, float* xscale, float* yscale);
4481 * void function_name(GLFWwindow* window, float xscale, float yscale)
/third_party/skia/demos.skia.org/demos/textedit/
H A Dtextapi_utils.js494 const xscale = 0.05;
500 wavy.push(pos[i + 1] + Math.sin(x * xscale) * yscale);
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_context.h253 float xscale; /* R300_VAP_VPORT_XSCALE: 0x2098 */ member

Completed in 34 milliseconds

12