Search found 3 matches

by Bronek
30 Jul 2008, 11:01
Forum: CAD VCL
Topic: Mapping a CAD Point
Replies: 7
Views: 35293

Re: Mapping a CAD Point

I used EditorDemo, so I used original RectangleF value from EditorDemo.
by Bronek
11 Jun 2008, 12:33
Forum: CAD VCL
Topic: Mapping a CAD Point
Replies: 7
Views: 35293

Re: Mapping a CAD Point

Thank for quick reply!

I'm using C# example: EditorDemo, so I found CADConst.GetRealPoint(int x, int y, CADImage img, RectangleF rect) method and CADImage cadImage.GetPoint(DPoint absPoint, RectangleF curRect).

They works as I expected!
by Bronek
10 Jun 2008, 18:34
Forum: CAD VCL
Topic: Mapping a CAD Point
Replies: 7
Views: 35293

Re: Mapping a CAD Point

I need a transformation methods to convert between Screen point and Cad point. I found GetRealPoint(int x, int y) which converts Screen point to Cad point. What is the opposite method to GetRealPoint(int x, int y) ?