/external/fonttools/Lib/fontTools/misc/ |
D | arrayTools.py | 25 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/ |
D | ftrend1.c | 140 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.py | 66 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.py | 63 rsb = width - lsb - (g.xMax - g.xMin) 65 extent = lsb + (g.xMax - g.xMin)
|
/external/pdfium/third_party/freetype/src/raster/ |
D | ftrend1.c | 167 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/ |
D | ftbbox.c | 47 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()
|
D | ftglyph.c | 128 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()
|
D | ftoutln.c | 477 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/ |
D | ftbbox.c | 47 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()
|
D | ftglyph.c | 128 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()
|
D | ftoutln.c | 477 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/ |
D | HillHeightMap.java | 172 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/ |
D | DCR.c | 221 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()
|
D | DCR.h | 54 s16p16 xMin; /* x min coordinate */ member
|
/external/freetype/src/smooth/ |
D | ftsmooth.c | 150 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/ |
D | ftsmooth.c | 150 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/ |
D | afloader.c | 261 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/ |
D | hb-ot-head-table.hh | 120 SHORT xMin; /* For all glyph bounding boxes. */ member
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainGrid.java | 393 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/ |
D | cidobjs.c | 426 cidface->bbox.xMin = cid->font_bbox.xMin >> 16; in cid_face_init()
|
D | cidtoken.h | 109 T1_FIELD_BBOX( "FontBBox", xMin, 0 )
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 545 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/ |
D | t1afm.c | 288 t1_face->bbox.xMin = fi->FontBBox.xMin >> 16; in T1_Read_Metrics()
|
D | t1tokens.h | 117 T1_FIELD_BBOX( "FontBBox", xMin, T1_FIELD_DICT_FONTDICT )
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 507 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()
|