Exemplo n.º 1
0
        public D2DBitmapGraphics CreateBitmapGraphics(D2DSize size)
        {
            HANDLE bitmapRenderTargetHandle = D2D.CreateBitmapRenderTarget(this.Handle, size);

            return(bitmapRenderTargetHandle == HANDLE.Zero ? null
                                : new D2DBitmapGraphics(bitmapRenderTargetHandle));
        }