Creates a render target that draws to a Windows Graphics Device Interface (GDI) device context.
シンタックス
パラメータ
- factory
- an instance of Factory
- properties
- The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering. To enable the device context (DC) render target to work with GDI, set the DXGI format to C1.Util.DX.DXGI.Format.B8G8R8A8_UNormand the alpha mode to AlphaMode.Premultipliedor D2D1_ALPHA_MODE_IGNORE. For more information about pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.
参照