PeachDrawing.Core

PeachDrawing.Core.ColorGlyphs.ColorGlyphPainter

ColorGlyphPainter.Placement(double, double) Method

The placement that maps a glyph’s design units into a target whose baseline origin for the glyph is (originX, originY): scaled to the font size, with y flipped when the target’s y axis points down.

public PeachDrawing.Text.Outlines.Affine2x3 Placement(double originX, double originY);

Parameters

originX System.Double

the glyph origin’s x in target space

originY System.Double

the glyph origin’s y (on the baseline) in target space

Returns

Affine2x3
the design-units-to-target affine to pass to Paint(ushort, Affine2x3, IColorGlyphTarget)