コード例 #1
0
        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);
        }
コード例 #2
0
 private CffCharString()
 {
     _path = new GlyphPath();
     _vs   = new ValueStack(32);
 }