Fix bbox issue when plotting lines.
Reinstate background colour rectangles (positioning's a bit off vertically)
svn path=/import/netsurf/; revision=1331
Rewrite such that it now uses plotters.
Things that need fixing:
- draw_plot_(line,rectangle) needs line pattern support (everything's solid
for now)
There's a couple of regressions, too:
- page background colour is lost (plotting a filled rectangle of colour
in draw_clg breaks some sites. This may require some sort of clipping)
- there's no grouping of objects any more (sorry joty). I'm not entirely
sure of the best way of going about this, as we no longer have box data.
svn path=/import/netsurf/; revision=1329
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.
svn path=/import/netsurf/; revision=1301
Fix jpeg redraw
Move png.c/h to /image and rework to use the bitmap code
Make RISC OS bitmap struct publically accessible (via riscos/bitmap.h)
Draw export now embeds JPEGs and PNGs/MNGs/JNGs correctly again.
Background images are now plotted correctly again.
svn path=/import/netsurf/; revision=1268
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken.
svn path=/import/netsurf/; revision=1265
Make content_redraw return a bool
Printing of foreground images now uses OS_SpriteOp
Printing of background images disabled
Mega-paranoid SWI result checking in htmlredraw.c
Rearranged GIF data structure slightly - updates to reflect this.
Other stuff I've probably forgotten
svn path=/import/netsurf/; revision=1208
Remove usage of OS JPEG module; convert all JPEGs to 32bpp and plot with Tinct; speed improvements and cleanup.
svn path=/import/netsurf/; revision=656
Check that we're actually dealing with a HTML page, just in case the
user is silly enough to try and save something else as draw.
svn path=/import/netsurf/; revision=555