public BOOL MaskBlt(RECT destRect, HDc source, int srcX, int srcY, HBitmap mask, int maskX, int maskY) { System.Drawing.Rectangle d = destRect; return(Gdi.MaskBlt(this, d.X, d.Y, d.Width, d.Height, source, srcX, srcY, mask, maskX, maskY, (RasterOperation)(0xCCAA0020))); }
public void SelectBitmap(HBitmap bitmap, out HBitmap replacedBitmap) { replacedBitmap = Gdi.SelectObject(this, bitmap).AsHBitmap(); }
public BOOL MaskBlt(int destX, int destY, int width, int height, HDc source, int srcX, int srcY, HBitmap mask, int maskX, int maskY, Windows.Enum.RasterOperation foreblend, Windows.Enum.RasterOperation backblend) { return(Gdi.MaskBlt(this, destX, destY, width, height, source, srcX, srcY, mask, maskX, maskY, Gdi.CombineForMskBlt(foreblend, backblend))); }