Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::Windows::Graphics::Factory5 Class Reference

#include <HWGraphics.h>

Inheritance diagram for Harlinn::Windows::Graphics::Factory5:
[legend]
Collaboration diagram for Harlinn::Windows::Graphics::Factory5:
[legend]

Public Member Functions

 Factory5 (D2D1_FACTORY_TYPE factoryType)
 
void CreateDevice (_In_ IDXGIDevice *dxgiDevice, ID2D1Device4 **d2dDevice4) const
 This creates a new Direct2D device from the given IDXGIDevice.
 
void CreateDevice (const DXGI::Device &dxgiDevice, ID2D1Device4 **d2dDevice4) const
 
Device4 CreateDevice (_In_ IDXGIDevice *dxgiDevice) const
 
Device4 CreateDevice (const DXGI::Device &dxgiDevice) const
 
Device4 CreateDevice4 (_In_ IDXGIDevice *dxgiDevice) const
 
Device4 CreateDevice4 (const DXGI::Device &dxgiDevice) const
 
- Public Member Functions inherited from Harlinn::Windows::Graphics::Factory4
 Factory4 (D2D1_FACTORY_TYPE factoryType)
 
void CreateDevice (IDXGIDevice *dxgiDevice, ID2D1Device3 **d2dDevice3) const
 This creates a new Direct2D device from the given IDXGIDevice.
 
void CreateDevice (const DXGI::Device &dxgiDevice, ID2D1Device3 **d2dDevice3) const
 
Device3 CreateDevice (_In_ IDXGIDevice *dxgiDevice) const
 
Device3 CreateDevice (const DXGI::Device &dxgiDevice) const
 
Device3 CreateDevice3 (_In_ IDXGIDevice *dxgiDevice) const
 
Device3 CreateDevice3 (const DXGI::Device &dxgiDevice) const
 
- Public Member Functions inherited from Harlinn::Windows::Graphics::Factory3
 Factory3 (D2D1_FACTORY_TYPE factoryType)
 
void CreateDevice (IDXGIDevice *dxgiDevice, ID2D1Device2 **d2dDevice2) const
 This creates a new Direct2D device from the given IDXGIDevice.
 
void CreateDevice (const DXGI::Device &dxgiDevice, ID2D1Device2 **d2dDevice2) const
 
Device2 CreateDevice (IDXGIDevice *dxgiDevice) const
 
Device2 CreateDevice (const DXGI::Device &dxgiDevice) const
 
Device2 CreateDevice2 (_In_ IDXGIDevice *dxgiDevice) const
 
Device2 CreateDevice2 (const DXGI::Device &dxgiDevice) const
 
- Public Member Functions inherited from Harlinn::Windows::Graphics::Factory2
 Factory2 (D2D1_FACTORY_TYPE factoryType)
 
void CreateDevice (IDXGIDevice *dxgiDevice, ID2D1Device1 **d2dDevice1) const
 This creates a new Direct2D device from the given IDXGIDevice.
 
void CreateDevice (const DXGI::Device &dxgiDevice, ID2D1Device1 **d2dDevice1) const
 
Device1 CreateDevice (IDXGIDevice *dxgiDevice) const
 
Device1 CreateDevice (const DXGI::Device &dxgiDevice) const
 
Device1 CreateDevice1 (_In_ IDXGIDevice *dxgiDevice) const
 
Device1 CreateDevice1 (const DXGI::Device &dxgiDevice) const
 
- Public Member Functions inherited from Harlinn::Windows::Graphics::Factory1
 Factory1 (D2D1_FACTORY_TYPE factoryType)
 Constructs a factory object that can be used to create Direct2D resources.
 
void CreateDevice (IDXGIDevice *dxgiDevice, ID2D1Device **d2dDevice) const
 This creates a new Direct2D device from the given IDXGIDevice.
 
void CreateDevice (const DXGI::Device &dxgiDevice, ID2D1Device **d2dDevice) const
 
Device CreateDevice (IDXGIDevice *dxgiDevice) const
 
Device CreateDevice (const DXGI::Device &dxgiDevice) const
 
void CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES1 *strokeStyleProperties, const FLOAT *dashes, UINT32 dashesCount, ID2D1StrokeStyle1 **strokeStyle) const
 This creates a stroke style with the ability to preserve stroke width in various ways.
 
void CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES1 &strokeStyleProperties, const FLOAT *dashes, UINT32 dashesCount, ID2D1StrokeStyle1 **strokeStyle) const
 
void CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES1 *strokeStyleProperties, ID2D1StrokeStyle1 **strokeStyle) const
 
void CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES1 &strokeStyleProperties, ID2D1StrokeStyle1 **strokeStyle) const
 
StrokeStyle1 CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES1 *strokeStyleProperties, const FLOAT *dashes=nullptr, UINT32 dashesCount=0) const
 
StrokeStyle1 CreateStrokeStyle (const D2D1_STROKE_STYLE_PROPERTIES1 &strokeStyleProperties, const FLOAT *dashes=nullptr, UINT32 dashesCount=0) const
 
void CreatePathGeometry (ID2D1PathGeometry1 **pathGeometry) const
 Creates a path geometry with new operational methods.
 
PathGeometry1 CreatePathGeometry () const
 
void CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 *drawingStateDescription, IDWriteRenderingParams *textRenderingParams, ID2D1DrawingStateBlock1 **drawingStateBlock) const
 Creates a new drawing state block, this can be used in subsequent SaveDrawingState and RestoreDrawingState operations on the render target.
 
void CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 *drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams, ID2D1DrawingStateBlock1 **drawingStateBlock) const
 
void CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 &drawingStateDescription, IDWriteRenderingParams *textRenderingParams, ID2D1DrawingStateBlock1 **drawingStateBlock) const
 
void CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 &drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams, ID2D1DrawingStateBlock1 **drawingStateBlock) const
 
void CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 &drawingStateDescription, ID2D1DrawingStateBlock1 **drawingStateBlock)
 
void CreateDrawingStateBlock (ID2D1DrawingStateBlock1 **drawingStateBlock)
 
DrawingStateBlock1 CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 *drawingStateDescription, IDWriteRenderingParams *textRenderingParams=nullptr) const
 
DrawingStateBlock1 CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 *drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams) const
 
DrawingStateBlock1 CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 &drawingStateDescription, const DirectWrite::RenderingParams &textRenderingParams) const
 
DrawingStateBlock1 CreateDrawingStateBlock (const D2D1_DRAWING_STATE_DESCRIPTION1 &drawingStateDescription, IDWriteRenderingParams *textRenderingParams=nullptr) const
 
void CreateGdiMetafile (IStream *metafileStream, ID2D1GdiMetafile **metafile) const
 Creates a new ID2D1GdiMetafile object that you can use to replay metafile content.
 
void CreateGdiMetafile (const Stream &metafileStream, ID2D1GdiMetafile **metafile) const
 
GdiMetafile CreateGdiMetafile (IStream *metafileStream) const
 
GdiMetafile CreateGdiMetafile (const Stream &metafileStream) const
 
void RegisterEffectFromStream (REFCLSID classId, IStream *propertyXml, const D2D1_PROPERTY_BINDING *bindings, UINT32 bindingsCount, const PD2D1_EFFECT_FACTORY effectFactory) const
 This globally registers the given effect. The effect can later be instantiated by using the registered class id. The effect registration is reference counted.
 
void RegisterEffectFromStream (REFCLSID classId, IStream *propertyXml, const PD2D1_EFFECT_FACTORY effectFactory) const
 
void RegisterEffectFromStream (REFCLSID classId, const Stream &propertyXml, const D2D1_PROPERTY_BINDING *bindings, UINT32 bindingsCount, const PD2D1_EFFECT_FACTORY effectFactory) const
 
void RegisterEffectFromStream (REFCLSID classId, const Stream &propertyXml, const PD2D1_EFFECT_FACTORY effectFactory) const
 
void RegisterEffectFromString (REFCLSID classId, PCWSTR propertyXml, const D2D1_PROPERTY_BINDING *bindings, UINT32 bindingsCount, const PD2D1_EFFECT_FACTORY effectFactory) const
 This globally registers the given effect. The effect can later be instantiated by using the registered class id. The effect registration is reference counted.
 
void RegisterEffectFromString (REFCLSID classId, PCWSTR propertyXml, const PD2D1_EFFECT_FACTORY effectFactory) const
 
void UnregisterEffect (REFCLSID classId) const
 This unregisters the given effect by its class id, you need to call UnregisterEffect for every call to ID2D1Factory1::RegisterEffectFromStream and ID2D1Factory1::RegisterEffectFromString to completely unregister it.
 
void GetRegisteredEffects (CLSID *effects, UINT32 effectsCount, UINT32 *effectsReturned, UINT32 *effectsRegistered) const
 Returns the class IDs of the currently registered effects and global effects on this factory.
 
void GetRegisteredEffectsCount (UINT32 *effectsRegistered) const
 Returns the number of currently registered effects and global effects on this factory.
 
UINT32 GetRegisteredEffectsCount () const
 
