|
| Factory (D2D1_FACTORY_TYPE factoryType) |
| Creates a factory object that can be used to create Direct2D resources.
|
|
void | ReloadSystemMetrics () const |
| Forces the factory to refresh any system defaults that it might have changed since factory creation.
|
|
void | CreateRectangleGeometry (const D2D1_RECT_F *rectangle, ID2D1RectangleGeometry **rectangleGeometry) const |
| Creates an ID2D1RectangleGeometry.
|
|
void | CreateRectangleGeometry (const D2D1_RECT_F &rectangle, ID2D1RectangleGeometry **rectangleGeometry) const |
|
RectangleGeometry | CreateRectangleGeometry (const D2D1_RECT_F *rectangle) const |
|
RectangleGeometry | CreateRectangleGeometry (const D2D1_RECT_F &rectangle) const |
|
RectangleGeometry | CreateRectangleGeometry (const D2D1_POINT_2F *position, const D2D1_SIZE_F *size) const |
|
RectangleGeometry | CreateRectangleGeometry (const D2D1_POINT_2F &position, const D2D1_SIZE_F &size) const |
|
RectangleGeometry | CreateRectangleGeometry (FLOAT left, FLOAT top, FLOAT right, FLOAT bottom) const |
|
void | CreateRoundedRectangleGeometry (const D2D1_ROUNDED_RECT *roundedRectangle, ID2D1RoundedRectangleGeometry **roundedRectangleGeometry) const |
| Creates an ID2D1RoundedRectangleGeometry.
|
|
void | CreateRoundedRectangleGeometry (const D2D1_ROUNDED_RECT &roundedRectangle, ID2D1RoundedRectangleGeometry **roundedRectangleGeometry) const |
|
RoundedRectangleGeometry | CreateRoundedRectangleGeometry (const D2D1_ROUNDED_RECT *roundedRectangle) const |
|
RoundedRectangleGeometry | CreateRoundedRectangleGeometry (const D2D1_ROUNDED_RECT &roundedRectangle) const |
|
RoundedRectangleGeometry | CreateRoundedRectangleGeometry (const D2D1_RECT_F *rectangle, FLOAT radiusX, FLOAT readiusY) const |
|
RoundedRectangleGeometry | CreateRoundedRectangleGeometry (const D2D1_RECT_F &rectangle, FLOAT radiusX, FLOAT readiusY) const |
|
RoundedRectangleGeometry | CreateRoundedRectangleGeometry (const D2D1_POINT_2F *position, const D2D1_SIZE_F *size, FLOAT radiusX, FLOAT readiusY) const |
|
RoundedRectangleGeometry | CreateRoundedRectangleGeometry (const D2D1_POINT_2F &position, const D2D1_SIZE_F &size, FLOAT radiusX, FLOAT readiusY) const |
|
RoundedRectangleGeometry | CreateRoundedRectangleGeometry (FLOAT left, FLOAT top, FLOAT right, FLOAT bottom, FLOAT radiusX, FLOAT readiusY) const |
|
void | CreateEllipseGeometry (const D2D1_ELLIPSE *ellipse, ID2D1EllipseGeometry **ellipseGeometry) const |
| Creates an ID2D1EllipseGeometry.
|
|
void | CreateEllipseGeometry (const D2D1_ELLIPSE &ellipse, ID2D1EllipseGeometry **ellipseGeometry) const |
|
EllipseGeometry | CreateEllipseGeometry (const D2D1_ELLIPSE *ellipse) const |
|
EllipseGeometry | CreateEllipseGeometry (const D2D1_ELLIPSE &ellipse) const |
|
EllipseGeometry | CreateEllipseGeometry (const D2D1_POINT_2F *centerPoint, FLOAT radiusX, FLOAT radiusY) const |
|
EllipseGeometry | CreateEllipseGeometry (const D2D1_POINT_2F ¢erPoint, FLOAT radiusX, FLOAT radiusY) const |
|
EllipseGeometry | CreateEllipseGeometry (FLOAT centerX, FLOAT centerY, FLOAT radiusX, FLOAT radiusY) const |
|
void | CreateGeometryGroup (D2D1_FILL_MODE fillMode, ID2D1Geometry **geometries, UINT32 geometriesCount, ID2D1GeometryGroup **geometryGroup) const |
| Creates an ID2D1GeometryGroup, which is an object that holds other geometries.
|
|
void | CreateGeometryGroup (D2D1_FILL_MODE fillMode, const Geometry *geometries, UINT32 geometriesCount, ID2D1GeometryGroup **geometryGroup) const |
|
GeometryGroup | CreateGeometryGroup (D2D1_FILL_MODE fillMode, ID2D1Geometry **geometries, UINT32 geometriesCount) const |
|
GeometryGroup | CreateGeometryGroup (D2D1_FILL_MODE fillMode, const Geometry *geometries, UINT32 geometriesCount) const |
|
void | CreateTransformedGeometry (ID2D1Geometry *sourceGeometry, const D2D1_MATRIX_3X2_F *transform, ID2D1TransformedGeometry **transformedGeometry) const |
| Transforms the specified geometry and stores the result as an ID2D1TransformedGeometry object.
|
|
void | CreateTransformedGeometry (ID2D1Geometry *sourceGeometry, const D2D1_MATRIX_3X2_F &transform, ID2D1TransformedGeometry **transformedGeometry) const |
|
void | CreateTransformedGeometry (const Geometry &sourceGeometry, const D2D1_MATRIX_3X2_F *transform, ID2D1TransformedGeometry **transformedGeometry) const |
|
void | CreateTransformedGeometry (const Geometry &sourceGeometry, const D2D1_MATRIX_3X2_F &transform, ID2D1TransformedGeometry **transformedGeometry) const |
|
TransformedGeometry | CreateTransformedGeometry (ID2D1Geometry *sourceGeometry, const D2D1_MATRIX_3X2_F *transform) const |
|
TransformedGeometry | CreateTransformedGeometry (ID2D1Geometry *sourceGeometry, const D2D1_MATRIX_3X2_F &transform) const |
|
TransformedGeometry | CreateTransformedGeometry (const Geometry &sourceGeometry, const D2D1_MATRIX_3X2_F *transform) const |
|
TransformedGeometry | CreateTransformedGeometry (const Geometry &sourceGeometry, const D2D1_MATRIX_3X2_F &transform) const |
|
void | CreatePathGeometry (ID2D1PathGeometry **pathGeometry) const |
| Creates an empty ID2D1PathGeometry.
|
|
PathGeometry | CreatePathGeometry () const |
|
void | CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES *strokeStyleProperties, const FLOAT *dashes, UINT32 dashesCount, ID2D1StrokeStyle **strokeStyle) const |
| Creates an ID2D1StrokeStyle that describes start cap, dash pattern, and other features of a stroke.
|
|
void | CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES &strokeStyleProperties, const FLOAT *dashes, UINT32 dashesCount, ID2D1StrokeStyle **strokeStyle) const |
|
StrokeStyle | CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES *strokeStyleProperties, const FLOAT *dashes=nullptr, UINT32 dashesCount=0) const |
|
StrokeStyle | CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES &strokeStyleProperties, const FLOAT *dashes=nullptr, UINT32 dashesCount=0) const |
|
void | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION *drawingStateDescription, IDWriteRenderingParams *textRenderingParams, ID2D1DrawingStateBlock **drawingStateBlock) const |
| Creates an ID2D1DrawingStateBlock that can be used with the SaveDrawingState and RestoreDrawingState methods of a render target.
|
|
void | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION &drawingStateDescription, IDWriteRenderingParams *textRenderingParams, ID2D1DrawingStateBlock **drawingStateBlock) const |
|
void | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION *drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams, ID2D1DrawingStateBlock **drawingStateBlock) const |
|
void | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION &drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams, ID2D1DrawingStateBlock **drawingStateBlock) const |
|
DrawingStateBlock | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION *drawingStateDescription=nullptr, IDWriteRenderingParams *textRenderingParams=nullptr) const |
|
DrawingStateBlock | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION &drawingStateDescription, IDWriteRenderingParams *textRenderingParams=nullptr) const |
|
DrawingStateBlock | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION *drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams) const |
|
DrawingStateBlock | CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION &drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams) const |
|
void | CreateWicBitmapRenderTarget (IWICBitmap *target, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1RenderTarget **renderTarget) const |
| Creates a render target that renders to a Microsoft Windows Imaging Component (WIC) bitmap.
|
|
void | CreateWicBitmapRenderTarget (IWICBitmap *target, const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties, ID2D1RenderTarget **renderTarget) const |
|
RenderTarget | CreateWicBitmapRenderTarget (IWICBitmap *target, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties) const |
|
RenderTarget | CreateWicBitmapRenderTarget (IWICBitmap *target, const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties) const |
|
void | CreateHwndRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, const D2D1_HWND_RENDER_TARGET_PROPERTIES *hwndRenderTargetProperties, ID2D1HwndRenderTarget **hwndRenderTarget) const |
| Creates an ID2D1HwndRenderTarget, a render target that renders to a window.
|
|
void | CreateHwndRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties, const D2D1_HWND_RENDER_TARGET_PROPERTIES &hwndRenderTargetProperties, ID2D1HwndRenderTarget **hwndRenderTarget) const |
|
ControlRenderTarget | CreateHwndRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, const D2D1_HWND_RENDER_TARGET_PROPERTIES *hwndRenderTargetProperties) const |
|
ControlRenderTarget | CreateHwndRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties, const D2D1_HWND_RENDER_TARGET_PROPERTIES &hwndRenderTargetProperties) const |
|
HW_EXPORT ControlRenderTarget | CreateHwndRenderTarget (Control &control) const |
|
HW_EXPORT ControlRenderTarget | CreateHwndRenderTarget (HWND hwnd) const |
|
HW_EXPORT ControlRenderTarget | CreateControlRenderTarget (Control &control) const |
|
HW_EXPORT ControlRenderTarget | CreateControlRenderTarget (HWND hwnd) const |
|
void | CreateDxgiSurfaceRenderTarget (IDXGISurface *dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1RenderTarget **renderTarget) const |
| Creates a render target that draws to a DirectX Graphics Infrastructure (DXGI) surface.
|
|
void | CreateDxgiSurfaceRenderTarget (IDXGISurface *dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties, ID2D1RenderTarget **renderTarget) const |
|
template<typename T >
requires std::is_base_of_v< DXGI::Surface, T> |
void | CreateDxgiSurfaceRenderTarget (const T &dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1RenderTarget **renderTarget) const |
|
template<typename T >
requires std::is_base_of_v< DXGI::Surface, T> |
void | CreateDxgiSurfaceRenderTarget (const T &dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties, ID2D1RenderTarget **renderTarget) const |
|
RenderTarget | CreateDxgiSurfaceRenderTarget (IDXGISurface *dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties) const |
|
RenderTarget | CreateDxgiSurfaceRenderTarget (IDXGISurface *dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties) const |
|
template<typename T >
requires std::is_base_of_v< DXGI::Surface, T> |
RenderTarget | CreateDxgiSurfaceRenderTarget (const T &dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties) const |
|
template<typename T >
requires std::is_base_of_v< DXGI::Surface, T> |
RenderTarget | CreateDxgiSurfaceRenderTarget (const T &dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties) const |
|
void | CreateDCRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1DCRenderTarget **dcRenderTarget) const |
| Creates a render target that draws to a Windows Graphics Device Interface (GDI) device context.
|
|
void | CreateDCRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties, ID2D1DCRenderTarget **dcRenderTarget) const |
|
DeviceContextRenderTarget | CreateDCRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties) const |
|
DeviceContextRenderTarget | CreateDCRenderTarget (const D2D1_RENDER_TARGET_PROPERTIES &renderTargetProperties) const |
|
constexpr | Unknown () noexcept |
|
| Unknown (IUnknown *unknown, bool addref=false) noexcept |
|
| Unknown (REFIID iid, const Unknown &unknown, bool throwIfNoInterface=true) |
|
| Unknown (const Unknown &other) noexcept |
|
| Unknown (Unknown &&other) noexcept |
|
| ~Unknown () noexcept |
|
constexpr | operator bool () const noexcept |
|
Unknown & | operator= (const Unknown &other) noexcept |
|
Unknown & | operator= (Unknown &&other) noexcept |
|
void | swap (Unknown &other) noexcept |
|
void | ResetPtr (IUnknown *other=nullptr, bool addRef=false) noexcept |
|
Unknown & | operator= (nullptr_t) |
|
IUnknown * | Detach () |
|
template<typename T >
requires std::is_base_of_v<Unknown, T > |
T | As () const |
|
template<typename T >
requires std::is_base_of_v<Unknown, T> |
bool | Is () const noexcept |
|
template<typename T >
requires std::is_base_of_v<IUnknown, T> |
ComPtr< T > | As () const |
|
template<typename T >
requires std::is_base_of_v<IUnknown, T> |
bool | Is () const noexcept |
| This function can be used to detect if an object supports a particular COM interface derived from IUnknown.
|
|
template<typename T = IUnknown> |
T * | GetInterfacePointer () const noexcept |
|
bool | QueryInterface (REFIID riid, void **itf) const |
| Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID). If the COM object implements the interface, then it returns a pointer to that interface after calling IUnknown::AddRef on it.
|
|
template<typename T >
requires std::is_base_of_v<IUnknown, T> |
bool | QueryInterface (T **itf) const |
|
constexpr bool | operator== (const Unknown &other) const noexcept |
|
constexpr bool | operator!= (const Unknown &other) const noexcept |
|
constexpr bool | operator== (const IUnknown *other) const noexcept |
|
constexpr bool | operator!= (const IUnknown *other) const noexcept |
|