directx.d2d1_1

Undocumented in source.

Public Imports

directx.com
public import directx.com;
directx.d2d1
public import directx.d2d1;
directx.d2d1effects
public import directx.d2d1effects;
directx.dxgi
public import directx.dxgi;
directx.dwrite
public import directx.dwrite, directx.wincodec;
directx.wincodec
public import directx.dwrite, directx.wincodec;

Members

Aliases

D2D1_BITMAP_OPTIONS
alias D2D1_BITMAP_OPTIONS = uint

<summary> Specifies how the bitmap can be used. </summary>

D2D1_BUFFER_PRECISION
alias D2D1_BUFFER_PRECISION = uint

<summary> This specifies the precision that should be used in buffers allocated by D2D. </summary>

D2D1_COLOR_INTERPOLATION_MODE
alias D2D1_COLOR_INTERPOLATION_MODE = uint

<summary> This specifies how colors are interpolated. </summary>

D2D1_COLOR_SPACE
alias D2D1_COLOR_SPACE = uint

<summary> Defines a color space. </summary>

D2D1_COMPOSITE_MODE
alias D2D1_COMPOSITE_MODE = uint

<summary> Specifies the composite mode that will be applied. </summary>

D2D1_DEVICE_CONTEXT_OPTIONS
alias D2D1_DEVICE_CONTEXT_OPTIONS = uint

<summary> This specifies options that apply to the device context for its lifetime. </summary>

D2D1_INTERPOLATION_MODE
alias D2D1_INTERPOLATION_MODE = uint

<summary> This is used to specify the quality of image scaling with ID2D1DeviceContext::DrawImage and with the 2D Affine Transform Effect. </summary>

D2D1_LAYER_OPTIONS1
alias D2D1_LAYER_OPTIONS1 = uint

<summary> Specifies how the layer contents should be prepared. </summary>

D2D1_MAP_OPTIONS
alias D2D1_MAP_OPTIONS = uint

<summary> This describes how the individual mapping operation should be performed. </summary>

D2D1_MATRIX_4X3_F
alias D2D1_MATRIX_4X3_F = D2D_MATRIX_4X3_F
Undocumented in source.
D2D1_MATRIX_4X4_F
alias D2D1_MATRIX_4X4_F = D2D_MATRIX_4X4_F
Undocumented in source.
D2D1_MATRIX_5X4_F
alias D2D1_MATRIX_5X4_F = D2D_MATRIX_5X4_F
Undocumented in source.
D2D1_POINT_2L
alias D2D1_POINT_2L = D2D_POINT_2L
Undocumented in source.
D2D1_PRIMITIVE_BLEND
alias D2D1_PRIMITIVE_BLEND = uint

<summary> A blend mode that applies to all primitives drawn on the context. </summary>

D2D1_PRINT_FONT_SUBSET_MODE
alias D2D1_PRINT_FONT_SUBSET_MODE = uint

<summary> Defines when font resources should be subset during printing. </summary>

D2D1_PROPERTY
alias D2D1_PROPERTY = uint

<summary> This defines the list of system properties present on the root effect property interface. </summary>

D2D1_PROPERTY_TYPE
alias D2D1_PROPERTY_TYPE = uint

<summary> This defines the valid property types that can be used in an effect property interface. </summary>

D2D1_RECT_L
alias D2D1_RECT_L = D2D_RECT_L
Undocumented in source.
D2D1_STROKE_TRANSFORM_TYPE
alias D2D1_STROKE_TRANSFORM_TYPE = uint

<summary> Defines how the world transform, dots per inch (dpi), and stroke width affect the shape of the pen used to stroke a primitive. </summary>

D2D1_SUBPROPERTY
alias D2D1_SUBPROPERTY = uint

<summary> This defines the indices of sub-properties that may be present on any parent property. </summary>

D2D1_THREADING_MODE
alias D2D1_THREADING_MODE = uint

<summary> This specifies the threading mode used while simultaneously creating the device, factory, and device context. </summary>

D2D1_UNIT_MODE
alias D2D1_UNIT_MODE = uint

<summary> This specifies what units should be accepted by the D2D API. </summary>

D2D1_VECTOR_2F
alias D2D1_VECTOR_2F = D2D_VECTOR_2F
Undocumented in source.
D2D1_VECTOR_3F
alias D2D1_VECTOR_3F = D2D_VECTOR_3F
Undocumented in source.
D2D1_VECTOR_4F
alias D2D1_VECTOR_4F = D2D_VECTOR_4F
Undocumented in source.
PD2D1_EFFECT_FACTORY
alias PD2D1_EFFECT_FACTORY = HRESULT function(IUnknown* effectImpl)

<summary> Function pointer to construct a new effect once registered. </summary>

