in search of wisdom

Klaas Holwerda db348 at nl.thalesgroup.com
Thu Mar 1 00:25:41 PST 2007


Billy Patton wrote:

> I'm now trying to adapt most of my functionality to wxWidgets and the 
> methods of callback

So yopu should first go to wxArt2D, which has all you want, and more.
I wrote/ am writing a GDSII editor with it, but reading and displaying is already default in it.

> Questions I need to answer.
> 1. Is the SetUserScale better than handling it my self?

Best do it yourself with cashing coordinates array where coversion from world to device takes place.

>    If I use I would have to use GetUserScale to adjust the points for 
> selecting data in the database.
> 2. Is there a way to relocate 0,0 on a canvas?

I did it all in a device context above wxDC, that knows matrixes, very improtant in GDSII

> 3. I would like to put a much better API between teh graphics and the 
> data. I would like to use gdsii,LAFF,Oasis,OpenAccess and mebes, 
> eventually.  Anyone have a concept for how to do this?

Yep, told you already.


> Here's a sample of what scale would have to look at
>  (ATTR 'UNITS'(
>     (TEXT '0.00100 MICRONS')))
>   (ATTR 'MINGRID'(
>     (TEXT '0.00100 0.00100')))

Same here.

Klaas



-- 
Unclassified




More information about the wx-users mailing list