Thanks Nikita for your support.

I wonder FillPoly(Drawable d, GC gc, int count, POINT_f* pointtable) is using the DirectFB Surface.
Do I need to modify the source code for surfaces.
How do actually to use the Api if I want to draw a polygon on a IDirectFBSurafce ?

Plz help.

Regards,
Ujjal

----- Original Message ----- From: "Nikita Egorov" <nik...@gmail.com>
To: "Ujjal Saha" <ujjals...@tataelxsi.co.in>
Cc: <directfb-dev@directfb.org>
Sent: Tuesday, April 28, 2009 12:15 PM
Subject: Re: [directfb-dev] DirectFB Api to Draw Polygon


Is there any DirectFB Api to draw Polygon [Irregular shapes] and Fill the
polygon with color.

Hi, have a look onto my improved sources from NanoX to draw the
complex polygons via DirectFB API. I hope it will help.

http://git.directfb.org/?p=ports/FLTK_1.x-DirectFB.git;a=blob;f=src/_arcpoly.cxx;h=89b2bac1cfd381d9f557d76327243397305e488d;hb=HEAD


--
Best Regards
Nikita Egorov
nik...@gmail.com
nik...@varma-el.com

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to