/external/fonttools/Lib/fontTools/misc/ |
D | arrayTools.py | 57 xMin, yMin, xMax, yMax = bounds 58 return min(xMin, x), min(yMin, y), max(xMax, x), max(yMax, y) 72 xMin, yMin, xMax, yMax = rect 73 return (xMin <= x <= xMax) and (yMin <= y <= yMax) 88 xMin, yMin, xMax, yMax = rect 89 return [(xMin <= x <= xMax) and (yMin <= y <= yMax) for x, y in array] 130 (xMin, yMin, xMax, yMax) = rect 131 return min(xMin, xMax), min(yMin, yMax), max(xMin, xMax), max(yMin, yMax) 145 (xMin, yMin, xMax, yMax) = rect 146 return xMin * x, yMin * y, xMax * x, yMax * y [all …]
|
/external/freetype/src/tools/ |
D | test_bbox.c | 120 XVAL( bbox.xMax ), in dump_outline() 128 XVAL( bbox.xMax ), in dump_outline() 151 XVAL( bbox.xMax ), in profile_outline() 154 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline() 166 XVAL( bbox.xMax ), in profile_outline() 169 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _m_a_x_p.py | 66 xMax = -INFINITY 82 xMax = max(xMax, g.xMax) 97 headTable.xMax = 0 102 headTable.xMax = xMax
|
D | _h_e_a_d.py | 66 self.xMin, self.yMin, self.xMax, self.yMax = intRect(topDict.FontBBox) 79 self.xMin, self.yMin, self.xMax, self.yMax = intRect(fontBBox)
|
/external/freetype/src/base/ |
D | ftbbox.c | 48 if ( p->x > bbox.xMax ) \ 49 bbox.xMax = p->x; \ 57 ( p->x < bbox.xMin || p->x > bbox.xMax ) 221 &user->bbox.xMax ); in BBox_Conic_To() 430 &user->bbox.xMax ); in BBox_Cubic_To() 482 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF() 505 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
|
D | ftoutln.c | 460 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local 469 xMax = 0; in FT_Outline_Get_CBox() 478 xMin = xMax = vec->x; in FT_Outline_Get_CBox() 489 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox() 497 acbox->xMax = xMax; in FT_Outline_Get_CBox() 614 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Render() 628 params->clip_box.xMax = ( cbox.xMax + 63 ) >> 6; in FT_Outline_Render() 1060 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation() 1065 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Get_Orientation() 1068 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation()
|
D | ftglyph.c | 129 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width * 64 ); in ft_bitmap_glyph_bbox() 499 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox() 517 acbox->xMax = FT_PIX_CEIL_LONG( acbox->xMax ); in FT_Glyph_Get_CBox() 527 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
|
D | ftlcdfil.c | 62 cbox->xMax += lcd_weights[4] ? 43 : in ft_lcd_padding() 381 cbox->xMax -= FT_MIN( FT_MIN( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding() 388 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 | 219 SkScalar xMax = x; local 254 xMax = std::max(x, xMax); 260 xBase = xMax;
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 664 face->bbox.xMax, face->bbox.yMin); in onGetAdvancedMetrics() 1205 bbox->xMax += dx; in getBBoxForCurrentGlyph() 1213 bbox->xMax = (bbox->xMax + 63) & ~63; in getBBoxForCurrentGlyph() 1226 bbox->xMax += vector.x; in getBBoxForCurrentGlyph() 1346 bboxOutline.points[2].x = bbox_untransformed.xMax; in generateMetrics() 1349 bboxOutline.points[3].x = bbox_untransformed.xMax; in generateMetrics() 1384 bounds.xMax = std::max(bbox.xMax, bounds.xMax); in generateMetrics() 1392 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics() 1408 bounds.xMax = SkFDot6Ceil (bounds.xMax); in generateMetrics() 1411 FT_Pos width = bounds.xMax - bounds.xMin; in generateMetrics() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreTests.cpp | 277 const int xMax = imageSize.x() - 1; in generateReferenceImage() local 284 tcu::IVec4 color(x^y^z, (xMax - x)^y^z, x^(yMax - y)^z, (xMax - x)^(yMax - y)^z); in generateReferenceImage() 287 color -= tcu::IVec4(deRoundFloatToInt32((float)de::max(xMax, yMax) / 2.0f)); in generateReferenceImage() 312 const int xMax = access.getWidth() - 1; in flipHorizontally() local 320 const tcu::UVec4 temp = access.getPixelUint(xMax - x, y, z); in flipHorizontally() 321 access.setPixel(access.getPixelUint(x, y, z), xMax - x, y, z); in flipHorizontally() 329 const tcu::Vec4 temp = access.getPixel(xMax - x, y, z); in flipHorizontally() 330 access.setPixel(access.getPixel(x, y, z), xMax - x, y, z); in flipHorizontally() 503 const deUint32 xMax = m_texture.size().x() - 1; in initPrograms() local 510 + "(" + de::toString(xMax) + "-gx)^gy^gz, " in initPrograms() [all …]
|
D | vktImageMultisampleLoadStoreTests.cpp | 89 const std::string xMax = de::toString(caseDef.texture.size().x() - 1); in initPrograms() local 104 + (numColorComponents > 1 ? "(" + xMax + "-gx)^gy^gz, " : "0, ") in initPrograms() 106 + (numColorComponents > 3 ? "(" + xMax + "-gx)^(" + yMax + "-gy)^gz" : "1") in initPrograms()
|
/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/freetype/src/type1/ |
D | t1objs.c | 472 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16; in T1_Face_Init() 488 (FT_Short)( root->bbox.xMax ); in T1_Face_Init()
|
D | t1afm.c | 302 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/freetype/src/cid/ |
D | cidobjs.c | 436 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16; in cid_face_init()
|
/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 | 849 def drawRect(pen, xMin, xMax): argument 852 pen.lineTo((xMax, 1000)) 853 pen.lineTo((xMax, 0)) 894 ".notdef": Glyph(xMin=50, xMax=450), 896 "A": Glyph(xMin=40, xMax=510), 897 "acutecomb": Glyph(xMin=-40, xMax=60), 899 "zero": Glyph(xMin=30, xMax=470), 900 "one": Glyph(xMin=50, xMax=450), 901 "two": Glyph(xMin=40, xMax=460),
|
/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()
|