Lines Matching refs:srcy
162 __VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, in __VGLBitmapCopy() argument
176 if (srcx>src->VXsize || srcy>src->VYsize in __VGLBitmapCopy()
182 if (srcy < 0) { in __VGLBitmapCopy()
183 hight=hight+srcy; dsty-=srcy; srcy=0; in __VGLBitmapCopy()
189 hight=hight+dsty; srcy-=dsty; dsty=0; in __VGLBitmapCopy()
193 if (srcy+hight > src->VYsize) in __VGLBitmapCopy()
194 hight=src->VYsize-srcy; in __VGLBitmapCopy()
201 yend = srcy + hight; in __VGLBitmapCopy()
204 if (src->Bitmap == dst->Bitmap && srcy < dsty) { in __VGLBitmapCopy()
205 yend = srcy - 1; in __VGLBitmapCopy()
209 for (srcline = srcy + yextra, dstline = dsty + yextra; srcline != yend; in __VGLBitmapCopy()
223 VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, in VGLBitmapCopy() argument
236 __VGLBitmapCopy(src, srcx, srcy, &VGLVDisplay, dstx, dsty, width, hight); in VGLBitmapCopy()
237 error = __VGLBitmapCopy(src, srcx, srcy, &VGLVDisplay, dstx, dsty, in VGLBitmapCopy()
243 srcy = dsty; in VGLBitmapCopy()
246 error = __VGLBitmapCopy(src, srcx, srcy, dst, dstx, dsty, width, -hight); in VGLBitmapCopy()