bool SetPixels(const Rect<SInt32>& destRect, DIPixelProvider& provider);
SetPixels fills in the destgination with pixels. Returns false in case of a bounds error; or the buffer does not contain enough pixels to fill the rectangle. It does fill as many pixels as possible in the second case.
Parameters |
Description |
const Rect<SInt32>& destRect |
Specifies the rectangular region of the BitmapData object. |
DIPixelProvider& provider |
The object which will provide pixel values. |
Set to false if the provider did not contain enough pixels to fill the rectangle.