/external/skia/src/ports/ |
SkScalerContext_win_dw.cpp | 398 RECT* bbox) 438 HRM(glyphRunAnalysis->GetAlphaTextureBounds(textureType, bbox), 449 static bool glyph_check_and_set_bounds(SkGlyph* glyph, const RECT& bbox) { 450 if (bbox.left >= bbox.right || bbox.top >= bbox.bottom) { 453 glyph->fWidth = SkToU16(bbox.right - bbox.left); 454 glyph->fHeight = SkToU16(bbox.bottom - bbox.top) 468 RECT bbox; local 695 RECT bbox; local [all...] |
SkFontHost_FreeType.cpp | 216 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, 218 bool getCBoxForLetter(char letter, FT_BBox* bbox); 426 static bool GetLetterCBox(FT_Face face, char letter, FT_BBox* bbox) { 432 FT_Outline_Get_CBox(&face->glyph->outline, bbox); 539 FT_BBox bbox; 540 if (GetLetterCBox(face, stem_chars[i], &bbox)) { 541 int16_t width = bbox.xMax - bbox.xMin; 582 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax 1143 FT_BBox bbox; local 1351 FT_BBox bbox; local 1357 FT_BBox bbox; local [all...] |
SkScalerContext_win_dw.h | 43 RECT* bbox);
|
/external/freetype/include/ |
ftglyph.h | 385 /* width = bbox.xMax - bbox.xMin; */ 386 /* height = bbox.yMax - bbox.yMin; */ 394 /* bbox.xMin = FLOOR(bbox.xMin); */ 395 /* bbox.yMin = FLOOR(bbox.yMin); */ 396 /* bbox.xMax = CEILING(bbox.xMax); * [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/ |
ftglyph.h | 385 /* width = bbox.xMax - bbox.xMin; */ 386 /* height = bbox.yMax - bbox.yMin; */ 394 /* bbox.xMin = FLOOR(bbox.xMin); */ 395 /* bbox.yMin = FLOOR(bbox.yMin); */ 396 /* bbox.xMax = CEILING(bbox.xMax); * [all...] |
/external/pdfium/third_party/freetype/include/freetype/ |
ftglyph.h | 385 /* width = bbox.xMax - bbox.xMin; */ 386 /* height = bbox.yMax - bbox.yMin; */ 394 /* bbox.xMin = FLOOR(bbox.xMin); */ 395 /* bbox.yMin = FLOOR(bbox.yMin); */ 396 /* bbox.xMax = CEILING(bbox.xMax); * [all...] |
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftglyph.h | 385 /* width = bbox.xMax - bbox.xMin; */ 386 /* height = bbox.yMax - bbox.yMin; */ 394 /* bbox.xMin = FLOOR(bbox.xMin); */ 395 /* bbox.yMin = FLOOR(bbox.yMin); */ 396 /* bbox.xMax = CEILING(bbox.xMax); * [all...] |
/external/skia/src/pdf/ |
SkPDFShader.cpp | 25 static bool inverse_transform_bbox(const SkMatrix& matrix, SkRect* bbox) { 30 inverse.mapRect(bbox); 439 const SkIRect& bbox, SkScalar rasterScale); 541 SkRect& bbox, 552 pattern->insertObject("BBox", SkPDFUtils::RectToArray(bbox)); 553 pattern->insertScalar("XStep", bbox.width()); 554 pattern->insertScalar("YStep", bbox.height()); 581 * luminosity mode. The shader pattern extends to the bbox. 585 SkRect bbox; local 611 SkRect bbox; local 768 SkRect bbox; local [all...] |
/external/chromium-trace/catapult/tracing/tracing/base/ |
bbox2.html | 50 var bbox = new BBox2(); 51 bbox.addBBox2(this); 52 return bbox;
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/ |
pfrtypes.h | 230 FT_BBox bbox; member in struct:PFR_PhyFontRec_ 234 FT_Int ascent; /* optional, bbox.yMax if not present */ 235 FT_Int descent; /* optional, bbox.yMin if not present */
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cid/ |
cidobjs.c | 426 cidface->bbox.xMin = cid->font_bbox.xMin >> 16; 427 cidface->bbox.yMin = cid->font_bbox.yMin >> 16; 429 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16; 430 cidface->bbox.yMax = ( cid->font_bbox.yMax + 0xFFFF ) >> 16; 435 cidface->ascender = (FT_Short)( cidface->bbox.yMax ); 436 cidface->descender = (FT_Short)( cidface->bbox.yMin );
|
/external/pdfium/third_party/freetype/src/cid/ |
cidobjs.c | 426 cidface->bbox.xMin = cid->font_bbox.xMin >> 16; 427 cidface->bbox.yMin = cid->font_bbox.yMin >> 16; 429 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16; 430 cidface->bbox.yMax = ( cid->font_bbox.yMax + 0xFFFF ) >> 16; 435 cidface->ascender = (FT_Short)( cidface->bbox.yMax ); 436 cidface->descender = (FT_Short)( cidface->bbox.yMin );
|
/external/pdfium/xfa/src/fdp/src/fde/ |
fde_geobject.cpp | 255 void CFDE_Path::GetBBox(CFX_RectF& bbox) const {
257 bbox.Set(rect.left, rect.top, rect.Width(), rect.Height());
258 bbox.Normalize();
260 void CFDE_Path::GetBBox(CFX_RectF& bbox,
264 bbox.Set(rect.left, rect.top, rect.Width(), rect.Height());
265 bbox.Normalize();
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/ |
afloader.c | 377 FT_BBox bbox; local 398 FT_Outline_Get_CBox( &gloader->base.outline, &bbox ); 400 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); 401 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); 402 bbox.xMax = FT_PIX_CEIL( bbox.xMax ); 403 bbox.yMax = FT_PIX_CEIL( bbox.yMax ) [all...] |
/external/pdfium/xfa/src/fgas/src/font/ |
fx_gdifont.h | 55 CFX_Rect& bbox,
57 virtual FX_BOOL GetBBox(CFX_Rect& bbox);
|
fx_gdifont.cpp | 400 CFX_Rect& bbox,
416 bbox.left = gm.gmptGlyphOrigin.x;
417 bbox.top = gm.gmptGlyphOrigin.y;
418 bbox.width = gm.gmBlackBoxX;
419 bbox.height = gm.gmBlackBoxY;
424 FX_BOOL CFX_GdiFont::GetBBox(CFX_Rect& bbox) {
425 bbox.left = m_OutlineTM.otmrcFontBox.left;
426 bbox.top = m_OutlineTM.otmrcFontBox.top;
427 bbox.width = m_OutlineTM.otmrcFontBox.right - m_OutlineTM.otmrcFontBox.left;
428 bbox.height = m_OutlineTM.otmrcFontBox.bottom - m_OutlineTM.otmrcFontBox.top; [all...] |
fx_gefont.cpp | 431 CFX_Rect& bbox,
433 return GetCharBBox(wUnicode, bbox, TRUE, bCharCode);
436 CFX_Rect& bbox,
458 ->GetCharBBox(wUnicode, bbox, FALSE, bCharCode)) {
466 bbox = *(FX_LPCRECT)pRect;
469 FX_BOOL CFX_GEFont::GetBBox(CFX_Rect& bbox) {
473 bbox.left = rt.left;
474 bbox.width = rt.Width();
475 bbox.top = rt.bottom;
476 bbox.height = -rt.Height(); [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_line.c | 286 struct u_rect bbox; local 548 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 549 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 550 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 551 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 555 bbox.x1--; 556 bbox.y1--; 559 if (bbox.x1 < bbox.x0 || 560 bbox.y1 < bbox.y0) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fPrimitiveBoundingBoxTests.cpp | 93 static ProjectedBBox projectBoundingBox (const BoundingBox& bbox) 95 const float wMin = de::max(0.0f, bbox.min.w()); // clamp to w=0 as extension requires 96 const float wMax = de::max(0.0f, bbox.max.w()); 99 retVal.min = tcu::min(bbox.min.swizzle(0, 1, 2) / wMin, 100 bbox.min.swizzle(0, 1, 2) / wMax); 101 retVal.max = tcu::max(bbox.max.swizzle(0, 1, 2) / wMin, 102 bbox.max.swizzle(0, 1, 2) / wMax); 106 static tcu::IVec4 getViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewportSize, float size = 0.0f) 111 vertexBox.x() = (bbox.min.x() * 0.5f + 0.5f) * (float)viewportSize.x(); 112 vertexBox.y() = (bbox.min.y() * 0.5f + 0.5f) * (float)viewportSize.y() [all...] |
/external/pdfium/core/include/fxge/ |
fx_freetype.h | 120 #define FXFT_Get_Face_xMin(face) ((FT_Face)face)->bbox.xMin 121 #define FXFT_Get_Face_xMax(face) ((FT_Face)face)->bbox.xMax 122 #define FXFT_Get_Face_yMin(face) ((FT_Face)face)->bbox.yMin 123 #define FXFT_Get_Face_yMax(face) ((FT_Face)face)->bbox.yMax
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_content.cpp | 112 CFX_FloatRect bbox = m_pPage->GetPageBBox(); local 113 matrix.TransformRect(bbox); 114 pFormDict->SetAtRect("BBox", bbox);
|
/external/pdfium/testing/resources/ |
bug_551248.in | 43 /BBox [0 0 75.907 28.472]
|
/external/skia/samplecode/ |
SamplePictFile.cpp | 83 name.append(" <bbox: R>"); 153 SkPicture* LoadPicture(const char path[], BBoxType bbox) { 192 switch (bbox) { 194 // no bbox playback necessary
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/ |
t1objs.c | 459 root->bbox.xMin = type1->font_bbox.xMin >> 16; 460 root->bbox.yMin = type1->font_bbox.yMin >> 16; 462 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16; 463 root->bbox.yMax = ( type1->font_bbox.yMax + 0xFFFF ) >> 16; 469 root->ascender = (FT_Short)( root->bbox.yMax ); 470 root->descender = (FT_Short)( root->bbox.yMin ); 478 (FT_Short)( root->bbox.xMax );
|
/external/pdfium/third_party/freetype/src/type1/ |
t1objs.c | 459 root->bbox.xMin = type1->font_bbox.xMin >> 16; 460 root->bbox.yMin = type1->font_bbox.yMin >> 16; 462 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16; 463 root->bbox.yMax = ( type1->font_bbox.yMax + 0xFFFF ) >> 16; 469 root->ascender = (FT_Short)( root->bbox.yMax ); 470 root->descender = (FT_Short)( root->bbox.yMin ); 478 (FT_Short)( root->bbox.xMax );
|