Home
last modified time | relevance | path

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

123

/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/raster/
Dftrend1.c142 cbox.xMax = FT_PIX_ROUND( cbox0.xMax ); in ft_raster1_render()
147 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_raster1_render()
156 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
160 cbox.xMax = FT_PIX_CEIL( cbox0.xMax ); in ft_raster1_render()
162 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
/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/freetype/src/base/
Dftbbox.c49 if ( p->x > bbox.xMax ) \
50 bbox.xMax = p->x; \
58 ( p->x < bbox.xMin || p->x > bbox.xMax )
210 &user->bbox.xMax ); in BBox_Conic_To()
409 &user->bbox.xMax ); in BBox_Cubic_To()
458 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF()
480 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
Dftglyph.c129 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width << 6 ); in ft_bitmap_glyph_bbox()
470 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
488 acbox->xMax = FT_PIX_CEIL( acbox->xMax ); in FT_Glyph_Get_CBox()
498 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c477 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
486 xMax = 0; in FT_Outline_Get_CBox()
495 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
506 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
514 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1051 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1054 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation()
/external/pdfium/third_party/freetype/src/base/
Dftbbox.c49 if ( p->x > bbox.xMax ) \
50 bbox.xMax = p->x; \
58 ( p->x < bbox.xMin || p->x > bbox.xMax )
210 &user->bbox.xMax ); in BBox_Conic_To()
406 &user->bbox.xMax ); in BBox_Cubic_To()
451 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF()
473 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.c477 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
486 xMax = 0; in FT_Outline_Get_CBox()
495 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
506 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
514 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1058 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1061 xshift = FT_MSB( FT_ABS( cbox.xMax ) | FT_ABS( cbox.xMin ) ) - 14; in FT_Outline_Get_Orientation()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DHillHeightMap.java173 int xMax = Math.round(x + radius + 1); in addHill() local
182 if (xMax > size) { in addHill()
183 xMax = size - 1; in addHill()
193 for (int i = xMin; i <= xMax; i++) { in addHill()
/external/pdfium/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/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.c152 cbox.xMax = FT_PIX_CEIL( cbox.xMax + x_shift ); in ft_smooth_render_generic()
161 width = (FT_ULong)( cbox.xMax - cbox.xMin ) >> 6; in ft_smooth_render_generic()
/external/pdfium/third_party/freetype/src/smooth/
Dftsmooth.c152 cbox.xMax = FT_PIX_CEIL( cbox.xMax + x_shift ); in ft_smooth_render_generic()
161 width = (FT_ULong)( cbox.xMax - cbox.xMin ) >> 6; in ft_smooth_render_generic()
/external/harfbuzz_ng/src/
Dhb-ot-head-table.hh122 SHORT xMax; /* For all glyph bounding boxes. */ member
/external/pdfium/third_party/freetype/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()
Dt1afm.c291 t1_face->bbox.xMax = ( fi->FontBBox.xMax + 0xFFFF ) >> 16; in T1_Read_Metrics()
/external/freetype/src/autofit/
Dafloader.c263 bbox.xMax = FT_PIX_CEIL( bbox.xMax ); in af_loader_load_g()
266 slot->metrics.width = bbox.xMax - bbox.xMin; in af_loader_load_g()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainGrid.java394 int xMax = 4; in updateChildren() local
398 xMax = 3; in updateChildren()
413 for (int j = xMin; j < xMax; j++) { in updateChildren()
/external/pdfium/third_party/freetype/src/cid/
Dcidobjs.c429 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16; in cid_face_init()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp545 int16_t width = bbox.xMax - bbox.xMin; in onGetAdvancedTypefaceMetrics()
587 face->bbox.xMax, face->bbox.yMin); in onGetAdvancedTypefaceMetrics()
1042 bbox->xMax += dx; in getBBoxForCurrentGlyph()
1050 bbox->xMax = (bbox->xMax + 63) & ~63; in getBBoxForCurrentGlyph()
1063 bbox->xMax += vector.x; in getBBoxForCurrentGlyph()
1140 glyph->fWidth = SkToU16(SkFDot6Floor(bbox.xMax - bbox.xMin)); in generateMetrics()
1332 xmax = SkIntToScalar(face->bbox.xMax) / upem; in generateFontMetrics()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp508 const deInt64 xMax = de::max(de::max(x0, x1), x2); in init() local
514 m_bboxMax.x() = ceilSubpixelToPixelCoord (xMax, m_horizontalFill == FILL_RIGHT); in init()
888 const deInt64 xMax = de::max(x0, x1) + toSubpixelCoord(1); in init() local
898 …m_bboxMax.x() = de::clamp(ceilSubpixelToPixelCoord (xMax, true), m_viewport.x(), m_viewport.x() + … in init()
912 …m_bboxMax.x() = de::clamp(ceilSubpixelToPixelCoord (xMax, true), m_viewport.x() - lineWidthPixels,… in init()
1108 const deInt64 xMax = de::max(x0, x1) + toSubpixelCoord(1); in init() local
1114 m_bboxMax.x() = ceilSubpixelToPixelCoord (xMax, true); in init()
/external/skia/src/sfnt/
DSkOTTable_head.h80 SK_OT_SHORT xMax; member

123