Lines Matching refs:width
45 WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line) in WriteVerticalLine() argument
57 end_offset = (x + width) & 0x07; in WriteVerticalLine()
58 bwidth = (width + start_offset) / 8; in WriteVerticalLine()
68 while (pos < width) { in WriteVerticalLine()
70 while (pos < last && pos < width) in WriteVerticalLine()
126 for (planepos=0, pos=i; pos<width; planepos++, pos+=4) in WriteVerticalLine()
136 width = width * dst->PixelBytes; in WriteVerticalLine()
138 while (width > 0) { in WriteVerticalLine()
140 i = min(VGLAdpInfo.va_window_size - offset, width); in WriteVerticalLine()
144 width -= i; in WriteVerticalLine()
153 bcopy(line, address, width * dst->PixelBytes); in WriteVerticalLine()
162 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in __VGLBitmapCopy() argument
171 VGLMouseOverlap(dstx, dsty, width, hight)); in __VGLBitmapCopy()
173 buffer = alloca(width*src->PixelBytes); in __VGLBitmapCopy()
179 width=width+srcx; dstx-=srcx; srcx=0; in __VGLBitmapCopy()
185 width=width+dstx; srcx-=dstx; dstx=0; in __VGLBitmapCopy()
190 if (srcx+width > src->VXsize) in __VGLBitmapCopy()
191 width=src->VXsize-srcx; in __VGLBitmapCopy()
194 if (dstx+width > dst->VXsize) in __VGLBitmapCopy()
195 width=dst->VXsize-dstx; in __VGLBitmapCopy()
198 if (width < 0 || hight < 0) in __VGLBitmapCopy()
211 if (mousemerge && VGLMouseOverlap(dstx, dstline, width, 1)) { in __VGLBitmapCopy()
212 bcopy(p, buffer, width*src->PixelBytes); in __VGLBitmapCopy()
214 VGLMouseMerge(dstx, dstline, width, p); in __VGLBitmapCopy()
216 WriteVerticalLine(dst, dstx, dstline, width, p); in __VGLBitmapCopy()
223 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in VGLBitmapCopy() argument
235 __VGLBitmapCopy(src, srcx, srcy, &VGLVDisplay, dstx, dsty, width, hight); in VGLBitmapCopy()
237 width, hight); in VGLBitmapCopy()
245 error = __VGLBitmapCopy(src, srcx, srcy, dst, dstx, dsty, width, -hight); in VGLBitmapCopy()