[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Bit-Depth and Graphics stuff....
On 07/07/2010 06:33 PM, m0n0 wrote:
> Generally it's so that netsurf requires each port to fill in an plotter
> struct with function pointers to methods like:
> draw_circle,
> draw_line,
> draw_bitmap
> draw_text
> etc...
You "only" need to write wrappers around VDI calls. The only problem
would be the bitmaps, where you would have to write the
generic-to-screen transformation routines yourself in truecolour modes.
In 8 bit and less you only need to transform the bitmaps to the standard
VDI format and let the VDI transform them to screen format.
Jo Even