예제 #1
0
 public void DrawBitmap(D2DBitmapGraphics bg, FLOAT width, FLOAT height, FLOAT opacity = 1,
                        D2DBitmapInterpolationMode interpolationMode = D2DBitmapInterpolationMode.Linear)
 {
     this.DrawBitmap(bg, new D2DRect(0, 0, width, height), opacity, interpolationMode);
 }
예제 #2
0
 public void DrawBitmap(D2DBitmapGraphics bg, D2DRect rect, FLOAT opacity = 1,
                        D2DBitmapInterpolationMode interpolationMode      = D2DBitmapInterpolationMode.Linear)
 {
     D2D.DrawBitmapRenderTarget(this.Handle, bg.Handle, ref rect, opacity, interpolationMode);
 }