summaryrefslogtreecommitdiffstats
path: root/src/image.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-07-09 19:45:37 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-07-09 19:45:37 (GMT)
commit56bc9bda61e06b9bd6da5aa58083e93a3b55a465 (patch)
tree2dbdf12fc6696bf3a9d133e8e23ef223690e919a /src/image.cpp
parentadb81f79061729efc28e71c1474c35e21283b049 (diff)
downloadDoxygen-56bc9bda61e06b9bd6da5aa58083e93a3b55a465.zip
Doxygen-56bc9bda61e06b9bd6da5aa58083e93a3b55a465.tar.gz
Doxygen-56bc9bda61e06b9bd6da5aa58083e93a3b55a465.tar.bz2
Release-1.1.5_20000709
Diffstat (limited to 'src/image.cpp')
-rw-r--r--src/image.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/image.cpp b/src/image.cpp
index 2b82bf5..17d89b4 100644
--- a/src/image.cpp
+++ b/src/image.cpp
@@ -310,11 +310,11 @@ void Image::drawRect(int x,int y,int w,int h,uchar colIndex,uint mask)
drawVertLine(x+w-1,y,y+h-1,colIndex,mask);
}
-void Image::fillRect(int x,int y,int width,int height,uchar colIndex,uint mask)
+void Image::fillRect(int x,int y,int lwidth,int lheight,uchar colIndex,uint mask)
{
int xp,yp,xi,yi;
- for (yp=y,yi=0;yp<y+height;yp++,yi++)
- for (xp=x,xi=0;xp<x+width;xp++,xi++)
+ for (yp=y,yi=0;yp<y+lheight;yp++,yi++)
+ for (xp=x,xi=0;xp<x+lwidth;xp++,xi++)
if (mask&(1<<((xi+yi)&0x1f)))
setPixel(xp,yp,colIndex);
}