Lines Matching refs:subrect
802 wxRect subrect(source->LogicalToDeviceX(xsrc),
807 // if needed clip the subrect down to the size of the source DC
812 if (subrect.x + subrect.width > sw)
813 subrect.width = sw - subrect.x;
814 if (subrect.y + subrect.height > sh)
815 subrect.height = sh - subrect.y;
817 wxBitmap blit = source->GetAsBitmap( &subrect );