I have to ask, as someone who's done a lot of custom drawing code
recently and knows how hard it is to make it well... how hard would it
be to just port Cairo?
Simon
On 03/17/2015 02:40 PM, Mason wrote:
> Err, I'm not very good with some aspects of math, so I pretty much
> just googled for and algorithm to compute a circle, line and filled
> circle, and just adapted them for BareMetal OS.
> If you have any links to better algorithms, please send them to me and
> I'll have a look at them.
>
> On Tuesday, March 17, 2015 at 2:23:22 PM UTC-4, 42Bastian wrote:
>
> Mason
>
> > If you're interested, feel free to check it out :)
> >
https://github.com/ohnx/libDraw <
https://github.com/ohnx/libDraw>
>
> I wonder, why do you use floating point math. For the primitives
> exist
> Bresenham algos which are surely faster.
>
> (Again it is bad that the GFX chips vendors do not provide open
> documents.)
>
> --
> 42Bastian
>
> --
> You received this message because you are subscribed to the Google
> Groups "BareMetal OS" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
baremetal-os...@googlegroups.com
> <mailto:
baremetal-os...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.