Home » Community » Coffee corner » Rendering
Re: Rendering [message #35594 is a reply to message #35583] |
Sat, 03 March 2012 09:33  |
Tom1
Messages: 1305 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
Based on current GDI and X11 implementations, I have been thinking of Draw as a single native vector graphics abstraction that is and will be mapped to all native targets on all supported platforms, no matter if they are window, buffer, printer or PDF. Additionally, some targets (window and buffer) may gain acceleration on the way if such is supported by the target. IMO this kind of one-stop-vector-graphics-shop will be needed in the future too.
If mandatory parts of Draw will be narrowed down, I seriously suggest having mandatory BeginGdi()/EndGdi() -like solutions for all native targets to allow proper target specific extensions to be developed. This way it would be possible to make a 'SuperDraw' that takes Draw as contructor parameter, and then implements wider API calling GDI/X11/OpenGL/Painter or whatever the backend really is. If the backend was not (yet) natively supported by 'SuperDraw', we could use local BufferPainter to handle the drawing and push the image to Draw.
Best regards,
Tom
|
|
|
Goto Forum:
Current Time: Tue Aug 26 03:06:27 CEST 2025
Total time taken to generate the page: 0.05826 seconds
|