PeachDrawing.Core

PeachDrawing.Core.ColorGlyphs.ColorGlyphPainter

ColorGlyphPainter.RequiresRasterFidelity(ushort) Method

Whether painting this glyph on a pure vector target loses something a pixel target keeps: a PLUS composite (a vector target has no additive blend) or a repeating/reflecting radial gradient between circles with different centers (a vector target can only pad it). A vector backend can draw such a glyph through a pixel target instead, passing CanvasColorGlyphTarget the matching Supports... flags.

public bool RequiresRasterFidelity(ushort glyphId);

Parameters

glyphId System.UInt16

the glyph to inspect

Returns

System.Boolean
true when a pixel target would draw the glyph more faithfully than a vector one