ID2D1SvgDocument::CreatePointCollection 方法 (d2d1svg.h)
创建一个 points 对象,该对象可用于在多边形或折线元素上设置 points 属性。
语法
HRESULT CreatePointCollection(
[in, optional] const D2D1_POINT_2F *points,
UINT32 pointsCount,
[out] ID2D1SvgPointCollection **pointCollection
);
参数
[in, optional] points
类型: const D2D1_POINT_2F*
点集合中的点。
pointsCount
类型: UINT32
points 参数中的点数。
[out] pointCollection
类型: ID2D1SvgPointCollection**
创建的 ID2D1SvgPointCollection 对象。
返回值
类型: HRESULT
此方法返回 HRESULT 成功或错误代码。
要求
要求 | 值 |
---|---|
目标平台 | Windows |
标头 | d2d1svg.h |
DLL | Direct2d.dll |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