Lines Matching refs:source
781 wxDC *source, wxCoord xsrc, wxCoord ysrc, int logical_func , bool WXUNUSED(useMask),
785 wxCHECK_MSG( source->Ok(), false, wxT("wxGCDC(cg)::DoBlit - invalid source DC") );
802 wxRect subrect(source->LogicalToDeviceX(xsrc),
803 source->LogicalToDeviceY(ysrc),
804 source->LogicalToDeviceXRel(width),
805 source->LogicalToDeviceYRel(height));
807 // if needed clip the subrect down to the size of the source DC
809 source->GetSize(&sw, &sh);
810 sw = source->LogicalToDeviceXRel(sw);
811 sh = source->LogicalToDeviceYRel(sh);
817 wxBitmap blit = source->GetAsBitmap( &subrect );