PeachDrawing.Core

PeachDrawing.Core.Canvas

Canvas.CurrentTransform Property

The accumulated transform of every PushTransform(Matrix3x2) in effect, mapping this graphics’ current user space to the layout space it started in (the space page content is laid out in). Identity for a graphics that does not track transforms. Bookkeeping only, read by callers (gradient/pattern objectBoundingBox math, an SVG backdrop repaint, context-fill/ context-stroke’s coordinate-space mapping) - it plays no part in what this graphics actually draws, which a concrete backend positions its own way. A tile this graphics hands out (CreateTile(double, double)’s Graphics, or BeginRasterSurface(Rect, Nullable<double>)’s) starts seeded from this value, not System.Numerics.Matrix3x2.Identity, precisely so a reader can still relate the tile’s own coordinate space back to whatever space content outside the tile is measured in.

public virtual System.Numerics.Matrix3x2 CurrentTransform { get; }

Property Value

System.Numerics.Matrix3x2