/external/fonttools/Lib/fontTools/misc/ |
D | arrayTools.py | 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 69 return min(xMin, xMax), min(yMin, yMax), max(xMin, xMax), max(yMin, yMax) 73 (xMin, yMin, xMax, yMax) = rect 74 return xMin * x, yMin * y, xMax * x, yMax * y [all …]
|
/external/freetype/src/tools/ |
D | test_bbox.c | 121 XVAL( bbox.xMax ), in dump_outline() 129 XVAL( bbox.xMax ), in dump_outline() 152 XVAL( bbox.xMax ), in profile_outline() 155 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline() 167 XVAL( bbox.xMax ), in profile_outline() 170 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _m_a_x_p.py | 68 xMax = -INFINITY 84 xMax = max(xMax, g.xMax) 99 headTable.xMax = 0 104 headTable.xMax = xMax
|
D | _h_e_a_d.py | 67 self.xMin, self.yMin, self.xMax, self.yMax = intRect(topDict.FontBBox)
|
/external/freetype/src/base/ |
D | ftbbox.c | 49 if ( p->x > bbox.xMax ) \ 50 bbox.xMax = p->x; \ 58 ( p->x < bbox.xMin || p->x > bbox.xMax ) 222 &user->bbox.xMax ); in BBox_Conic_To() 431 &user->bbox.xMax ); 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()
|
D | ftoutln.c | 461 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local 470 xMax = 0; in FT_Outline_Get_CBox() 479 xMin = xMax = vec->x; in FT_Outline_Get_CBox() 490 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox() 498 acbox->xMax = xMax; in FT_Outline_Get_CBox() 615 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Render() 629 params->clip_box.xMax = ( cbox.xMax + 63 ) >> 6; in FT_Outline_Render() 1061 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation() 1064 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation()
|
D | ftglyph.c | 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() 516 acbox->xMax = FT_PIX_CEIL_LONG( acbox->xMax ); in FT_Glyph_Get_CBox() 526 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
|
D | ftlcdfil.c | 63 cbox->xMax += lcd_weights[4] ? 43 : in ft_lcd_padding() 382 cbox->xMax -= FT_MIN( FT_MIN( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding() 389 cbox->xMax -= FT_MIN( FT_MIN( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
|
/external/neven/FaceRecEm/common/src/b_FDSDK/ |
D | DCR.c | 221 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()
|
D | DCR.h | 56 s16p16 xMax; /* x max coordinate */ member
|
/external/angle/samples/tri_fan_microbench/ |
D | TriFanMicroBench.cpp | 58 const GLfloat xMax = 1.0f; in createVertexBuffers() local 80 if (xOffset > xMax) in createVertexBuffers() 128 if (xOffset > xMax) in createVertexBuffers()
|
/external/skqp/gm/ |
D | typeface.cpp | 225 SkScalar xMax = x; local 260 xMax = SkTMax(x, xMax); 266 xBase = xMax;
|
/external/skia/gm/ |
D | typeface.cpp | 220 SkScalar xMax = x; local 255 xMax = std::max(x, xMax); 261 xBase = xMax;
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreTests.cpp | 255 const int xMax = imageSize.x() - 1; in generateReferenceImage() local 262 tcu::IVec4 color(x^y^z, (xMax - x)^y^z, x^(yMax - y)^z, (xMax - x)^(yMax - y)^z); in generateReferenceImage() 265 color -= tcu::IVec4(deRoundFloatToInt32((float)de::max(xMax, yMax) / 2.0f)); in generateReferenceImage() 290 const int xMax = access.getWidth() - 1; in flipHorizontally() local 298 const tcu::UVec4 temp = access.getPixelUint(xMax - x, y, z); in flipHorizontally() 299 access.setPixel(access.getPixelUint(x, y, z), xMax - x, y, z); in flipHorizontally() 307 const tcu::Vec4 temp = access.getPixel(xMax - x, y, z); in flipHorizontally() 308 access.setPixel(access.getPixel(x, y, z), xMax - x, y, z); in flipHorizontally() 438 const deUint32 xMax = m_texture.size().x() - 1; in initPrograms() local 445 + "(" + de::toString(xMax) + "-gx)^gy^gz, " in initPrograms() [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 650 face->bbox.xMax, face->bbox.yMin); in onGetAdvancedMetrics() 1102 bbox->xMax += dx; in getBBoxForCurrentGlyph() 1110 bbox->xMax = (bbox->xMax + 63) & ~63; in getBBoxForCurrentGlyph() 1123 bbox->xMax += vector.x; in getBBoxForCurrentGlyph() 1217 bounds.xMax = std::max(bbox.xMax, bounds.xMax); in generateMetrics() 1224 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics() 1240 bounds.xMax = SkFDot6Ceil (bounds.xMax); in generateMetrics() 1243 FT_Pos width = bounds.xMax - bounds.xMin; in generateMetrics() 1446 xmax = SkIntToScalar(face->bbox.xMax) / upem; in generateFontMetrics()
|
/external/skqp/src/ports/ |
D | SkFontHost_FreeType.cpp | 628 face->bbox.xMax, face->bbox.yMin); in onGetAdvancedMetrics() 1081 bbox->xMax += dx; in getBBoxForCurrentGlyph() 1089 bbox->xMax = (bbox->xMax + 63) & ~63; in getBBoxForCurrentGlyph() 1102 bbox->xMax += vector.x; in getBBoxForCurrentGlyph() 1196 bounds.xMax = std::max(bbox.xMax, bounds.xMax); in generateMetrics() 1203 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics() 1219 bounds.xMax = SkFDot6Ceil (bounds.xMax); in generateMetrics() 1222 FT_Pos width = bounds.xMax - bounds.xMin; in generateMetrics() 1429 xmax = SkIntToScalar(face->bbox.xMax) / upem; in generateFontMetrics()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-head-table.hh | 139 HBINT16 xMax; /* For all glyph bounding boxes. */ member
|
/external/fonttools/Tests/subset/ |
D | subset_test.py | 488 bounds = [head.xMin, head.yMin, head.xMax, head.yMax] 496 self.assertEqual(bounds, [head.xMin, head.yMin, head.xMax, head.yMax]) 501 self.assertEqual(bounds, [head.xMin, head.yMin, head.xMax, head.yMax]) 508 bounds = [head.xMin, head.yMin, head.xMax, head.yMax] 516 self.assertEqual(bounds, [head.xMin, head.yMin, head.xMax, head.yMax]) 521 self.assertEqual(bounds, [head.xMin, head.yMin, head.xMax, head.yMax])
|
/external/freetype/src/type1/ |
D | t1objs.c | 473 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16; in T1_Face_Init() 489 (FT_Short)( root->bbox.xMax ); in T1_Face_Init()
|
D | t1afm.c | 303 t1_face->bbox.xMax = ( fi->FontBBox.xMax + 0xFFFF ) >> 16; in T1_Read_Metrics()
|
/external/dng_sdk/source/ |
D | dng_lens_correction.cpp | 1122 int32 xMax = INT_MIN; in SrcArea() local 1193 xMax = Max_int32 (xMax, x); in SrcArea() 1207 xMax = SafeInt32Add(xMax, pad); in SrcArea() 1210 xMax = SafeInt32Add(xMax, 1); in SrcArea() 1216 xMax); in SrcArea()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_cidfont.cpp | 440 cbox.xMax = pdfium::clamp(cbox.xMax, kMinCBox, kMaxCBox); in GetCharBBox() 446 rect = FX_RECT(cbox.xMin, cbox.yMax, cbox.xMax, cbox.yMin); in GetCharBBox() 450 cbox.xMax * 1000 / pixel_size_x, in GetCharBBox()
|
/external/fonttools/Tests/ttLib/ |
D | woff2_test.py | 845 def drawRect(pen, xMin, xMax): argument 848 pen.lineTo((xMax, 1000)) 849 pen.lineTo((xMax, 0)) 890 ".notdef": Glyph(xMin=50, xMax=450), 892 "A": Glyph(xMin=40, xMax=510), 893 "acutecomb": Glyph(xMin=-40, xMax=60), 895 "zero": Glyph(xMin=30, xMax=470), 896 "one": Glyph(xMin=50, xMax=450), 897 "two": Glyph(xMin=40, xMax=460),
|
/external/freetype/src/cid/ |
D | cidobjs.c | 436 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16; in cid_face_init()
|
/external/freetype/src/autofit/ |
D | afloader.c | 541 bbox.xMax = FT_PIX_CEIL( bbox.xMax ); in af_loader_load_glyph() 544 slot->metrics.width = bbox.xMax - bbox.xMin; in af_loader_load_glyph()
|