Searched refs:clipBox (Results 1 – 6 of 6) sorted by relevance
/external/fonttools/Lib/fontTools/colorLib/ |
D | builder.py | 267 def buildClipBox(clipBox: _ClipBoxInput) -> ot.ClipBox: 268 if isinstance(clipBox, ot.ClipBox): 269 return clipBox 270 n = len(clipBox) 274 clip.xMin, clip.yMin, clip.xMax, clip.yMax = intRect(clipBox[:4]) 277 clip.VarIndexBase = int(clipBox[4])
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otTables.py | 1346 for glyphName, clipBox in self.clips.items(): 1347 key = clipBox.as_tuple() 1350 uniqueClips[key] = clipBox 1361 for glyphs, clipBox in self.groups().items(): 1378 clipBoxRanges[(start, end)] = clipBox 1381 for (start, end), clipBox in sorted(clipBoxRanges.items()): 1385 record.ClipBox = clipBox 1402 for glyphs, clipBox in sorted( 1410 xmlWriter.begintag("ClipBox", [("Format", clipBox.Format)]) 1412 clipBox.toXML2(xmlWriter, font) [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ot-color-colr-table.hh | 1000 if (!out->clipBox.serialize_copy (c, clipBox, base)) return_trace (nullptr); in copy() 1007 return_trace (c->check_struct (this) && clipBox.sanitize (c, base)); in sanitize() 1014 return (base+clipBox).get_extents (extents, instancer); in get_extents() 1020 Offset24To<ClipBox> clipBox; // Box or VarBox member 1058 record.clipBox = prev_offset; in serialize_clip_records() 1073 record.clipBox = prev_offset; in serialize_clip_records() 1100 new_gid_offset_map.set (new_gid, record.clipBox); in subset()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1217 FT_ClipBox clipBox; in generateMetrics() local 1218 if (FT_Get_Color_Glyph_ClipBox(fFace, glyph->getGlyphID(), &clipBox)) { in generateMetrics() 1221 bbox.xMin = clipBox.bottom_left.x; in generateMetrics() 1222 bbox.xMax = clipBox.bottom_left.x; in generateMetrics() 1223 bbox.yMin = clipBox.bottom_left.y; in generateMetrics() 1224 bbox.yMax = clipBox.bottom_left.y; in generateMetrics() 1225 for (auto& corner : {clipBox.top_left, clipBox.top_right, clipBox.bottom_right}) { in generateMetrics()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 126 FX_RECT clipBox; in DebugShowCanvasClip() local 127 driver->GetClipBox(&clipBox); in DebugShowCanvasClip() 128 printf("reported bounds %d %d %d %d\n", clipBox.left, clipBox.top, in DebugShowCanvasClip() 129 clipBox.right, clipBox.bottom); in DebugShowCanvasClip()
|
/external/fonttools/Tests/colorLib/ |
D | builder_test.py | 1688 (baseGlyph, clipBox.as_tuple()) for baseGlyph, clipBox in clipBoxes.items()
|