Eric Grange
2006-11-27 07:40:07 UTC
I'm currently in the process of evaluating anti-aliased 2D graphics alternatives
under Delphi for the revamp of an internal library, below are those I found, if
anyone knows one that isn't there, I would be grateful for links :)
Keep in mind my comments below are for antialiased graphics only, with software
rendering (no hardware acceleration):
* GDI super-sampling (draw on a larger bitmap then downsample it):
- low to medium speed, high memory usage
- low to high quality (but usually only "low" is practical)
- easy to maintain
* GDI+ :
- medium speed, some memory leaks to be avoided
- medium to low quality
- easy to maintain (some deployment issues to watch though)
* G32 : (www.g32.org)
- medium to high speed
- medium quality, but feature set somewhat limited
- easy to maintain
* AntiGrain : (www.aggpas.org)
- medium speed
- high quality, arguably the richest feature set
- complex to maintain
* DirectX/OpenGL :
- very slow speed when hardware not available (esp. for AA modes)
- medium quality, built-in 2D feature set limited (text output...)
- driver-specific quirks complicate maintainance
* Avalon/WPF :
- low to medium speed when hardware not available
- medium quality, rich feature set but with a retained mode renderer
- strong deployment issues for the foreseeable future
In conclusion, no definite winner yet IMO, a cross-over between AntiGrain's
features and G32 maintainability would be a godsend, and if it had the potential
of becoming hardware accelerated one day like the last two options, this would
be perfect... WPF is somewhat close, but dependencies and deployment issues are
overwhelming, especially with the restrictions on pre-Vista OSes.
Any other options I would have missed?
Eric
under Delphi for the revamp of an internal library, below are those I found, if
anyone knows one that isn't there, I would be grateful for links :)
Keep in mind my comments below are for antialiased graphics only, with software
rendering (no hardware acceleration):
* GDI super-sampling (draw on a larger bitmap then downsample it):
- low to medium speed, high memory usage
- low to high quality (but usually only "low" is practical)
- easy to maintain
* GDI+ :
- medium speed, some memory leaks to be avoided
- medium to low quality
- easy to maintain (some deployment issues to watch though)
* G32 : (www.g32.org)
- medium to high speed
- medium quality, but feature set somewhat limited
- easy to maintain
* AntiGrain : (www.aggpas.org)
- medium speed
- high quality, arguably the richest feature set
- complex to maintain
* DirectX/OpenGL :
- very slow speed when hardware not available (esp. for AA modes)
- medium quality, built-in 2D feature set limited (text output...)
- driver-specific quirks complicate maintainance
* Avalon/WPF :
- low to medium speed when hardware not available
- medium quality, rich feature set but with a retained mode renderer
- strong deployment issues for the foreseeable future
In conclusion, no definite winner yet IMO, a cross-over between AntiGrain's
features and G32 maintainability would be a godsend, and if it had the potential
of becoming hardware accelerated one day like the last two options, this would
be perfect... WPF is somewhat close, but dependencies and deployment issues are
overwhelming, especially with the restrictions on pre-Vista OSes.
Any other options I would have missed?
Eric