Home
last modified time | relevance | path

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

1234

/external/fonttools/Lib/fontTools/misc/
DarrayTools.py34 xMin, yMin, xMax, yMax = bounds
35 return min(xMin, x), min(yMin, y), max(xMax, x), max(yMax, y)
40 xMin, yMin, xMax, yMax = rect
41 return (xMin <= x <= xMax) and (yMin <= y <= yMax)
49 xMin, yMin, xMax, yMax = rect
50 return [(xMin <= x <= xMax) and (yMin <= y <= yMax) for x, y in array]
66 (xMin, yMin, xMax, yMax) = rect
67 return min(xMin, xMax), min(yMin, yMax), max(xMin, xMax), max(yMin, yMax)
71 (xMin, yMin, xMax, yMax) = rect
72 return xMin * x, yMin * y, xMax * x, yMax * y
[all …]
/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_e_a_d.py66 self.xMin, self.yMin, self.xMax, self.yMax = topDict.FontBBox
/external/freetype/src/tools/
Dtest_bbox.c119 XVAL( bbox.xMin ), in dump_outline()
127 XVAL( bbox.xMin ), in dump_outline()
150 XVAL( bbox.xMin ), in profile_outline()
155 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
165 XVAL( bbox.xMin ), in profile_outline()
170 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
Dtest_afm.c18 printf( "FontBBox: %.2f %.2f %.2f %.2f\n", fi->FontBBox.xMin / 65536., in dump_fontinfo()
/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 )
221 &user->bbox.xMin, in BBox_Conic_To()
430 &user->bbox.xMin, in BBox_Cubic_To()
483 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF()
506 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
Dftglyph.c127 cbox->xMin = glyph->left * 64; in ft_bitmap_glyph_bbox()
128 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width * 64 ); in ft_bitmap_glyph_bbox()
498 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
514 acbox->xMin = FT_PIX_FLOOR( acbox->xMin ); in FT_Glyph_Get_CBox()
524 acbox->xMin >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c482 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
489 xMin = 0; in FT_Outline_Get_CBox()
500 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
510 if ( x < xMin ) xMin = x; in FT_Outline_Get_CBox()
518 acbox->xMin = xMin; in FT_Outline_Get_CBox()
635 if ( cbox.xMin < -0x1000000L || cbox.yMin < -0x1000000L || in FT_Outline_Render()
1072 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1076 FT_ABS( cbox.xMin ) ) ) - 14; in FT_Outline_Get_Orientation()
Dftlcdfil.c61 cbox->xMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
381 cbox->xMin -= FT_MAX( FT_MAX( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
388 cbox->xMin -= FT_MAX( FT_MAX( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
/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/autofit/
Dafloader.c534 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); in af_loader_load_glyph()
539 slot->metrics.width = bbox.xMax - bbox.xMin; in af_loader_load_glyph()
541 slot->metrics.horiBearingX = bbox.xMin; in af_loader_load_glyph()
544 slot->metrics.vertBearingX = FT_PIX_FLOOR( bbox.xMin + vvector.x ); in af_loader_load_glyph()
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh128 FWORD xMin; /* Minimum x for coordinate data. */ member
454 extents->x_bearing = MIN (glyph_header.xMin, glyph_header.xMax); in get_extents()
456 extents->width = MAX (glyph_header.xMin, glyph_header.xMax) - extents->x_bearing; in get_extents()
Dhb-ot-head-table.hh137 HBINT16 xMin; /* For all glyph bounding boxes. */ member
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp627 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax, in onGetAdvancedMetrics()
1079 bbox->xMin += dx; in getBBoxForCurrentGlyph()
1087 bbox->xMin &= ~63; in getBBoxForCurrentGlyph()
1101 bbox->xMin += vector.x; in getBBoxForCurrentGlyph()
1194 bounds.xMin = std::min(bbox.xMin, bounds.xMin); in generateMetrics()
1203 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics()
1217 bounds.xMin = SkFDot6Floor(bounds.xMin); in generateMetrics()
1222 FT_Pos width = bounds.xMax - bounds.xMin; in generateMetrics()
1225 FT_Pos left = bounds.xMin; in generateMetrics()
1428 xmin = SkIntToScalar(face->bbox.xMin) / upem; in generateFontMetrics()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp627 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax, in onGetAdvancedMetrics()
1079 bbox->xMin += dx; in getBBoxForCurrentGlyph()
1087 bbox->xMin &= ~63; in getBBoxForCurrentGlyph()
1101 bbox->xMin += vector.x; in getBBoxForCurrentGlyph()
1194 bounds.xMin = std::min(bbox.xMin, bounds.xMin); in generateMetrics()
1203 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics()
1217 bounds.xMin = SkFDot6Floor(bounds.xMin); in generateMetrics()
1222 FT_Pos width = bounds.xMax - bounds.xMin; in generateMetrics()
1225 FT_Pos left = bounds.xMin; in generateMetrics()
1428 xmin = SkIntToScalar(face->bbox.xMin) / upem; in generateFontMetrics()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cidfont.cpp462 cbox.xMin = pdfium::clamp(cbox.xMin, kMinCBox, kMaxCBox); in GetCharBBox()
469 rect = FX_RECT(cbox.xMin, cbox.yMax, cbox.xMax, cbox.yMin); in GetCharBBox()
471 rect = FX_RECT(cbox.xMin * 1000 / pixel_size_x, in GetCharBBox()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp512 const deInt64 xMin = de::min(de::min(x0, x1), x2); in init() local
517 m_bboxMin.x() = floorSubpixelToPixelCoord (xMin, m_horizontalFill == FILL_LEFT); in init()
892 const deInt64 xMin = de::min(x0, x1) - toSubpixelCoord(1); in init() local
902 …m_bboxMin.x() = de::clamp(floorSubpixelToPixelCoord(xMin, true), m_viewport.x(), m_viewport.x() + … in init()
916 …m_bboxMin.x() = de::clamp(floorSubpixelToPixelCoord(xMin, true), m_viewport.x() - lineWidthPixels,… in init()
1112 const deInt64 xMin = de::min(x0, x1) - toSubpixelCoord(1); in init() local
1117 m_bboxMin.x() = floorSubpixelToPixelCoord(xMin, true); in init()
/external/freetype/src/type1/
Dt1afm.c300 t1_face->bbox.xMin = fi->FontBBox.xMin >> 16; in T1_Read_Metrics()
Dt1tokens.h117 T1_FIELD_BBOX( "FontBBox", xMin, T1_FIELD_DICT_FONTDICT )
/external/freetype/src/cid/
Dcidtoken.h112 T1_FIELD_BBOX( "FontBBox", xMin, 0 )
Dcidobjs.c433 cidface->bbox.xMin = cid->font_bbox.xMin >> 16; in cid_face_init()
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py78 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
150 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
/external/dng_sdk/source/
Ddng_lens_correction.cpp1121 int32 xMin = INT_MAX; in SrcArea() local
1179 xMin = Min_int32 (xMin, x); in SrcArea()
1205 xMin = SafeInt32Sub(xMin, pad); in SrcArea()
1214 xMin, in SrcArea()
/external/skia/src/sfnt/
DSkOTTable_head.h77 SK_OT_SHORT xMin; member

1234