Home
last modified time | relevance | path

Searched refs:PaintFormat (Results 1 – 8 of 8) sorted by relevance

/external/fonttools/Tests/colorLib/
Dunbuilder_test.py9 "Format": int(ot.PaintFormat.PaintColrLayers),
12 "Format": int(ot.PaintFormat.PaintGlyph),
14 "Format": int(ot.PaintFormat.PaintSolid),
20 "Format": int(ot.PaintFormat.PaintGlyph),
22 "Format": int(ot.PaintFormat.PaintVarLinearGradient),
50 "Format": int(ot.PaintFormat.PaintGlyph),
52 "Format": int(ot.PaintFormat.PaintVarTransform),
54 "Format": int(ot.PaintFormat.PaintRadialGradient),
87 "Format": int(ot.PaintFormat.PaintVarTranslate),
89 "Format": int(ot.PaintFormat.PaintRotate),
[all …]
Dbuilder_test.py261 p = _buildPaint((ot.PaintFormat.PaintSolid, 0))
262 assert p.Format == ot.PaintFormat.PaintSolid
268 p = _buildPaint((ot.PaintFormat.PaintSolid, (1, 0.5)))
269 assert p.Format == ot.PaintFormat.PaintSolid
276 (ot.PaintFormat.PaintVarSolid, (3, builder.VariableFloat(0.5, varIdx=2)))
278 assert p.Format == ot.PaintFormat.PaintVarSolid
429 assert not _is_var(ot.PaintFormat.PaintLinearGradient)
430 checkBuildPaintLinearGradient(ot.PaintFormat.PaintLinearGradient)
434 assert _is_var(ot.PaintFormat.PaintVarLinearGradient)
435 checkBuildPaintLinearGradient(ot.PaintFormat.PaintVarLinearGradient)
[all …]
/external/fonttools/Tests/subset/
Dsubset_test.py994 ot.PaintFormat.PaintColrLayers,
997 "Format": ot.PaintFormat.PaintGlyph,
998 "Paint": (ot.PaintFormat.PaintSolid, 0),
1002 "Format": ot.PaintFormat.PaintGlyph,
1003 "Paint": (ot.PaintFormat.PaintSolid, (2, 0.3)),
1009 ot.PaintFormat.PaintColrLayers,
1012 "Format": ot.PaintFormat.PaintTransform,
1014 "Format": ot.PaintFormat.PaintGlyph,
1016 "Format": ot.PaintFormat.PaintRadialGradient,
1033 "Format": ot.PaintFormat.PaintGlyph,
[all …]
/external/fonttools/Lib/fontTools/colorLib/
Dunbuilder.py28 ot.PaintFormat.PaintColrLayers,
38 assert source["Format"] == ot.PaintFormat.PaintColrLayers
Dbuilder.py121 ot.PaintFormat.PaintRadialGradient,
126 ot.PaintFormat.PaintVarRadialGradient,
429 ot.PaintFormat.PaintColrLayers,
463 paint.Format = int(ot.PaintFormat.PaintColrLayers)
498 new_slice.Format = int(ot.PaintFormat.PaintColrLayers)
515 "Format": ot.PaintFormat.PaintColrLayers,
/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py1333 class PaintFormat(IntEnum): class
1360 return PaintFormat(self.Format).name
1377 if self.Format == PaintFormat.PaintColrLayers:
1382 if self.Format == PaintFormat.PaintColrGlyph:
/external/fonttools/Lib/fontTools/subset/
D__init__.py1992 otTables.PaintFormat.PaintGlyph,
1993 otTables.PaintFormat.PaintColrGlyph,
/external/fonttools/
DNEWS.rst51 now named ``PaintFormat``. It was clashing with paint instance ``Format`` attribute