HomeSort by relevance Sort by last modified time
    Searched full:bbox (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /external/freetype/src/base/
ftbbox.c 5 /* FreeType bbox computation (body). */
40 FT_BBox bbox; member in struct:TBBox_Rec_
45 #define FT_UPDATE_BBOX( p, bbox ) \
47 if ( p->x < bbox.xMin ) \
48 bbox.xMin = p->x; \
49 if ( p->x > bbox.xMax ) \
50 bbox.xMax = p->x; \
51 if ( p->y < bbox.yMin ) \
52 bbox.yMin = p->y; \
53 if ( p->y > bbox.yMax )
446 FT_BBox bbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, local
    [all...]
  /external/pdfium/third_party/freetype/src/base/
ftbbox.c 5 /* FreeType bbox computation (body). */
40 FT_BBox bbox; member in struct:TBBox_Rec_
45 #define FT_UPDATE_BBOX( p, bbox ) \
47 if ( p->x < bbox.xMin ) \
48 bbox.xMin = p->x; \
49 if ( p->x > bbox.xMax ) \
50 bbox.xMax = p->x; \
51 if ( p->y < bbox.yMin ) \
52 bbox.yMin = p->y; \
53 if ( p->y > bbox.yMax )
443 FT_BBox bbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, local
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug281.go 24 bbox Rect
27 func (o *Obj) Bbox() Rect {
28 return o.bbox
32 return [2]Point{o.bbox.Min, o.bbox.Max}
40 q := p.Sub(o.Bbox().Min)
  /prebuilts/go/linux-x86/test/fixedbugs/
bug281.go 24 bbox Rect
27 func (o *Obj) Bbox() Rect {
28 return o.bbox
32 return [2]Point{o.bbox.Min, o.bbox.Max}
40 q := p.Sub(o.Bbox().Min)
  /external/freetype/include/freetype/
ftbbox.h 5 /* FreeType exact bbox computation (specification). */
78 /* @FT_LOAD_NO_SCALE, the resulting BBox is meaningless. To get */
79 /* reasonable values for the BBox it is necessary to load the glyph */
81 /* properly shift and scale the subglyphs), then extracting the BBox, */
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/
ftbbox.h 5 /* FreeType exact bbox computation (specification). */
78 /* @FT_LOAD_NO_SCALE, the resulting BBox is meaningless. To get */
79 /* reasonable values for the BBox it is necessary to load the glyph */
81 /* properly shift and scale the subglyphs), then extracting the BBox, */
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/
ftbbox.h 5 /* FreeType exact bbox computation (specification). */
78 /* @FT_LOAD_NO_SCALE, the resulting BBox is meaningless. To get */
79 /* reasonable values for the BBox it is necessary to load the glyph */
81 /* properly shift and scale the subglyphs), then extracting the BBox, */
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/fpdfsdk/
fpdfedittext.cpp 107 FX_RECT bbox; local
108 pFont->GetBBox(bbox);
110 pBBox->AddNew<CPDF_Number>(bbox.left);
111 pBBox->AddNew<CPDF_Number>(bbox.bottom);
112 pBBox->AddNew<CPDF_Number>(bbox.right);
113 pBBox->AddNew<CPDF_Number>(bbox.top);
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_screen_dri.c 125 const struct drm_clip_rect *bbox)
130 xy1 = ((int)src->x1 > (int)bbox->x1 + dst_x) ? src->x1 :
131 (int)bbox->x1 + dst_x;
132 xy2 = ((int)src->x2 < (int)bbox->x2 + dst_x) ? src->x2 :
133 (int)bbox->x2 + dst_x;
140 xy1 = ((int)src->y1 > (int)bbox->y1 + dst_y) ? src->y1 :
141 (int)bbox->y1 + dst_y;
142 xy2 = ((int)src->y2 < (int)bbox->y2 + dst_y) ? src->y2 :
143 (int)bbox->y2 + dst_y;
  /external/pdfium/core/fxge/ge/
cfx_font.cpp 385 bool CFX_Font::GetGlyphBBox(uint32_t glyph_index, FX_RECT& bbox) {
406 bbox.left = cbox.xMin;
407 bbox.right = cbox.xMax;
408 bbox.top = cbox.yMax;
409 bbox.bottom = cbox.yMin;
411 bbox.left = cbox.xMin * 1000 / pixel_size_x;
412 bbox.right = cbox.xMax * 1000 / pixel_size_x;
413 bbox.top = cbox.yMax * 1000 / pixel_size_y;
414 bbox.bottom = cbox.yMin * 1000 / pixel_size_y;
416 if (bbox.top > FXFT_Get_Face_Ascender(m_Face)
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_setup_point.c 324 struct u_rect bbox; local
338 bbox.x0 = (x0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
339 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
340 bbox.y0 = (y0 + (FIXED_ONE-1)) >> FIXED_ORDER;
341 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER;
345 bbox.x1--;
346 bbox.y1--;
349 if (!u_rect_test_intersection(&setup->draw_region, &bbox)) {
355 u_rect_find_intersection(&setup->draw_region, &bbox);
391 plane[0].c = 1-bbox.x0
    [all...]
lp_setup_tri.c 246 struct u_rect bbox; local
273 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER;
274 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER;
277 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER;
278 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER;
281 if (bbox.x1 < bbox.x0 ||
282 bbox.y1 < bbox.y0) {
288 if (!u_rect_test_intersection(&setup->draw_region, &bbox)) {
    [all...]
  /external/pdfium/xfa/fgas/font/
cfgas_gefont.h 58 bool GetCharBBox(FX_WCHAR wUnicode, CFX_Rect* bbox, bool bCharCode = false);
59 bool GetBBox(CFX_Rect* bbox);
87 CFX_Rect* bbox,
cfgas_gefont.cpp 307 CFX_Rect* bbox,
309 return GetCharBBoxInternal(wUnicode, bbox, true, bCharCode);
313 CFX_Rect* bbox,
318 *bbox = it->second;
328 return pFont->GetCharBBoxInternal(wUnicode, bbox, false, bCharCode);
336 *bbox = rt;
340 bool CFGAS_GEFont::GetBBox(CFX_Rect* bbox) {
345 bbox->left = rt.left;
346 bbox->width = rt.Width();
347 bbox->top = rt.bottom
    [all...]
  /external/pdfium/core/fpdfapi/page/
cpdf_tilingpattern.h 33 const CFX_FloatRect& bbox() const { return m_BBox; } function in class:CPDF_TilingPattern
  /external/pdfium/testing/resources/
bug_451265.in 63 /BBox [0 0 225 161]
  /external/skia/src/ports/
SkFontHost_FreeType.cpp 492 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox,
494 bool getCBoxForLetter(char letter, FT_BBox* bbox);
516 static bool GetLetterCBox(FT_Face face, char letter, FT_BBox* bbox) {
522 FT_Outline_Get_CBox(&face->glyph->outline, bbox);
606 FT_BBox bbox;
607 if (GetLetterCBox(face, stem_chars[i], &bbox)) {
608 int16_t width = bbox.xMax - bbox.xMin;
650 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax
    [all...]
SkScalerContext_win_dw.cpp 444 RECT* bbox)
501 HRM(glyphRunAnalysis->GetAlphaTextureBounds(textureType, bbox),
512 static bool glyph_check_and_set_bounds(SkGlyph* glyph, const RECT& bbox) {
513 if (bbox.left >= bbox.right || bbox.top >= bbox.bottom) {
516 glyph->fWidth = SkToU16(bbox.right - bbox.left);
517 glyph->fHeight = SkToU16(bbox.bottom - bbox.top)
569 RECT bbox; local
825 RECT bbox; local
    [all...]
  /external/skia/src/pdf/
SkPDFShader.cpp 23 static bool inverse_transform_bbox(const SkMatrix& matrix, SkRect* bbox) {
28 inverse.mapRect(bbox);
604 SkRect& bbox,
615 pattern->insertObject("BBox", SkPDFUtils::RectToArray(bbox));
616 pattern->insertScalar("XStep", bbox.width());
617 pattern->insertScalar("YStep", bbox.height());
645 * luminosity mode. The shader pattern extends to the bbox.
649 SkRect bbox; local
650 bbox.set(state.fBBox)
675 SkRect bbox; local
905 SkRect bbox; local
1224 , fBBox(bbox) variable
    [all...]
  /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/fde/
cfde_path.cpp 214 CFX_RectF bbox = CFX_RectF(rect.left, rect.top, rect.Width(), rect.Height()); local
215 bbox.Normalize();
216 return bbox;
221 CFX_RectF bbox = CFX_RectF(rect.left, rect.top, rect.Width(), rect.Height()); local
222 bbox.Normalize();
223 return bbox;
  /external/freetype/src/autofit/
afloader.c 467 FT_BBox bbox; local
488 FT_Outline_Get_CBox( &gloader->base.outline, &bbox );
490 bbox.xMin = FT_PIX_FLOOR( bbox.xMin );
491 bbox.yMin = FT_PIX_FLOOR( bbox.yMin );
492 bbox.xMax = FT_PIX_CEIL( bbox.xMax );
493 bbox.yMax = FT_PIX_CEIL( bbox.yMax )
    [all...]

Completed in 1811 milliseconds

1 2 3 4 5 6 7