예제 #1
0
 public static extern BOOL ReleaseDC(HWnd window, HDc dc);
예제 #2
0
파일: HDc.cs 프로젝트: snarfblam/editroid
 public BOOL BitBlt(RECT destRect, HDc source, int srcX, int srcY)
 {
     System.Drawing.Rectangle r = destRect;
     return(BitBlt(r.X, r.Y, r.Width, r.Height, source, srcX, srcY, RasterOperation.SourceCopy));
 }
예제 #3
0
파일: HDc.cs 프로젝트: snarfblam/editroid
 public BOOL BitBlt(int x, int y, int width, int height, HDc source, int srcX, int srcY)
 {
     return(Gdi.BitBlt(this, x, y, width, height, source, srcX, srcY, RasterOperation.SourceCopy));
 }
예제 #4
0
파일: HDc.cs 프로젝트: snarfblam/editroid
 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)));
 }
예제 #5
0
파일: HDc.cs 프로젝트: snarfblam/editroid
 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)));
 }
예제 #6
0
파일: HDc.cs 프로젝트: snarfblam/editroid
 public BOOL StretchBlt(int x, int y, int width, int height, HDc source, int srcX, int srcY, int srcWidth, int srcHeight)
 {
     return(Gdi.StretchBlt(this, x, y, width, height, source, srcX, srcY, srcWidth, srcHeight, RasterOperation.SourceCopy));
 }
예제 #7
0
파일: HDc.cs 프로젝트: snarfblam/editroid
 public BOOL StretchBlt(RECT destRect, HDc source, int srcX, int srcY)
 {
     System.Drawing.Rectangle d = destRect;
     System.Drawing.Rectangle s = destRect;
     return(StretchBlt(d.X, d.Y, d.Width, d.Height, source, s.X, s.Y, s.Width, s.Height, RasterOperation.SourceCopy));
 }
예제 #8
0
파일: HDc.cs 프로젝트: snarfblam/editroid
 public BOOL StretchBlt(RECT destRect, HDc source, RECT srcRect, RasterOperation blend)
 {
     System.Drawing.Rectangle d = destRect;
     System.Drawing.Rectangle s = destRect;
     return(StretchBlt(d.X, d.Y, d.Width, d.Height, source, s.X, s.Y, s.Width, s.Height, blend));
 }