Home
last modified time | relevance | path

Searched refs:xMin (Results 1 – 25 of 76) sorted by relevance

1234

/external/fonttools/Lib/fontTools/misc/
DarrayTools.py25 xMin, yMin, xMax, yMax = calcBounds(array)
26 xMin = int(math.floor(xMin))
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.c140 cbox.xMin = FT_PIX_ROUND( cbox0.xMin ); in ft_raster1_render()
145 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_raster1_render()
156 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
159 cbox.xMin = FT_PIX_FLOOR( cbox0.xMin ); in ft_raster1_render()
162 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
203 FT_Outline_Translate( outline, -cbox.xMin, -cbox.yMin ); in ft_raster1_render()
213 FT_Outline_Translate( outline, cbox.xMin, cbox.yMin ); in ft_raster1_render()
219 slot->bitmap_left = (FT_Int)( cbox.xMin >> 6 ); in ft_raster1_render()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py66 xMin = +INFINITY
80 if hmtxTable[glyphName][1] != g.xMin:
82 xMin = min(xMin, g.xMin)
96 if xMin == +INFINITY:
97 headTable.xMin = 0
102 headTable.xMin = xMin
D_h_h_e_a.py63 rsb = width - lsb - (g.xMax - g.xMin)
65 extent = lsb + (g.xMax - g.xMin)
/external/pdfium/third_party/freetype/src/raster/
Dftrend1.c167 cbox.xMin = FT_PIX_ROUND( cbox.xMin ); in ft_raster1_render()
172 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_raster1_render()
178 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
221 FT_Outline_Translate( outline, -cbox.xMin, -cbox.yMin ); in ft_raster1_render()
234 FT_Outline_Translate( outline, cbox.xMin, cbox.yMin ); in ft_raster1_render()
240 slot->bitmap_left = (FT_Int)( cbox.xMin >> 6 ); in ft_raster1_render()
/external/freetype/src/base/
Dftbbox.c47 if ( p->x < bbox.xMin ) \
48 bbox.xMin = p->x; \
58 ( p->x < bbox.xMin || p->x > bbox.xMax )
209 &user->bbox.xMin, in BBox_Conic_To()
408 &user->bbox.xMin, 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.c128 cbox->xMin = glyph->left << 6; in ft_bitmap_glyph_bbox()
129 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()
486 acbox->xMin = FT_PIX_FLOOR( acbox->xMin ); in FT_Glyph_Get_CBox()
496 acbox->xMin >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c477 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
484 xMin = 0; in FT_Outline_Get_CBox()
495 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
505 if ( x < xMin ) xMin = x; in FT_Outline_Get_CBox()
513 acbox->xMin = xMin; in FT_Outline_Get_CBox()
1051 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1055 FT_ABS( cbox.xMin ) ) ) - 14; in FT_Outline_Get_Orientation()
/external/pdfium/third_party/freetype/src/base/
Dftbbox.c47 if ( p->x < bbox.xMin ) \
48 bbox.xMin = p->x; \
58 ( p->x < bbox.xMin || p->x > bbox.xMax )
209 &user->bbox.xMin, in BBox_Conic_To()
405 &user->bbox.xMin, 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.c128 cbox->xMin = glyph->left << 6; in ft_bitmap_glyph_bbox()
129 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()
482 acbox->xMin = FT_PIX_FLOOR( acbox->xMin ); in FT_Glyph_Get_CBox()
492 acbox->xMin >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c477 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
484 xMin = 0; in FT_Outline_Get_CBox()
495 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
505 if ( x < xMin ) xMin = x; in FT_Outline_Get_CBox()
513 acbox->xMin = xMin; 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.java172 int xMin = Math.round(x - radius - 1); in addHill() local
179 if (xMin < 0) { in addHill()
180 xMin = 0; in addHill()
193 for (int i = xMin; i <= xMax; i++) { in addHill()
/external/neven/FaceRecEm/common/src/b_FDSDK/
DDCR.c221 if( pRectA->xMax <= pRectA->xMin || pRectA->yMax <= pRectA->yMin ) in btk_DCR_assignImageROI()
230 rectL = bts_Int16Rect_create( pRectA->xMin >> 16, in btk_DCR_assignImageROI()
339 pRectA->xMin = ( lxL - doffL ) << 16; in btk_DCR_getRect()
342 pRectA->yMax = ( pRectA->yMin + ( pRectA->xMax - pRectA->xMin ) ); in btk_DCR_getRect()
345 pRectA->xMin += ( int32 )hdcrA->dcrE.roiRectE.x1E << 16; in btk_DCR_getRect()
354 pRectA->xMin += ( int32 )hdcrA->dcrE.offsE.xE << 16; in btk_DCR_getRect()
DDCR.h54 s16p16 xMin; /* x min coordinate */ member
/external/freetype/src/smooth/
Dftsmooth.c150 cbox.xMin = FT_PIX_FLOOR( cbox.xMin + x_shift ); in ft_smooth_render_generic()
155 x_shift -= cbox.xMin; in ft_smooth_render_generic()
158 x_left = cbox.xMin >> 6; 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.c150 cbox.xMin = FT_PIX_FLOOR( cbox.xMin + x_shift ); in ft_smooth_render_generic()
155 x_shift -= cbox.xMin; in ft_smooth_render_generic()
158 x_left = cbox.xMin >> 6; in ft_smooth_render_generic()
161 width = (FT_ULong)( cbox.xMax - cbox.xMin ) >> 6; in ft_smooth_render_generic()
/external/freetype/src/autofit/
Dafloader.c261 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); in af_loader_load_g()
266 slot->metrics.width = bbox.xMax - bbox.xMin; in af_loader_load_g()
268 slot->metrics.horiBearingX = bbox.xMin; in af_loader_load_g()
271 slot->metrics.vertBearingX = FT_PIX_FLOOR( bbox.xMin + vvector.x ); in af_loader_load_g()
/external/harfbuzz_ng/src/
Dhb-ot-head-table.hh120 SHORT xMin; /* For all glyph bounding boxes. */ member
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainGrid.java393 int xMin = 0; in updateChildren() local
400 xMin = 1; in updateChildren()
413 for (int j = xMin; j < xMax; j++) { in updateChildren()
/external/pdfium/third_party/freetype/src/cid/
Dcidobjs.c426 cidface->bbox.xMin = cid->font_bbox.xMin >> 16; in cid_face_init()
Dcidtoken.h109 T1_FIELD_BBOX( "FontBBox", xMin, 0 )
/external/skia/src/ports/
DSkFontHost_FreeType.cpp545 int16_t width = bbox.xMax - bbox.xMin; in onGetAdvancedTypefaceMetrics()
586 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax, in onGetAdvancedTypefaceMetrics()
1040 bbox->xMin += dx; in getBBoxForCurrentGlyph()
1048 bbox->xMin &= ~63; in getBBoxForCurrentGlyph()
1062 bbox->xMin += vector.x; in getBBoxForCurrentGlyph()
1140 glyph->fWidth = SkToU16(SkFDot6Floor(bbox.xMax - bbox.xMin)); in generateMetrics()
1143 glyph->fLeft = SkToS16(SkFDot6Floor(bbox.xMin)); in generateMetrics()
1331 xmin = SkIntToScalar(face->bbox.xMin) / upem; in generateFontMetrics()
/external/pdfium/third_party/freetype/src/type1/
Dt1afm.c288 t1_face->bbox.xMin = fi->FontBBox.xMin >> 16; in T1_Read_Metrics()
Dt1tokens.h117 T1_FIELD_BBOX( "FontBBox", xMin, T1_FIELD_DICT_FONTDICT )
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp507 const deInt64 xMin = de::min(de::min(x0, x1), x2); in init() local
512 m_bboxMin.x() = floorSubpixelToPixelCoord (xMin, m_horizontalFill == FILL_LEFT); in init()
887 const deInt64 xMin = de::min(x0, x1) - toSubpixelCoord(1); in init() local
897 …m_bboxMin.x() = de::clamp(floorSubpixelToPixelCoord(xMin, true), m_viewport.x(), m_viewport.x() + … in init()
911 …m_bboxMin.x() = de::clamp(floorSubpixelToPixelCoord(xMin, true), m_viewport.x() - lineWidthPixels,… in init()
1107 const deInt64 xMin = de::min(x0, x1) - toSubpixelCoord(1); in init() local
1112 m_bboxMin.x() = floorSubpixelToPixelCoord(xMin, true); in init()

1234