Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Xwt TransformPoint(s) proposal #77

Closed
hwthomas opened this issue Mar 22, 2012 · 1 comment
Closed

Xwt TransformPoint(s) proposal #77

hwthomas opened this issue Mar 22, 2012 · 1 comment

Comments

@hwthomas
Copy link
Contributor

I'd like to propose that TransformPoint (ref double x, ref double y ) and TransformPoints ( Point points[] ) are added to the Drawing Context methods, so that a Point (x,y ) or array points[] can be transformed by the Current Transformation Matrix (CTM).

These are probably the most useful methods, although Cairo and GDI also provide TransformDistance, which omits the translation element. As an alternative to the latter, the CTM { get; set; } could be made available, so that more complex transformations like skew could be achieved.

@ermau
Copy link
Member

ermau commented Mar 22, 2012

Duplicate of #76

@ermau ermau closed this as completed Mar 22, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants