summaryrefslogtreecommitdiffstats
path: root/src/image.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-09 19:45:37 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-09 19:45:37 (GMT)
commit61a83f312ce95090dc02ca3b8ce8dd3319d97df1 (patch)
tree2dbdf12fc6696bf3a9d133e8e23ef223690e919a /src/image.cpp
parente3baf8c5ec430e5f09f00384ebdfa35242fd3316 (diff)
downloadDoxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.zip
Doxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.tar.gz
Doxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.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);
}