Lines Matching refs:width
48 WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line) in WriteVerticalLine() argument
60 end_offset = (x + width) & 0x07; in WriteVerticalLine()
61 bwidth = (width + start_offset) / 8; in WriteVerticalLine()
71 while (pos < width) { in WriteVerticalLine()
73 while (pos < last && pos < width) in WriteVerticalLine()
129 for (planepos=0, pos=i; pos<width; planepos++, pos+=4) in WriteVerticalLine()
139 width = width * dst->PixelBytes; in WriteVerticalLine()
141 while (width > 0) { in WriteVerticalLine()
143 i = min(VGLAdpInfo.va_window_size - offset, width); in WriteVerticalLine()
147 width -= i; in WriteVerticalLine()
156 bcopy(line, address, width * dst->PixelBytes); in WriteVerticalLine()
165 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in __VGLBitmapCopy() argument
174 VGLMouseOverlap(dstx, dsty, width, hight)); in __VGLBitmapCopy()
176 buffer = alloca(width*src->PixelBytes); in __VGLBitmapCopy()
182 width=width+srcx; dstx-=srcx; srcx=0; in __VGLBitmapCopy()
188 width=width+dstx; srcx-=dstx; dstx=0; in __VGLBitmapCopy()
193 if (srcx+width > src->VXsize) in __VGLBitmapCopy()
194 width=src->VXsize-srcx; in __VGLBitmapCopy()
197 if (dstx+width > dst->VXsize) in __VGLBitmapCopy()
198 width=dst->VXsize-dstx; in __VGLBitmapCopy()
201 if (width < 0 || hight < 0) in __VGLBitmapCopy()
214 if (mousemerge && VGLMouseOverlap(dstx, dstline, width, 1)) { in __VGLBitmapCopy()
215 bcopy(p, buffer, width*src->PixelBytes); in __VGLBitmapCopy()
217 VGLMouseMerge(dstx, dstline, width, p); in __VGLBitmapCopy()
219 WriteVerticalLine(dst, dstx, dstline, width, p); in __VGLBitmapCopy()
226 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in VGLBitmapCopy() argument
238 __VGLBitmapCopy(src, srcx, srcy, &VGLVDisplay, dstx, dsty, width, hight); in VGLBitmapCopy()
240 width, hight); in VGLBitmapCopy()
248 error = __VGLBitmapCopy(src, srcx, srcy, dst, dstx, dsty, width, -hight); in VGLBitmapCopy()