diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-03-09 12:58:57 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-03-09 12:58:57 +0000 |
commit | b7d5355f6fbc48366de2bd7a6793aa0b4cb64b19 (patch) | |
tree | 364608832a1f3ed1f55dff56c017e8af7c6d8ac1 /riscos/png.c | |
parent | 25a98ce2c02acedd7c9f9a74f8d894033f1aaecd (diff) | |
download | netsurf-b7d5355f6fbc48366de2bd7a6793aa0b4cb64b19.tar.gz netsurf-b7d5355f6fbc48366de2bd7a6793aa0b4cb64b19.tar.bz2 |
[project @ 2004-03-09 12:57:20 by rjw]
svn path=/import/netsurf/; revision=594
Diffstat (limited to 'riscos/png.c')
-rw-r--r-- | riscos/png.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/riscos/png.c b/riscos/png.c index 079c394e3..668c603a0 100644 --- a/riscos/png.c +++ b/riscos/png.c @@ -18,6 +18,7 @@ #include "netsurf/utils/config.h" #include "netsurf/content/content.h" #include "netsurf/riscos/png.h" +#include "netsurf/riscos/tinct.h" #include "netsurf/utils/log.h" #include "netsurf/utils/messages.h" #include "netsurf/utils/utils.h" @@ -380,6 +381,17 @@ void nspng_redraw(struct content *c, long x, long y, long clip_x0, long clip_y0, long clip_x1, long clip_y1, float scale) { + + /* Tinct currently only handles 32bpp sprites that have an embedded alpha mask. Any + sprites not matching the required specifications are ignored. See the Tinct + documentation for further information. + */ +/* _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7), + ((char *) c->data.png.sprite_area + c->data.png.sprite_area->first), + x, (int)(y - height), + width, height, + (options_filter_sprites?0:(1<<1)) | (options_dither_sprites?0:(1<<2))); +*/ int size; osspriteop_trans_tab *table; os_factors factors; |