Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: plugin Api

Re: plugin Api

From: mat holton <mat_at_lessermatters.co.uk>
Date: Fri, 15 Sep 2006 09:33:21 +0100

x' = x*x + y*y
x' = x*x - y*y

Or something like that, springs to mind. But I could be very wrong.
Failing that, try bresenhams circle drawing algorithgm - that's a good 'un.

I reckon, it would be cool to stick functions like this in a library for
future use...

Dan Everton wrote:
> David . wrote:
>> Dumb question, but is it possible to draw a circle in a plugin?
>
> There's no circle drawing function available from the plugin API. But
> you could probably just nick the code from rockpaint's draw_oval
> function. Or write your own circle drawing function, they're not that
> hard.
>
> Dan
>
>
>
>
Received on 2006-09-15


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa