[colr] Add MIN_SIZE to Paint

This commit is contained in:
Behdad Esfahbod 2022-07-15 16:03:25 -06:00
parent e1d2facd53
commit f7147835eb
1 changed files with 3 additions and 0 deletions

View File

@ -524,6 +524,7 @@ struct PaintSweepGradient
}; };
struct Paint; struct Paint;
// Paint a non-COLR glyph, filled as indicated by paint. // Paint a non-COLR glyph, filled as indicated by paint.
struct PaintGlyph struct PaintGlyph
{ {
@ -1152,6 +1153,8 @@ struct Paint
Variable<PaintSkewAroundCenter> paintformat31; Variable<PaintSkewAroundCenter> paintformat31;
PaintComposite paintformat32; PaintComposite paintformat32;
} u; } u;
public:
DEFINE_SIZE_MIN (2);
}; };
struct BaseGlyphPaintRecord struct BaseGlyphPaintRecord