Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 3.12 KB

nf-d2d1svg-id2d1svgdocument-createpaint(d2d1_svg_paint_type_constd2d1_color_f__pcwstr_id2d1svgpaint).md

File metadata and controls

89 lines (67 loc) · 3.12 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d2d1svg.ID2D1SvgDocument.CreatePaint(D2D1_SVG_PAINT_TYPE,constD2D1_COLOR_F&,PCWSTR,ID2D1SvgPaint)
ID2D1SvgDocument::CreatePaint(D2D1_SVG_PAINT_TYPE,const D2D1_COLOR_F &,PCWSTR,ID2D1SvgPaint) (d2d1svg.h)
Creates a paint object which can be used to set the 'fill' or 'stroke' properties. (overload 2/2)
CreatePaint
CreatePaint method [Direct2D]
CreatePaint method [Direct2D]
ID2D1SvgDocument interface
ID2D1SvgDocument interface [Direct2D]
CreatePaint method
ID2D1SvgDocument.CreatePaint
ID2D1SvgDocument.CreatePaint(D2D1_SVG_PAINT_TYPE
const D2D1_COLOR_F &
PCWSTR
ID2D1SvgPaint)
ID2D1SvgDocument::CreatePaint
ID2D1SvgDocument::CreatePaint(D2D1_SVG_PAINT_TYPE
const D2D1_COLOR_F &
PCWSTR
ID2D1SvgPaint)
d2d1svg/ID2D1SvgDocument::CreatePaint
direct2d.id2d1svgdocument_createpaint_2
direct2d\id2d1svgdocument_createpaint_2.htm
Direct2D
449b9df3-cb5c-015b-2ecc-c7617c1625c6
12/05/2018
CreatePaint, CreatePaint method [Direct2D], CreatePaint method [Direct2D],ID2D1SvgDocument interface, ID2D1SvgDocument interface [Direct2D],CreatePaint method, ID2D1SvgDocument.CreatePaint, ID2D1SvgDocument.CreatePaint(D2D1_SVG_PAINT_TYPE,const D2D1_COLOR_F &,PCWSTR,ID2D1SvgPaint), ID2D1SvgDocument::CreatePaint, ID2D1SvgDocument::CreatePaint(D2D1_SVG_PAINT_TYPE,const D2D1_COLOR_F &,PCWSTR,ID2D1SvgPaint), d2d1svg/ID2D1SvgDocument::CreatePaint, direct2d.id2d1svgdocument_createpaint_2
d2d1svg.h
Windows
Direct2d.dll
Windows
19H1
ID2D1SvgDocument::CreatePaint
d2d1svg/ID2D1SvgDocument::CreatePaint
c++
APIRef
kbSyntax
COM
direct2d.dll
ID2D1SvgDocument.CreatePaint

ID2D1SvgDocument::CreatePaint(D2D1_SVG_PAINT_TYPE,const D2D1_COLOR_F &,PCWSTR,ID2D1SvgPaint)

-description

Creates a paint object which can be used to set the 'fill' or 'stroke' properties.

-parameters

-param paintType

Type: D2D1_SVG_PAINT_TYPE

Specifies the type of paint object to create.

-param color [ref]

Type: const D2D1_COLOR_F

The color used if the paintType is D2D1_SVG_PAINT_TYPE_COLOR.

-param id [in, optional]

Type: PCWSTR

The element id which acts as the paint server. This id is used if the paint type is D2D1_SVG_PAINT_TYPE_URI.

-param paint [out]

Type: ID2D1SvgPaint**

When the method completes, this will contain a pointer to the created paint object.

-returns

Type: HRESULT

This method returns an HRESULT success or error code.

-see-also

ID2D1SvgDocument