GMSE Imaging
gmse.Imaging.gmseBitmap
Sub StretchBlt(hDC As Int32, DestX As Int32, DestY As Int32, DestWidth As Int32, DestHeight As Int32, SourceX As Int32, SourceY As Int32, SourceWidth As Int32, SourceHeight As Int32)
StretchBlt for use with Windows API.
Parameter
hDC
Device context.
DestX
Destination X.
DestY
Destination Y.
DestWidth
Destination Width.
DestHeight
Destination Height.
SourceX
Source X.
SourceY
Source Y.
SourceWidth
Source Width.
SourceHeight
Source Height.
Remarks
The graphics object of .NET does not support operations on 1bpp indexed Images. One solution is to convert the image to Format32bppArgb and then use the graphics object. Obviously this is slow. With StretchBlt you can use the Windows API to directly draw a 1bpp image to a device context (for example to print the image).