Hi,

Roberto A. Foglietta <[EMAIL PROTECTED]> writes:

>  is there any way to draw a circle or an ellipse with a single
>  DirectFB function call?  For example surface->FillCircle? I've
>  looked for it into the API references but I haven't found nothing

no there isn't. We'd like to add this functionality at one point but
it's not sure whether this should be a core function or live in an
additional library (that would provide other complex drawing
operations as well).

With the current API you have to lock the surface and draw the ellipse
yourself. Or, if you can get away with a fixed size, you could include
an appropriate image as an A8 surface. DFBSee does this to render it's
user interface. The latest version makes use of directfb-csource, a
tool that creates header files from PNG images.


Salut, Sven


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to