/** Draw the picture onto the graphics context. @param aGc The graphics context. @param aTopLeft Coordinates of the top left corner pixel of the picture. @param aRect A clipping rectangle that defines the area to draw the picture. @param aDevice The device map for the graphics device. It provides the scaling to apply to the picture. @param aPicture The drawable object. @see CPicture::Draw */ EXPORT_C void MTmCustom::DrawPicture(CGraphicsContext& aGc, const TPoint& aTopLeft, const TRect& aRect, MGraphicsDeviceMap& aDevice, const CPicture& aPicture) const { aGc.SetClippingRect(aRect); aPicture.Draw(aGc, aTopLeft, aRect, &aDevice); }