public void DrawBitmap(D2DBitmap bitmap, D2DRect destRect, FLOAT opacity = 1, D2DBitmapInterpolationMode interpolationMode = D2DBitmapInterpolationMode.Linear) { var srcRect = new D2DRect(0, 0, bitmap.Width, bitmap.Height); this.DrawBitmap(bitmap, destRect, srcRect, opacity, interpolationMode); }
public void BeginRender(D2DBitmap bitmap) { D2D.BeginRenderWithBackgroundBitmap(this.Handle, bitmap.Handle); }
public void DrawBitmap(D2DBitmap bitmap, D2DRect destRect, D2DRect srcRect, FLOAT opacity = 1, D2DBitmapInterpolationMode interpolationMode = D2DBitmapInterpolationMode.Linear) { D2D.DrawD2DBitmap(this.Handle, bitmap.Handle, ref destRect, ref srcRect, opacity, interpolationMode); }