Hi, On 31 July 2012 19:12, wahono sri <[email protected]> wrote: > > I see in your code of fpGUI is separated between GUI and OS, I'm sure > it isn't complicated to port to others platform.
Correct, I tread AggPas almost as if it is another backend - similar to GDI or X11. I still had to keep the GDI and X11 functionality though, for window handling, user input etc. All painting is offloaded to AggPas, which generates a memory bitmap from the vector data, then I simply bit blit it to the window. Integrating it with other GUI toolkits shouldn't be too hard - though I only know fpGUI internals well. One thing to take note of though... AggPas (or really AGG) was designed to be procedure based, where you can string any set of procedures together to generate the output you desire. This is immensely powerful! I opted to scale that back a bit, and rather use a TAggPas class that does everything I need. This slightly limits the true power of AggPas, but it is still more than enough to accomplish awesome painting, and much easier to work with. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

