Home
last modified time | relevance | path

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

/external/fonttools/Tests/varLib/
Dmerger_test.py57 "Format": int(ot.PaintFormat.PaintSolid),
62 "Format": int(ot.PaintFormat.PaintSolid),
79 "Format": int(ot.PaintFormat.PaintSolid),
84 "Format": int(ot.PaintFormat.PaintSolid),
102 "Format": int(ot.PaintFormat.PaintLinearGradient),
118 "Format": int(ot.PaintFormat.PaintLinearGradient),
167 "Format": int(ot.PaintFormat.PaintLinearGradient),
183 "Format": int(ot.PaintFormat.PaintLinearGradient),
232 "Format": int(ot.PaintFormat.PaintLinearGradient),
248 "Format": int(ot.PaintFormat.PaintLinearGradient),
[all …]
/external/fonttools/Tests/colorLib/
Dbuilder_test.py236 p = _buildPaint((ot.PaintFormat.PaintSolid, 0))
237 assert p.Format == ot.PaintFormat.PaintSolid
243 p = _buildPaint((ot.PaintFormat.PaintSolid, 1, 0.5))
244 assert p.Format == ot.PaintFormat.PaintSolid
250 p = _buildPaint((ot.PaintFormat.PaintVarSolid, 3, 0.5, 2))
251 assert p.Format == ot.PaintFormat.PaintVarSolid
413 assert not _is_var(ot.PaintFormat.PaintLinearGradient)
414 checkBuildPaintLinearGradient(ot.PaintFormat.PaintLinearGradient)
418 assert _is_var(ot.PaintFormat.PaintVarLinearGradient)
419 checkBuildPaintLinearGradient(ot.PaintFormat.PaintVarLinearGradient)
[all …]
Dunbuilder_test.py9 "Format": int(ot.PaintFormat.PaintColrLayers),
12 "Format": int(ot.PaintFormat.PaintGlyph),
14 "Format": int(ot.PaintFormat.PaintSolid),
21 "Format": int(ot.PaintFormat.PaintGlyph),
23 "Format": int(ot.PaintFormat.PaintVarLinearGradient),
58 "Format": int(ot.PaintFormat.PaintGlyph),
60 "Format": int(ot.PaintFormat.PaintVarTransform),
62 "Format": int(ot.PaintFormat.PaintRadialGradient),
98 "Format": int(ot.PaintFormat.PaintVarTranslate),
100 "Format": int(ot.PaintFormat.PaintRotate),
[all …]
/external/fonttools/Lib/fontTools/colorLib/
Dunbuilder.py18 if paint["Format"] == ot.PaintFormat.PaintColrLayers:
31 ot.PaintFormat.PaintColrLayers,
41 assert source["Format"] == ot.PaintFormat.PaintColrLayers
Dbuilder.py117 ot.PaintFormat.PaintRadialGradient,
122 ot.PaintFormat.PaintVarRadialGradient,
131 ot.PaintFormat.PaintSolid,
136 ot.PaintFormat.PaintVarSolid,
502 new_slice.Format = int(ot.PaintFormat.PaintColrLayers)
535 ot.PaintFormat.PaintColrLayers,
572 "Format": ot.PaintFormat.PaintColrLayers,
585 paint.Format = int(ot.PaintFormat.PaintColrLayers)
/external/fonttools/Tests/subset/
Dsubset_test.py1136 ot.PaintFormat.PaintColrLayers,
1139 "Format": ot.PaintFormat.PaintGlyph,
1140 "Paint": (ot.PaintFormat.PaintSolid, 0),
1144 "Format": ot.PaintFormat.PaintGlyph,
1145 "Paint": (ot.PaintFormat.PaintSolid, 2, 0.3),
1151 ot.PaintFormat.PaintColrLayers,
1154 "Format": ot.PaintFormat.PaintTransform,
1156 "Format": ot.PaintFormat.PaintGlyph,
1158 "Format": ot.PaintFormat.PaintRadialGradient,
1175 "Format": ot.PaintFormat.PaintGlyph,
[all …]
/external/fonttools/Lib/fontTools/ttLib/
DscaleUpem.py241 paint.Format = otTables.PaintFormat.PaintScaleUniform
250 paint.Format = otTables.PaintFormat.PaintTransform
269 if paint.Format != otTables.PaintFormat.PaintGlyph:
/external/fonttools/Lib/fontTools/varLib/
Dmerger.py1340 if paint.Format == ot.PaintFormat.PaintColrGlyph:
1343 elif paint.Format == ot.PaintFormat.PaintColrLayers:
1394 assert root.Format == ot.PaintFormat.PaintColrLayers
1396 if paint.Format == ot.PaintFormat.PaintColrLayers:
1441 paint.Format = int(ot.PaintFormat.PaintColrLayers)
1451 if len(out_layers) == 1 and out_layers[0].Format == ot.PaintFormat.PaintColrLayers:
1474 if fmt is ot.PaintFormat.PaintColrLayers:
/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py1485 class PaintFormat(IntEnum): class
1526 return PaintFormat.__members__[f"PaintVar{self.name[5:]}"]
1532 formatEnum = PaintFormat
1553 if self.Format == PaintFormat.PaintColrLayers:
1562 if self.Format == PaintFormat.PaintColrGlyph:
/external/fonttools/Lib/fontTools/subset/
D__init__.py2119 otTables.PaintFormat.PaintGlyph,
2120 otTables.PaintFormat.PaintColrGlyph,
/external/fonttools/
DNEWS.rst567 now named ``PaintFormat``. It was clashing with paint instance ``Format`` attribute