You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to propose that TransformPoint and TransformPoints methods are added to the Drawing Context, so that an array of Points can be transformed by the Current Transformation Matrix (CTM) of the Context. The suggested methods would be:-
void TransformPoint( ref double x, ref double y ); and void TransformPoints ( Point[] );
These are probably the most useful of the possible methods, though GDI and Cairo also provide TransformDistance, which omits the translation element, and could be included. Alternatively, the CTM { get; set; } could be made available, so that more general transforms like skew could be achieved.
The text was updated successfully, but these errors were encountered:
I'd like to propose that TransformPoint and TransformPoints methods are added to the Drawing Context, so that an array of Points can be transformed by the Current Transformation Matrix (CTM) of the Context. The suggested methods would be:-
void TransformPoint( ref double x, ref double y ); and void TransformPoints ( Point[] );
These are probably the most useful of the possible methods, though GDI and Cairo also provide TransformDistance, which omits the translation element, and could be included. Alternatively, the CTM { get; set; } could be made available, so that more general transforms like skew could be achieved.
The text was updated successfully, but these errors were encountered: