Lines Matching refs:width
46 WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line) in WriteVerticalLine() argument
58 end_offset = (x + width) & 0x07; in WriteVerticalLine()
59 bwidth = (width + start_offset) / 8; in WriteVerticalLine()
69 while (pos < width) { in WriteVerticalLine()
71 while (pos < last && pos < width) in WriteVerticalLine()
127 for (planepos=0, pos=i; pos<width; planepos++, pos+=4) in WriteVerticalLine()
137 width = width * dst->PixelBytes; in WriteVerticalLine()
139 while (width > 0) { in WriteVerticalLine()
141 i = min(VGLAdpInfo.va_window_size - offset, width); in WriteVerticalLine()
145 width -= i; in WriteVerticalLine()
154 bcopy(line, address, width * dst->PixelBytes); in WriteVerticalLine()
163 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in __VGLBitmapCopy() argument
172 VGLMouseOverlap(dstx, dsty, width, hight)); in __VGLBitmapCopy()
174 buffer = alloca(width*src->PixelBytes); in __VGLBitmapCopy()
180 width=width+srcx; dstx-=srcx; srcx=0; in __VGLBitmapCopy()
186 width=width+dstx; srcx-=dstx; dstx=0; in __VGLBitmapCopy()
191 if (srcx+width > src->VXsize) in __VGLBitmapCopy()
192 width=src->VXsize-srcx; in __VGLBitmapCopy()
195 if (dstx+width > dst->VXsize) in __VGLBitmapCopy()
196 width=dst->VXsize-dstx; in __VGLBitmapCopy()
199 if (width < 0 || hight < 0) in __VGLBitmapCopy()
212 if (mousemerge && VGLMouseOverlap(dstx, dstline, width, 1)) { in __VGLBitmapCopy()
213 bcopy(p, buffer, width*src->PixelBytes); in __VGLBitmapCopy()
215 VGLMouseMerge(dstx, dstline, width, p); in __VGLBitmapCopy()
217 WriteVerticalLine(dst, dstx, dstline, width, p); in __VGLBitmapCopy()
224 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in VGLBitmapCopy() argument
236 __VGLBitmapCopy(src, srcx, srcy, &VGLVDisplay, dstx, dsty, width, hight); in VGLBitmapCopy()
238 width, hight); in VGLBitmapCopy()
246 error = __VGLBitmapCopy(src, srcx, srcy, dst, dstx, dsty, width, -hight); in VGLBitmapCopy()