public IRenderTargetBitmapImpl CreateLayer(Size size) { return(D2DRenderTargetBitmapImpl.CreateCompatible( WicFactory, DirectWriteFactory, _renderTarget, size)); }
public IDrawingContextLayerImpl CreateLayer(Size size) { if (_deviceContext == null) { CreateDeviceContext(); } return(D2DRenderTargetBitmapImpl.CreateCompatible(_deviceContext, size)); }
public IRenderTargetBitmapImpl CreateLayer(Size size) { var target = _externalRenderTargetProvider.GetOrCreateRenderTarget(); return(D2DRenderTargetBitmapImpl.CreateCompatible( _wicFactory, _dwFactory, target, size)); }
public IRenderTargetBitmapImpl CreateLayer(Size size) { if (_deviceContext == null) { CreateSwapChain(); } return(D2DRenderTargetBitmapImpl.CreateCompatible( WicImagingFactory, DirectWriteFactory, _deviceContext, size)); }
public static void Save(SharpDX.Direct2D1.BitmapRenderTarget bitmap, string filename) { var rtb = new D2DRenderTargetBitmapImpl(bitmap); rtb.Save(filename); }
public IDrawingContextLayerImpl CreateLayer(Size size) { return(D2DRenderTargetBitmapImpl.CreateCompatible(_renderTarget, size)); }
public IDrawingContextLayerImpl CreateLayer(Size size) { var renderTarget = _externalRenderTargetProvider.GetOrCreateRenderTarget(); return D2DRenderTargetBitmapImpl.CreateCompatible(renderTarget, size); }