Home
last modified time | relevance | path

Searched refs:xMax (Results 1 – 25 of 109) sorted by relevance

12345

/external/fonttools/Lib/fontTools/misc/
DarrayTools.py25 xMin, yMin, xMax, yMax = calcBounds(array)
27 xMax = int(math.ceil(xMax))
30 return xMin, yMin, xMax, yMax
36 xMin, yMin, xMax, yMax = bounds
37 return min(xMin, x), min(yMin, y), max(xMax, x), max(yMax, y)
42 xMin, yMin, xMax, yMax = rect
43 return (xMin <= x <= xMax) and (yMin <= y <= yMax)
51 xMin, yMin, xMax, yMax = rect
52 return [(xMin <= x <= xMax) and (yMin <= y <= yMax) for x, y in array]
68 (xMin, yMin, xMax, yMax) = rect
[all …]
/external/freetype/src/base/
Dftbbox.c76 ( p->x < bbox.xMin || p->x > bbox.xMax )
166 &user->bbox.xMax ); in BBox_Conic_To()
372 &user->bbox.xMax ); in BBox_Cubic_To()
417 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF()
427 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF()
439 if ( x > cbox.xMax ) cbox.xMax = x; in FT_EXPORT_DEF()
448 if ( x > bbox.xMax ) bbox.xMax = x; in FT_EXPORT_DEF()
458 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
Dftglyph.c129 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 ); in ft_bitmap_glyph_bbox()
466 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
484 acbox->xMax = FT_PIX_CEIL( acbox->xMax ); in FT_Glyph_Get_CBox()
494 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c471 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
480 xMax = 0; in FT_Outline_Get_CBox()
489 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
500 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
508 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1048 xshift = FT_MSB( FT_ABS( cbox.xMax ) | FT_ABS( cbox.xMin ) ) - 14; in FT_Outline_Get_Orientation()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py68 xMax = -INFINITY
84 xMax = max(xMax, g.xMax)
99 headTable.xMax = 0
104 headTable.xMax = xMax
D_h_h_e_a.py63 rsb = width - lsb - (g.xMax - g.xMin)
65 extent = lsb + (g.xMax - g.xMin)
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftbbox.c76 ( p->x < bbox.xMin || p->x > bbox.xMax )
177 &user->bbox.xMax ); in BBox_Conic_To()
534 &user->bbox.xMax ); in BBox_Cubic_To()
579 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF()
589 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF()
601 if ( x > cbox.xMax ) cbox.xMax = x; in FT_EXPORT_DEF()
610 if ( x > bbox.xMax ) bbox.xMax = x; in FT_EXPORT_DEF()
620 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
Dfxft_ftglyph.c129 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 ); in ft_bitmap_glyph_bbox()
465 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
485 acbox->xMax = FT_PIX_CEIL( acbox->xMax ); in FT_Glyph_Get_CBox()
495 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c471 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
480 xMax = 0; in FT_Outline_Get_CBox()
489 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
500 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
508 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1045 xshift = FT_MSB( FT_ABS( cbox.xMax ) | FT_ABS( cbox.xMin ) ) - 14; in FT_Outline_Get_Orientation()
/external/chromium_org/third_party/freetype/src/base/
Dftbbox.c76 ( p->x < bbox.xMin || p->x > bbox.xMax )
177 &user->bbox.xMax ); in BBox_Conic_To()
534 &user->bbox.xMax ); in BBox_Cubic_To()
579 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF()
589 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF()
601 if ( x > cbox.xMax ) cbox.xMax = x; in FT_EXPORT_DEF()
610 if ( x > bbox.xMax ) bbox.xMax = x; in FT_EXPORT_DEF()
620 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
Dftglyph.c129 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 ); in ft_bitmap_glyph_bbox()
465 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
485 acbox->xMax = FT_PIX_CEIL( acbox->xMax ); in FT_Glyph_Get_CBox()
495 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c471 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
480 xMax = 0; in FT_Outline_Get_CBox()
489 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
500 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
508 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1045 xshift = FT_MSB( FT_ABS( cbox.xMax ) | FT_ABS( cbox.xMin ) ) - 14; in FT_Outline_Get_Orientation()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/raster/
Dftrend1.c169 cbox.xMax = FT_PIX_ROUND( cbox.xMax ); in ft_raster1_render()
174 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_raster1_render()
178 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
/external/chromium_org/third_party/freetype/src/raster/
Dftrend1.c169 cbox.xMax = FT_PIX_ROUND( cbox.xMax ); in ft_raster1_render()
174 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_raster1_render()
178 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
/external/freetype/src/raster/
Dftrend1.c169 cbox.xMax = FT_PIX_ROUND( cbox.xMax ); in ft_raster1_render()
174 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_raster1_render()
178 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
/external/neven/FaceRecEm/common/src/b_FDSDK/
DDCR.c221 if( pRectA->xMax <= pRectA->xMin || pRectA->yMax <= pRectA->yMin ) in btk_DCR_assignImageROI()
232 pRectA->xMax >> 16, in btk_DCR_assignImageROI()
340 pRectA->xMax = ( rxL + doffL ) << 16; in btk_DCR_getRect()
342 pRectA->yMax = ( pRectA->yMin + ( pRectA->xMax - pRectA->xMin ) ); in btk_DCR_getRect()
346 pRectA->xMax += ( int32 )hdcrA->dcrE.roiRectE.x1E << 16; in btk_DCR_getRect()
356 pRectA->xMax += ( int32 )hdcrA->dcrE.offsE.xE << 16; in btk_DCR_getRect()
DDCR.h56 s16p16 xMax; /* x max coordinate */ member
/external/freetype/src/smooth/
Dftsmooth.c155 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_smooth_render_generic()
158 if ( cbox.xMin < 0 && cbox.xMax > FT_INT_MAX + cbox.xMin ) in ft_smooth_render_generic()
162 cbox.xMin >> 6, cbox.xMax >> 6 )); in ft_smooth_render_generic()
167 width = ( cbox.xMax - cbox.xMin ) >> 6; in ft_smooth_render_generic()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/
Dftsmooth.c155 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_smooth_render_generic()
158 if ( cbox.xMin < 0 && cbox.xMax > FT_INT_MAX + cbox.xMin ) in ft_smooth_render_generic()
162 cbox.xMin >> 6, cbox.xMax >> 6 )); in ft_smooth_render_generic()
167 width = ( cbox.xMax - cbox.xMin ) >> 6; in ft_smooth_render_generic()
/external/chromium_org/third_party/freetype/src/smooth/
Dftsmooth.c155 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_smooth_render_generic()
158 if ( cbox.xMin < 0 && cbox.xMax > FT_INT_MAX + cbox.xMin ) in ft_smooth_render_generic()
162 cbox.xMin >> 6, cbox.xMax >> 6 )); in ft_smooth_render_generic()
167 width = ( cbox.xMax - cbox.xMin ) >> 6; in ft_smooth_render_generic()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/
DMatlabPlot.cc265 double thexMax = sourceData->xMax(); in UpdateTrendLine()
281 double MatlabLine::xMax() in xMax() function in MatlabLine
705 double xMax = _xlim[1]; in GetPlotCmd() local
709 xMax = std::max(xMax, (*it)->xMax()); in GetPlotCmd()
716 _xlim[1] = xMax; in GetPlotCmd()
/external/chromium_org/third_party/ots/test/
Dside-by-side.cc79 bbox.xMax = (bbox.xMax + 63) & ~63; in GetBitmap()
83 const int w = (bbox.xMax - bbox.xMin) >> 6; in GetBitmap()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-head-table.hh122 SHORT xMax; /* For all glyph bounding boxes. */ member
/external/harfbuzz_ng/src/
Dhb-ot-head-table.hh122 SHORT xMax; /* For all glyph bounding boxes. */ member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
Dt1objs.c465 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16; in T1_Face_Init()
481 (FT_Short)( root->bbox.xMax ); in T1_Face_Init()

12345