Just a demonstration how to use the Cairo-COM-Wrapper-Classes as an alternative to GDI+,
(in the recently discussed context of PNG-Loading + ChannelSplitting + separate Editing + Recombining + Saving).
![]()
As the Screenshot shows, the Demo is a "complete little Editor-App", consisting of only 3 Modules:
- fMain.frm
- modMain.bas
- ucProcessing.ctl
with in total little more than 100 lines of code: PNGEditor.zip
I hope it gives some ideas, how such an App can be efficiently structured,
and how a Class-wrapped graphics-API can ease things significantly (implementation-wise).
Olaf
(in the recently discussed context of PNG-Loading + ChannelSplitting + separate Editing + Recombining + Saving).

As the Screenshot shows, the Demo is a "complete little Editor-App", consisting of only 3 Modules:
- fMain.frm
- modMain.bas
- ucProcessing.ctl
with in total little more than 100 lines of code: PNGEditor.zip
I hope it gives some ideas, how such an App can be efficiently structured,
and how a Class-wrapped graphics-API can ease things significantly (implementation-wise).
Olaf