D2D1

Undocumented in source.
version(Windows)
struct D2D1 {}

Members

Static functions

ArcSegment
D2D1_ARC_SEGMENT ArcSegment(const(D2D1_POINT_2F) point, const(D2D1_SIZE_F) size, FLOAT rotationAngle, const(D2D1_SWEEP_DIRECTION) sweepDirection, const(D2D1_ARC_SIZE) arcSize)
Undocumented in source. Be warned that the author may not have intended to support it.
BezierSegment
D2D1_BEZIER_SEGMENT BezierSegment(const(D2D1_POINT_2F) point1, const(D2D1_POINT_2F) point2, const(D2D1_POINT_2F) point3)
Undocumented in source. Be warned that the author may not have intended to support it.
BitmapBrushProperties
D2D1_BITMAP_BRUSH_PROPERTIES BitmapBrushProperties(D2D1_EXTEND_MODE extendModeX, D2D1_EXTEND_MODE extendModeY, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode)
Undocumented in source. Be warned that the author may not have intended to support it.
BitmapProperties
D2D1_BITMAP_PROPERTIES BitmapProperties(D2D1_PIXEL_FORMAT pixelFormat, FLOAT dpiX, FLOAT dpiY)
Undocumented in source. Be warned that the author may not have intended to support it.
BrushProperties
D2D1_BRUSH_PROPERTIES BrushProperties(FLOAT opacity, D2D1_MATRIX_3X2_F transform)
Undocumented in source. Be warned that the author may not have intended to support it.
DrawingStateDescription
D2D1_DRAWING_STATE_DESCRIPTION DrawingStateDescription(D2D1_ANTIALIAS_MODE antialiasMode, D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode, D2D1_TAG tag1, D2D1_TAG tag2, D2D1_MATRIX_3X2_F transform)
Undocumented in source. Be warned that the author may not have intended to support it.
Ellipse
D2D1_ELLIPSE Ellipse(D2D1_POINT_2F center, FLOAT radiusX, FLOAT radiusY)
Undocumented in source. Be warned that the author may not have intended to support it.
FloatMax
FLOAT FloatMax()
Undocumented in source. Be warned that the author may not have intended to support it.
GradientStop
D2D1_GRADIENT_STOP GradientStop(FLOAT position, D2D1_COLOR_F color)
Undocumented in source. Be warned that the author may not have intended to support it.
HwndRenderTargetProperties
D2D1_HWND_RENDER_TARGET_PROPERTIES HwndRenderTargetProperties(HWND hwnd, D2D1_SIZE_U pixelSize, D2D1_PRESENT_OPTIONS presentOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
HwndRenderTargetPropertiesPtr
D2D1_HWND_RENDER_TARGET_PROPERTIES* HwndRenderTargetPropertiesPtr(HWND hwnd, D2D1_SIZE_U pixelSize, D2D1_PRESENT_OPTIONS presentOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
IdentityMatrix
IdentityMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
InfiniteRect
D2D1_RECT_F InfiniteRect()
Undocumented in source. Be warned that the author may not have intended to support it.
LayerParameters
D2D1_LAYER_PARAMETERS LayerParameters(D2D1_RECT_F contentBounds, ID2D1Geometry geometricMask, D2D1_ANTIALIAS_MODE maskAntialiasMode, D2D1_MATRIX_3X2_F maskTransform, FLOAT opacity, ID2D1Brush opacityBrush, D2D1_LAYER_OPTIONS layerOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
LinearGradientBrushProperties
D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES LinearGradientBrushProperties(D2D1_POINT_2F startPoint, D2D1_POINT_2F endPoint)
Undocumented in source. Be warned that the author may not have intended to support it.
PixelFormat
D2D1_PIXEL_FORMAT PixelFormat(DXGI_FORMAT dxgiFormat, D2D1_ALPHA_MODE alphaMode)
Undocumented in source. Be warned that the author may not have intended to support it.
Point2F
D2D1_POINT_2F Point2F(FLOAT x, FLOAT y)
Undocumented in source. Be warned that the author may not have intended to support it.
Point2U
D2D1_POINT_2U Point2U(UINT32 x, UINT32 y)
Undocumented in source. Be warned that the author may not have intended to support it.
QuadraticBezierSegment
D2D1_QUADRATIC_BEZIER_SEGMENT QuadraticBezierSegment(D2D1_POINT_2F point1, D2D1_POINT_2F point2)
Undocumented in source. Be warned that the author may not have intended to support it.
RadialGradientBrushProperties
D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES RadialGradientBrushProperties(D2D1_POINT_2F center, D2D1_POINT_2F gradientOriginOffset, FLOAT radiusX, FLOAT radiusY)
Undocumented in source. Be warned that the author may not have intended to support it.
RectF
D2D1_RECT_F RectF(FLOAT left, FLOAT top, FLOAT right, FLOAT bottom)
Undocumented in source. Be warned that the author may not have intended to support it.
RectU
D2D1_RECT_U RectU(UINT32 left, UINT32 top, UINT32 right, UINT32 bottom)
Undocumented in source. Be warned that the author may not have intended to support it.
RenderTargetProperties
D2D1_RENDER_TARGET_PROPERTIES RenderTargetProperties(D2D1_RENDER_TARGET_TYPE type, D2D1_PIXEL_FORMAT pixelFormat, FLOAT dpiX, FLOAT dpiY, D2D1_RENDER_TARGET_USAGE usage, D2D1_FEATURE_LEVEL minLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
RenderTargetPropertiesPtr
D2D1_RENDER_TARGET_PROPERTIES* RenderTargetPropertiesPtr(D2D1_RENDER_TARGET_TYPE type, D2D1_PIXEL_FORMAT pixelFormat, FLOAT dpiX, FLOAT dpiY, D2D1_RENDER_TARGET_USAGE usage, D2D1_FEATURE_LEVEL minLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
RoundedRect
D2D1_ROUNDED_RECT RoundedRect(D2D1_RECT_F rect, FLOAT radiusX, FLOAT radiusY)
Undocumented in source. Be warned that the author may not have intended to support it.
SizeF
D2D1_SIZE_F SizeF(FLOAT width, FLOAT height)
Undocumented in source. Be warned that the author may not have intended to support it.
SizeU
D2D1_SIZE_U SizeU(UINT32 width, UINT32 height)
Undocumented in source. Be warned that the author may not have intended to support it.
StrokeStyleProperties
D2D1_STROKE_STYLE_PROPERTIES StrokeStyleProperties(D2D1_CAP_STYLE startCap, D2D1_CAP_STYLE endCap, D2D1_CAP_STYLE dashCap, D2D1_LINE_JOIN lineJoin, FLOAT miterLimit, D2D1_DASH_STYLE dashStyle, FLOAT dashOffset)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ColorF
struct ColorF
Undocumented in source.
Matrix3x2F
struct Matrix3x2F
Undocumented in source.

Templates

Point2
template Point2(Type)
Undocumented in source.
Rect
template Rect(Type)
Undocumented in source.
Size
template Size(Type)
Undocumented in source.
TypeTraits
template TypeTraits(T)
Undocumented in source.
TypeTraits
template TypeTraits(T : UINT32)
Undocumented in source.

Meta