Lines Matching refs:srcRect
83 CGRect srcRect = CGRectMake(0, 0, m_width, m_height);
86 srcRect.origin.x = subrect->GetX();
87 srcRect.origin.y = subrect->GetY();
88 srcRect.size.width = subrect->GetWidth();
89 srcRect.size.height = subrect->GetHeight();
92 wxBitmap bmp = wxBitmap(srcRect.size.width, srcRect.size.height, 32);
102 srcRect = CGRectOffset( srcRect, -subrect->x, -subrect->y ) ;
104 CGImageRef image = grabViaOpenGL(kCGNullDirectDisplay, srcRect);
108 CGContextDrawImage(context, srcRect, image);