summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ce3c2a)
raw | patch | inline | side by side (parent: 3ce3c2a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 7 May 2005 23:26:30 +0000 (23:26 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 7 May 2005 23:26:30 +0000 (23:26 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@506 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/art_rgba_rgba_affine.c | patch | blob | history | |
src/art_rgba_rgba_affine.h | patch | blob | history |
index b6e6f48324a5557938224e84612aebd5635bf174..44e5385b128eb5ea015ed46c88f82b61734bd27c 100644 (file)
**/
void
gnome_print_art_rgba_rgba_affine (art_u8 *dst,
- int x0, int y0, int x1, int y1, int dst_rowstride,
+ int libart_x0, int libart_y0, int libart_x1, int libart_y1, int dst_rowstride,
const art_u8 *src,
int src_width, int src_height, int src_rowstride,
const double affine[6],
dst_linestart = dst;
art_affine_invert (inv, affine);
- for (y = y0; y < y1; y++)
+ for (y = libart_y0; y < libart_y1; y++)
{
pt.y = y + 0.5;
- run_x0 = x0;
- run_x1 = x1;
+ run_x0 = libart_x0;
+ run_x1 = libart_x1;
art_rgb_affine_run (&run_x0, &run_x1, y, src_width, src_height,
inv);
- dst_p = dst_linestart + (run_x0 - x0) * 4;
+ dst_p = dst_linestart + (run_x0 - libart_x0) * 4;
for (x = run_x0; x < run_x1; x++)
{
pt.x = x + 0.5;
index 3afc120d70ccebcfab5edf3aa7a1359cf0f68eea..3091414481a4bb800a762bd39748564fbf23d0a2 100644 (file)
**/
void
gnome_print_art_rgba_rgba_affine (art_u8 *dst,
- int x0, int y0, int x1, int y1, int dst_rowstride,
+ int libart_x0, int libart_y0, int libart_x1, int libart_y1, int dst_rowstride,
const art_u8 *src,
int src_width, int src_height, int src_rowstride,
const double affine[6],