Home
last modified time | relevance | path

Searched refs:deltax (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/agg23/
Dagg_clip_liang_barsky.h50 FX_FLOAT deltax = width.ValueOrDefault(0); in clip_liang_barsky() local
53 if(deltax == 0) { in clip_liang_barsky()
54 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
57 if(deltax > 0) { in clip_liang_barsky()
64 FX_FLOAT tinx = (xin - x1) / deltax; in clip_liang_barsky()
92 FX_FLOAT toutx = (xout - x1) / deltax; in clip_liang_barsky()
102 *x++ = (T)(x1 + (deltax * tiny)); in clip_liang_barsky()
112 *x++ = (T)(x1 + (deltax * touty)); in clip_liang_barsky()
D0002-ubsan-error-fixes.patch17 - FX_FLOAT deltax = (FX_FLOAT)(x2 - x1);
29 + FX_FLOAT deltax = width.ValueOrDefault(0);
32 if(deltax == 0) {
33 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero;
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp232 FX_FLOAT deltax = x2 - x1; in clip_liang_barsky() local
235 if (deltax == 0) in clip_liang_barsky()
236 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
238 if (deltax > 0) { in clip_liang_barsky()
245 FX_FLOAT tinx = (xin - x1) / deltax; in clip_liang_barsky()
272 FX_FLOAT toutx = (xout - x1) / deltax; in clip_liang_barsky()
282 *x++ = x1 + (deltax * tiny); in clip_liang_barsky()
292 *x++ = x1 + (deltax * touty); in clip_liang_barsky()