Home
last modified time | relevance | path

Searched refs:xMax (Results 1 – 25 of 85) sorted by relevance

1234

/external/fonttools/Lib/fontTools/misc/
DarrayTools.py25 xMin, yMin, xMax, yMax = calcBounds(array)
27 xMax = int(math.ceil(xMax))
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/pdfium/third_party/freetype/src/raster/
Dftrend1.c142 cbox.xMax = FT_PIX_ROUND( cbox0.xMax ); in ft_raster1_render()
147 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_raster1_render()
156 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
160 cbox.xMax = FT_PIX_CEIL( cbox0.xMax ); in ft_raster1_render()
162 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
/external/freetype/src/raster/
Dftrend1.c142 cbox.xMax = FT_PIX_ROUND( cbox0.xMax ); in ft_raster1_render()
147 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_raster1_render()
156 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
160 cbox.xMax = FT_PIX_CEIL( cbox0.xMax ); in ft_raster1_render()
162 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py68 xMax = -INFINITY
84 xMax = max(xMax, g.xMax)
99 headTable.xMax = 0
104 headTable.xMax = xMax
D_h_h_e_a.py63 rsb = width - lsb - (g.xMax - g.xMin)
65 extent = lsb + (g.xMax - g.xMin)
/external/pdfium/xfa/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp73 int32_t xMax = bytearray.GetSize(); in getScaledMatrix() local
74 m_matrixOut.SetSize(xMax * yMax); in getScaledMatrix()
75 m_outWidth = xMax; in getScaledMatrix()
82 k = i * xMax; in getScaledMatrix()
83 for (int32_t l = 0; l < xMax; l++) { in getScaledMatrix()
/external/pdfium/third_party/freetype/src/base/
Dftbbox.c49 if ( p->x > bbox.xMax ) \
50 bbox.xMax = p->x; \
58 ( p->x < bbox.xMin || p->x > bbox.xMax )
210 &user->bbox.xMax ); in BBox_Conic_To()
409 &user->bbox.xMax ); 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.c129 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()
488 acbox->xMax = FT_PIX_CEIL( acbox->xMax ); in FT_Glyph_Get_CBox()
498 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c478 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
487 xMax = 0; in FT_Outline_Get_CBox()
496 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
507 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
515 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1059 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1062 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation()
/external/freetype/src/base/
Dftbbox.c49 if ( p->x > bbox.xMax ) \
50 bbox.xMax = p->x; \
58 ( p->x < bbox.xMin || p->x > bbox.xMax )
210 &user->bbox.xMax ); in BBox_Conic_To()
409 &user->bbox.xMax ); in BBox_Cubic_To()
461 abbox->xMin = abbox->xMax = 0; in FT_EXPORT_DEF()
484 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
Dftglyph.c129 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width * 64 ); in ft_bitmap_glyph_bbox()
474 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
492 acbox->xMax = FT_PIX_CEIL( acbox->xMax ); in FT_Glyph_Get_CBox()
502 acbox->xMax >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c481 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
490 xMax = 0; in FT_Outline_Get_CBox()
499 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
510 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
518 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1065 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1068 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation()
/external/neven/FaceRecEm/common/src/b_FDSDK/
DDCR.c221 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()
DDCR.h56 s16p16 xMax; /* x max coordinate */ member
/external/skia/gm/
Dtypeface.cpp222 SkScalar xMax = x; local
259 xMax = SkTMax(x, xMax);
265 xBase = xMax;
/external/freetype/src/smooth/
Dftgrays.c1645 TPos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
1654 xMax = 0; in FT_Outline_Get_CBox()
1663 xMin = xMax = vec->x; in FT_Outline_Get_CBox()
1674 if ( x > xMax ) xMax = x; in FT_Outline_Get_CBox()
1682 acbox->xMax = xMax; in FT_Outline_Get_CBox()
1901 if ( cbox.xMin < -0x1000000L || cbox.xMax > 0x1000000L || in gray_raster_render()
1908 cbox.xMax = ( cbox.xMax + 63 ) >> 6; in gray_raster_render()
1917 clip.xMax = (FT_Pos)target_map->width; in gray_raster_render()
1926 clip.xMax = 32767L; in gray_raster_render()
1933 ras.max_ex = FT_MIN( cbox.xMax, clip.xMax ); in gray_raster_render()
Dftsmooth.c152 cbox.xMax = FT_PIX_CEIL( cbox.xMax + x_shift ); in ft_smooth_render_generic()
161 width = (FT_ULong)( cbox.xMax - cbox.xMin ) >> 6; in ft_smooth_render_generic()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp198 const int xMax = imageSize.x() - 1; in generateReferenceImage() local
205 const tcu::IVec4 color(x^y^z, (xMax - x)^y^z, x^(yMax - y)^z, (xMax - x)^(yMax - y)^z); in generateReferenceImage()
230 const int xMax = access.getWidth() - 1; in flipHorizontally() local
238 const tcu::UVec4 temp = access.getPixelUint(xMax - x, y, z); in flipHorizontally()
239 access.setPixel(access.getPixelUint(x, y, z), xMax - x, y, z); in flipHorizontally()
247 const tcu::Vec4 temp = access.getPixel(xMax - x, y, z); in flipHorizontally()
248 access.setPixel(access.getPixel(x, y, z), xMax - x, y, z); in flipHorizontally()
355 const std::string xMax = de::toString(m_texture.size().x() - 1); in initPrograms() local
360 + "(" + xMax + "-gx)^gy^gz, " in initPrograms()
362 + "(" + xMax + "-gx)^(" + yMax + "-gy)^gz)"; in initPrograms()
[all …]
/external/pdfium/third_party/freetype/src/smooth/
Dftsmooth.c152 cbox.xMax = FT_PIX_CEIL( cbox.xMax + x_shift ); 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/type1/
Dt1objs.c462 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16; in T1_Face_Init()
478 (FT_Short)( root->bbox.xMax ); in T1_Face_Init()
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh95 FWORD xMax; /* Maximum x for coordinate data. */ member
Dhb-ot-head-table.hh126 SHORT xMax; /* For all glyph bounding boxes. */ member
/external/skia/src/core/
DSkLinearBitmapPipeline_core.h79 bool completelyWithin(SkScalar xMin, SkScalar xMax) const { in completelyWithin() argument
82 return xMin <= sMin && sMax < xMax; in completelyWithin()
/external/dng_sdk/source/
Ddng_lens_correction.cpp1122 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/third_party/freetype/src/cid/
Dcidobjs.c429 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16; in cid_face_init()

1234