8 #ifndef SkOpenTypeSVGDecoder_DEFINED
9 #define SkOpenTypeSVGDecoder_DEFINED
26 SkColor foregroundColor, SkSpan<SkColor> palette) = 0;
Types, consts, functions, and macros for colors.
uint32_t SkColor
32-bit ARGB color value, unpremultiplied.
Definition: SkColor.h:37
uint16_t SkGlyphID
16 bit unsigned integer to hold a glyph index
Definition: SkTypes.h:171
SkCanvas provides an interface for drawing, and how the drawing is clipped and transformed.
Definition: SkCanvas.h:99
Definition: SkOpenTypeSVGDecoder.h:19
virtual ~SkOpenTypeSVGDecoder()=default
virtual bool render(SkCanvas &, int upem, SkGlyphID glyphId, SkColor foregroundColor, SkSpan< SkColor > palette)=0
virtual size_t approximateSize()=0
Each instance probably owns an SVG DOM.