PeachDrawing
PeachDrawing.RasterRenderContext
RasterRenderContext.PixelsPerPoint Property
Layout units per point, as LayoutUnitsPerPoint reports it: 1 (the default) means a layout unit is a point, which
a canvas from CreateCanvas(int, int, double) then draws as one device pixel. A document laid out against this context at 96.0 / 72.0 has CSS
pixels as its layout unit, so a canvas from CreateCanvas(int, int, double) shows it at one CSS pixel per device pixel with no transform in between, and
the engine’s snapping of boxes and borders to whole CSS pixels lands on whole device pixels. Set it before the document is loaded.
public double PixelsPerPoint { get; set; }