Enums

D2D1_BITMAP_OPTIONS_NONE
anonymousenum D2D1_BITMAP_OPTIONS_NONE
Undocumented in source.
D2D1_BUFFER_PRECISION_UNKNOWN
anonymousenum D2D1_BUFFER_PRECISION_UNKNOWN
Undocumented in source.
D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT
anonymousenum D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT
Undocumented in source.
D2D1_COLOR_SPACE_CUSTOM
anonymousenum D2D1_COLOR_SPACE_CUSTOM
Undocumented in source.
D2D1_COMPOSITE_MODE_SOURCE_OVER
anonymousenum D2D1_COMPOSITE_MODE_SOURCE_OVER
Undocumented in source.
D2D1_DEVICE_CONTEXT_OPTIONS_NONE
anonymousenum D2D1_DEVICE_CONTEXT_OPTIONS_NONE
Undocumented in source.
D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR
anonymousenum D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR
Undocumented in source.
D2D1_LAYER_OPTIONS1_NONE
anonymousenum D2D1_LAYER_OPTIONS1_NONE
Undocumented in source.
D2D1_MAP_OPTIONS_NONE
anonymousenum D2D1_MAP_OPTIONS_NONE
Undocumented in source.
D2D1_PRIMITIVE_BLEND_SOURCE_OVER
anonymousenum D2D1_PRIMITIVE_BLEND_SOURCE_OVER
Undocumented in source.
D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT
anonymousenum D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT
Undocumented in source.
D2D1_PROPERTY_CLSID
anonymousenum D2D1_PROPERTY_CLSID
Undocumented in source.
D2D1_PROPERTY_TYPE_UNKNOWN
anonymousenum D2D1_PROPERTY_TYPE_UNKNOWN
Undocumented in source.
D2D1_STROKE_TRANSFORM_TYPE_NORMAL
anonymousenum D2D1_STROKE_TRANSFORM_TYPE_NORMAL
Undocumented in source.
D2D1_SUBPROPERTY_DISPLAYNAME
anonymousenum D2D1_SUBPROPERTY_DISPLAYNAME
Undocumented in source.
D2D1_THREADING_MODE_SINGLE_THREADED
anonymousenum D2D1_THREADING_MODE_SINGLE_THREADED
Undocumented in source.
D2D1_UNIT_MODE_DIPS
anonymousenum D2D1_UNIT_MODE_DIPS
Undocumented in source.

Functions

D2D1ConvertColorSpace
D2D1_COLOR_F D2D1ConvertColorSpace(D2D1_COLOR_SPACE sourceColorSpace, D2D1_COLOR_SPACE destinationColorSpace, const(D2D1_COLOR_F)* color)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D2D1CreateDevice
HRESULT D2D1CreateDevice(IDXGIDevice dxgiDevice, const(D2D1_CREATION_PROPERTIES)* creationProperties, ID2D1Device* d2dDevice)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D2D1CreateDevice
HRESULT D2D1CreateDevice(IDXGIDevice dxgiDevice, D2D1_CREATION_PROPERTIES creationProperties, ID2D1Device d2dDevice)
Undocumented in source. Be warned that the author may not have intended to support it.
D2D1CreateDeviceContext
HRESULT D2D1CreateDeviceContext(IDXGISurface dxgiSurface, const(D2D1_CREATION_PROPERTIES)* creationProperties, ID2D1DeviceContext* d2dDeviceContext)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D2D1CreateDeviceContext
HRESULT D2D1CreateDeviceContext(IDXGISurface dxgiSurface, D2D1_CREATION_PROPERTIES creationProperties, ID2D1DeviceContext d2dDeviceContext)
Undocumented in source. Be warned that the author may not have intended to support it.
D2D1SinCos
void D2D1SinCos(FLOAT angle, FLOAT* s, FLOAT* c)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D2D1Tan
FLOAT D2D1Tan(FLOAT angle)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D2D1Vec3Length
FLOAT D2D1Vec3Length(FLOAT x, FLOAT y, FLOAT z)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Interfaces

ID2D1Bitmap1
interface ID2D1Bitmap1

<summary> Represents a bitmap that can be used as a surface for an ID2D1DeviceContext or mapped into system memory, and can contain additional color context information. </summary>

ID2D1BitmapBrush1
interface ID2D1BitmapBrush1

<summary> A bitmap brush allows a bitmap to be used to fill a geometry. Interpolation mode is specified with D2D1_INTERPOLATION_MODE </summary>

ID2D1ColorContext
interface ID2D1ColorContext

<summary> Represents a color context that can be used with an ID2D1Bitmap1 object. </summary>

ID2D1CommandList
interface ID2D1CommandList

<summary> The commandList interface. </summary>

ID2D1CommandSink
interface ID2D1CommandSink

<summary> Caller-supplied implementation of an interface to receive the recorded command list. </summary>

ID2D1Device
interface ID2D1Device

<summary> The device defines a resource domain whose objects and device contexts can be used together. </summary>

ID2D1DeviceContext
interface ID2D1DeviceContext

<summary> The device context represents a set of state and a command buffer that is used to render to a target bitmap. </summary>

ID2D1DrawingStateBlock1
interface ID2D1DrawingStateBlock1

<summary> Represents drawing state. </summary>

ID2D1Effect
interface ID2D1Effect

<summary> The effect interface. Properties control how the effect is rendered. The effect is Drawn with the DrawImage call. </summary>

ID2D1Factory1
interface ID2D1Factory1

<summary> Creates Direct2D resources. </summary>

ID2D1GdiMetafile
interface ID2D1GdiMetafile

<summary> Interface encapsulating a GDI/GDI+ metafile. </summary>

ID2D1GdiMetafileSink
interface ID2D1GdiMetafileSink

<summary> User-implementable interface for introspecting on a metafile. </summary>

ID2D1GradientStopCollection1
interface ID2D1GradientStopCollection1

<summary> Represents an collection of gradient stops that can then be the source resource for either a linear or radial gradient brush. </summary>

ID2D1ImageBrush
interface ID2D1ImageBrush

<summary> Provides a brush that can take any effect, command list or bitmap and use it to fill a 2D shape. </summary>

ID2D1Multithread
interface ID2D1Multithread

<summary> A locking mechanism from a Direct2D factory that Direct2D uses to control exclusive resource access in an app that is uses multiple threads. </summary>

ID2D1PathGeometry1
interface ID2D1PathGeometry1

<summary> The ID2D1PathGeometry1 interface adds functionality to ID2D1PathGeometry. In particular, it provides the path geometry-specific ComputePointAndSegmentAtLength method. </summary>

ID2D1PrintControl
interface ID2D1PrintControl

<summary> Converts Direct2D primitives stored in an ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives. </summary>

ID2D1Properties
interface ID2D1Properties

<summary> Represents a set of run-time bindable and discoverable properties that allow a data-driven application to modify the state of a Direct2D effect. </summary>

ID2D1StrokeStyle1
interface ID2D1StrokeStyle1

<summary> Extends a stroke style to allow nominal width strokes. </summary>

Manifest constants

D2D1_INVALID_PROPERTY_INDEX
enum D2D1_INVALID_PROPERTY_INDEX;
Undocumented in source.

Structs

D2D1_BITMAP_BRUSH_PROPERTIES1
struct D2D1_BITMAP_BRUSH_PROPERTIES1

<summary> Describes the extend modes and the interpolation mode of an ID2D1BitmapBrush. </summary>

D2D1_BITMAP_PROPERTIES1
struct D2D1_BITMAP_PROPERTIES1

<summary> Extended bitmap properties. </summary>

D2D1_CREATION_PROPERTIES
struct D2D1_CREATION_PROPERTIES

<summary> This specifies the options while simultaneously creating the device, factory, and device context. </summary>

D2D1_DRAWING_STATE_DESCRIPTION1
struct D2D1_DRAWING_STATE_DESCRIPTION1

<summary> This describes the drawing state. </summary>

D2D1_EFFECT_INPUT_DESCRIPTION
struct D2D1_EFFECT_INPUT_DESCRIPTION

<summary> This identifies a certain input connection of a certain effect. </summary>

D2D1_IMAGE_BRUSH_PROPERTIES
struct D2D1_IMAGE_BRUSH_PROPERTIES

<summary> Creation properties for an image brush. </summary>

D2D1_LAYER_PARAMETERS1
struct D2D1_LAYER_PARAMETERS1

<summary> All parameters related to pushing a layer. </summary>

D2D1_MAPPED_RECT
struct D2D1_MAPPED_RECT

<summary> Describes mapped memory from the ID2D1Bitmap1::Map API. </summary>

D2D1_POINT_DESCRIPTION
struct D2D1_POINT_DESCRIPTION

<summary> Describes a point along a path. </summary>

D2D1_PRINT_CONTROL_PROPERTIES
struct D2D1_PRINT_CONTROL_PROPERTIES

<summary> The creation properties for a ID2D1PrintControl object. </summary>

D2D1_RENDERING_CONTROLS
struct D2D1_RENDERING_CONTROLS

<summary> This controls advanced settings of the Direct2D imaging pipeline. </summary>

D2D1_STROKE_STYLE_PROPERTIES1
struct D2D1_STROKE_STYLE_PROPERTIES1

<summary> This defines how geometries should be drawn and widened. </summary>

Meta