void GetEffectProperties (REFCLSID effectId, ID2D1Properties **properties) const
 This retrieves the effect properties for the given effect, all of the effect properties will be set to a default value since an effect is not instantiated to implement the returned property interface.
 
Properties GetEffectProperties (REFCLSID effectId) const
 
Multithread GetMultithread () const
 Retrieves the locking mechanism for the Direct2D factory that Direct2D uses to control exclusive resource access in an application that is uses multiple threads.
 
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 CreatePathGeometry (ID2D1PathGeometry **pathGeometry) const
 Creates an empty ID2D1PathGeometry.
 
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
 
- Public Member Functions inherited from Harlinn::Windows::Graphics::Factory
 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 &centerPoint, 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
 
- Public Member Functions inherited from Harlinn::Common::Core::Unknown
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
 
Unknownoperator= (const Unknown &other) noexcept
 
Unknownoperator= (Unknown &&other) noexcept
 
void swap (Unknown &other) noexcept
 
void ResetPtr (IUnknown *other=nullptr, bool addRef=false) noexcept
 
Unknownoperator= (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< TAs () 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>
TGetInterfacePointer () 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
 

Additional Inherited Members

- Public Types inherited from Harlinn::Windows::Graphics::Factory3
using Base = Factory2
 
- Public Types inherited from Harlinn::Windows::Graphics::Factory2
using Base = Factory1
 
- Public Types inherited from Harlinn::Windows::Graphics::Factory1
using Base = Factory
 
- Public Types inherited from Harlinn::Windows::Graphics::Factory
typedef Unknown Base
 
- Public Types inherited from Harlinn::Common::Core::Unknown
typedef IUnknown InterfaceType
 
- Static Public Member Functions inherited from Harlinn::Common::Core::Unknown
template<typename T >
requires std::is_base_of_v<Unknown, T>
static T CoCreateInstanceFromClassId (const CLSID &clsid, DWORD classContext=CLSCTX_INPROC_SERVER)
 
template<typename T >
requires std::is_base_of_v<Unknown, T>
static T CoCreateInstanceFromClassId (const wchar_t *clsid, DWORD classContext=CLSCTX_INPROC_SERVER)
 
template<typename T >
requires std::is_base_of_v<Unknown, T>
static T CoCreateInstanceFromClassId (const WideString &clsid, DWORD classContext=CLSCTX_INPROC_SERVER)
 
template<typename T >
requires std::is_base_of_v<Unknown, T>
static T CoCreateInstanceFromProgId (const wchar_t *progId, DWORD classContext=CLSCTX_INPROC_SERVER)
 
template<typename T >
requires std::is_base_of_v<Unknown, T>
static T CoCreateInstanceFromProgId (const WideString &progId, DWORD classContext=CLSCTX_INPROC_SERVER)
 
template<typename T >
requires std::is_base_of_v<Unknown, T>
static T CoCreateInstanceFromDll (const ModuleHandle &dll, const CLSID &clsid)
 
- Protected Attributes inherited from Harlinn::Common::Core::Unknown
IUnknown * unknown_
 

Constructor & Destructor Documentation

◆ Factory5()

Harlinn::Windows::Graphics::Factory5::Factory5 ( D2D1_FACTORY_TYPE factoryType)
inline

Member Function Documentation

◆ CreateDevice() [1/4]

Device4 Harlinn::Windows::Graphics::Factory5::CreateDevice ( _In_ IDXGIDevice * dxgiDevice) const
inline

◆ CreateDevice() [2/4]

void Harlinn::Windows::Graphics::Factory5::CreateDevice ( _In_ IDXGIDevice * dxgiDevice,
ID2D1Device4 ** d2dDevice4 ) const
inline

This creates a new Direct2D device from the given IDXGIDevice.

Parameters
dxgiDeviceThe IDXGIDevice object used when creating the ID2D1Device4.
d2dDevice4The requested ID2D1Device4 object.

◆ CreateDevice() [3/4]

Device4 Harlinn::Windows::Graphics::Factory5::CreateDevice ( const DXGI::Device & dxgiDevice) const
inline

◆ CreateDevice() [4/4]

void Harlinn::Windows::Graphics::Factory5::CreateDevice ( const DXGI::Device & dxgiDevice,
ID2D1Device4 ** d2dDevice4 ) const
inline

◆ CreateDevice4() [1/2]

Device4 Harlinn::Windows::Graphics::Factory5::CreateDevice4 ( _In_ IDXGIDevice * dxgiDevice) const
inline

◆ CreateDevice4() [2/2]

Device4 Harlinn::Windows::Graphics::Factory5::CreateDevice4 ( const DXGI::Device & dxgiDevice) const
inline

The documentation for this class was generated from the following file: