standardoreo.blogg.se

Stretchblt vs copyimage
Stretchblt vs copyimage




stretchblt vs copyimage stretchblt vs copyimage

The stretching mode defines how the system combines rows or columns of a bitmap with existing pixels on a display device when an application calls the StretchBlt function. One or more of the input parameters is invalid. This function can return the following value. If the function fails, the return value is zero. If the function succeeds, the return value is the previous stretching mode. If the bitmap is a monochrome bitmap, this mode preserves white pixels at the expense of black pixels. Performs a Boolean OR operation using the color values for the eliminated and existing pixels. If it fails to do so, brush misalignment occurs. The average color over the destination block of pixels approximates the color of the source pixels.Īfter setting the HALFTONE stretching mode, an application must call the SetBrushOrgEx function to set the brush origin. Maps pixels from the source rectangle into blocks of pixels in the destination rectangle. This mode deletes all eliminated lines of pixels without trying to preserve their information. If the bitmap is a monochrome bitmap, this mode preserves black pixels at the expense of white pixels.ĭeletes the pixels. Performs a Boolean AND operation using the color values for the eliminated and existing pixels. This parameter can be one of the following values.

stretchblt vs copyimage

The SetStretchBltMode function sets the bitmap stretching mode in the specified device context.






Stretchblt vs copyimage