public void DrawGlyphToImage(GlyphPath glyphPath, System.Drawing.Point location, Image <Rgba32> image) { var paths = glyphPath.Paths; if (paths == null) { return; } paths = paths.Translate(location.X - glyphPath.Bounds.X, location.Y - glyphPath.Bounds.Y); DrawColoredPaths(image, paths); }
private CffCharString() { _path = new GlyphPath(); _vs = new ValueStack(32); }