how to extent WinGDIPlusInterface for anti-aliased transparent drawings?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to extent WinGDIPlusInterface for anti-aliased transparent drawings?

Paul Weustink-2
Hi,

For a Windows application I am looking for a way in VisualWorks to draw in an anti-aliased and transparent way. So far I found Cairo and Antigrain as possible options, but their approach is rather different from my current code in VW and C++.

In the Cincom public store is the WinGDIPlusInterface that uses GDI+ for images. After some testing I found it very impressive and easy to use, so I would like to add the functionality of drawing lines, text etc.

My question is how to proceed with this?
1. does it make sense to port the C++ classes (Font, Pen, Brush, etc) to Smalltalk classes?
2. is it ok to start with a subclass of ScreenGraphicsContext to keep most of my code the same?
3. did anyone modify the VW kernel with calls to GDI+?

Thanks in advance for any help.

Paul.

PS: here's a test with some ellipses









_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc