|
From: Eric M. H. <hie...@gm...> - 2006-07-27 17:42:50
|
>You can also take pixfmt_alpha_blend_rgba, write a polymorphic wrapper for it >(with all overridden functions) and use it on the low level inside the >renderer: > >class AbstractPixFmt .... I think the above suggestion is the best since it would also help me when I need to support different types of gradients at run-time (and possibly with other things as well, we'll see). I've implemented it and it's working for what I have now - thanks for the reply. -- Eric Hielscher http://www.cs.wisc.edu/~hielsche |