Represents a single continuous stroke of variable-width ink, as defined by a series of Bezier segments and widths.
More...
|
void | SetStartPoint (const D2D1_INK_POINT *startPoint) const |
| Sets the starting point for this ink object. This determines where this ink object will start rendering.
|
|
void | SetStartPoint (const D2D1_INK_POINT &startPoint) const |
|
D2D1_INK_POINT | GetStartPoint () const |
| Retrieve the start point with which the ink was initialized.
|
|
void | AddSegments (const D2D1_INK_BEZIER_SEGMENT *segments, UINT32 segmentsCount) const |
| Adds the given segments to the end of this ink object.
|
|
void | RemoveSegmentsAtEnd (UINT32 segmentsCount) const |
| Removes the given number of segments from the end of this ink object.
|
|
void | SetSegments (UINT32 startSegment, const D2D1_INK_BEZIER_SEGMENT *segments, UINT32 segmentsCount) const |
| Updates the specified segments in this ink object with new control points.
|
|
void | SetSegmentAtEnd (const D2D1_INK_BEZIER_SEGMENT *segment) const |
| Updates the last segment in this ink object with new control points.
|
|
UINT32 | GetSegmentCount () const |
| Returns the number of segments in this ink object.
|
|
void | GetSegments (UINT32 startSegment, D2D1_INK_BEZIER_SEGMENT *segments, UINT32 segmentsCount) const |
| Retrieves the specified subset of segments stored in this ink object.
|
|
void | StreamAsGeometry (ID2D1InkStyle *inkStyle, const D2D1_MATRIX_3X2_F *worldTransform, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
| Retrieves a geometric representation of this ink object.
|
|
void | StreamAsGeometry (ID2D1InkStyle *inkStyle, const D2D1_MATRIX_3X2_F &worldTransform, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const InkStyle &inkStyle, const D2D1_MATRIX_3X2_F *worldTransform, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const InkStyle &inkStyle, const D2D1_MATRIX_3X2_F &worldTransform, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const D2D1_MATRIX_3X2_F *worldTransform, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const D2D1_MATRIX_3X2_F &worldTransform, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (ID2D1InkStyle *inkStyle, const D2D1_MATRIX_3X2_F *worldTransform, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (ID2D1InkStyle *inkStyle, const D2D1_MATRIX_3X2_F &worldTransform, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const InkStyle &inkStyle, const D2D1_MATRIX_3X2_F *worldTransform, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const InkStyle &inkStyle, const D2D1_MATRIX_3X2_F &worldTransform, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const D2D1_MATRIX_3X2_F *worldTransform, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const D2D1_MATRIX_3X2_F &worldTransform, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (ID2D1InkStyle *inkStyle, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const InkStyle &inkStyle, FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (FLOAT flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (ID2D1InkStyle *inkStyle, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (const InkStyle &inkStyle, ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | StreamAsGeometry (ID2D1SimplifiedGeometrySink *geometrySink) const |
|
void | GetBounds (ID2D1InkStyle *inkStyle, const D2D1_MATRIX_3X2_F *worldTransform, D2D1_RECT_F *bounds) const |
| Retrieve the bounds of the ink, with an optional applied transform.
|
|
void | GetBounds (const InkStyle &inkStyle, const D2D1_MATRIX_3X2_F *worldTransform, D2D1_RECT_F *bounds) const |
|
void | GetBounds (ID2D1InkStyle *inkStyle, const D2D1_MATRIX_3X2_F &worldTransform, D2D1_RECT_F &bounds) const |
|
void | GetBounds (const InkStyle &inkStyle, const D2D1_MATRIX_3X2_F &worldTransform, D2D1_RECT_F &bounds) const |
|
void | GetBounds (ID2D1InkStyle *inkStyle, D2D1_RECT_F *bounds) const |
|
void | GetBounds (const InkStyle &inkStyle, D2D1_RECT_F *bounds) const |
|
void | GetBounds (ID2D1InkStyle *inkStyle, D2D1_RECT_F &bounds) const |
|
void | GetBounds (const InkStyle &inkStyle, D2D1_RECT_F &bounds) const |
|
void | GetBounds (D2D1_RECT_F *bounds) const |
|
void | GetBounds (D2D1_RECT_F &bounds) const |
|
template<typename T = Factory>
requires std::is_base_of_v< Factory, T> |
T | GetFactory () |
|
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 |
|
Represents a single continuous stroke of variable-width ink, as defined by a series of Bezier segments and widths.