Home
last modified time | relevance | path

Searched refs:FXSYS_ceil (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp162 rect.right = (int)FXSYS_ceil(rect1.right); in GetOutterRect()
164 rect.bottom = (int)FXSYS_ceil(rect1.top); in GetOutterRect()
172 rect.left = (int)FXSYS_ceil(rect1.left); in GetInnerRect()
174 rect.top = (int)FXSYS_ceil(rect1.bottom); in GetInnerRect()
181 int length = (int)FXSYS_ceil(f2 - f1); in _MatchFloatRange()
183 int i1_2 = (int)FXSYS_ceil(f1); in _MatchFloatRange()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp318 int min_yi = (int)FXSYS_floor(min_y), max_yi = (int)FXSYS_ceil(max_y); in _DrawGouraud()
347 max_x = (int)FXSYS_ceil(inter_x[1]); in _DrawGouraud()
352 max_x = (int)FXSYS_ceil(inter_x[0]); in _DrawGouraud()
915 clip_box.right = clip_box.left + (FX_INT32)FXSYS_ceil(clip_box.Width() * sa); in DrawTilingPattern()
916 clip_box.bottom = clip_box.top + (FX_INT32)FXSYS_ceil(clip_box.Height() * sd); in DrawTilingPattern()
928 int width = (int)FXSYS_ceil(cell_bbox.Width()); in DrawTilingPattern()
929 int height = (int)FXSYS_ceil(cell_bbox.Height()); in DrawTilingPattern()
941 … min_col = (int)FXSYS_ceil(FXSYS_Div(clip_box_p.left - pPattern->m_BBox.right, pPattern->m_XStep)); in DrawTilingPattern()
943 … min_row = (int)FXSYS_ceil(FXSYS_Div(clip_box_p.bottom - pPattern->m_BBox.top, pPattern->m_YStep)); in DrawTilingPattern()
Dfpdf_render.cpp385 rect.right = rect.left + (FX_INT32)FXSYS_ceil((FX_FLOAT)rect.Width() * a); in GetObjectClippedRect()
386 rect.bottom = rect.top + (FX_INT32)FXSYS_ceil((FX_FLOAT)rect.Height() * d); in GetObjectClippedRect()
387 rtClip.right = rtClip.left + (FX_INT32)FXSYS_ceil((FX_FLOAT)rtClip.Width() * a); in GetObjectClippedRect()
388 rtClip.bottom = rtClip.top + (FX_INT32)FXSYS_ceil((FX_FLOAT)rtClip.Height() * d); in GetObjectClippedRect()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp26 …m_ItemSize = sizeof(int) * 2 + (int)(sizeof(int) * (FXSYS_ceil(FXSYS_fabs((FX_FLOAT)scale)) + ext_… in Calc()
139 end_i = (int)FXSYS_ceil((FX_FLOAT)src_end); in Calc()
142 end_i = (int)FXSYS_ceil((FX_FLOAT)src_start); in Calc()
252 m_SrcClip.right = (int)FXSYS_ceil((FX_FLOAT)src_right); in CStretchEngine()
254 m_SrcClip.bottom = (int)FXSYS_ceil((FX_FLOAT)src_bottom); in CStretchEngine()
Dfx_dib_transform.cpp243 …int dest_width = pDestMatrix->a > 0 ? (int)FXSYS_ceil(pDestMatrix->a) : (int)FXSYS_floor(pDestMatr… in Start()
244 …int dest_height = pDestMatrix->d > 0 ? (int) - FXSYS_ceil(pDestMatrix->d) : (int) - FXSYS_floor(pD… in Start()
250 int stretch_width = (int)FXSYS_ceil(FXSYS_sqrt2(pDestMatrix->a, pDestMatrix->b)); in Start()
251 int stretch_height = (int)FXSYS_ceil(FXSYS_sqrt2(pDestMatrix->c, pDestMatrix->d)); in Start()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_device.cpp161 int width = (int)FXSYS_ceil(rect_f.right - rect_f.left); in DrawPath()
168 int height = (int)FXSYS_ceil(rect_f.top - rect_f.bottom); in DrawPath()
/external/pdfium/core/include/fxcrt/
Dfx_system.h244 #define FXSYS_ceil(a) (FX_FLOAT)ceil(a) macro
/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp494 rect->right = FXSYS_ceil(r.origin.x + r.size.width); in GetClipBox()
495 rect->bottom = FXSYS_ceil(r.origin.y + r.size.height); in GetClipBox()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_func.cpp236 Push((FX_FLOAT)FXSYS_ceil(d1)); in DoOperator()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp654 …HPEN hPen = ExtCreatePen(PenStyle, (DWORD)FXSYS_ceil(width), &lb, pGraphState->m_DashCount, (const… in _CreatePen()