Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 2.8 KB

nn-d2d1-id2d1rectanglegeometry.md

File metadata and controls

78 lines (61 loc) · 2.8 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
NN:d2d1.ID2D1RectangleGeometry
ID2D1RectangleGeometry (d2d1.h)
Describes a two-dimensional rectangle.
ID2D1RectangleGeometry
ID2D1RectangleGeometry interface [Direct2D]
ID2D1RectangleGeometry interface [Direct2D]
described
d2d1/ID2D1RectangleGeometry
direct2d.ID2D1RectangleGeometry
direct2d\ID2D1RectangleGeometry.htm
Direct2D
bb5f65ba-34d4-418b-863c-2431046bce8e
12/05/2018
ID2D1RectangleGeometry, ID2D1RectangleGeometry interface [Direct2D], ID2D1RectangleGeometry interface [Direct2D],described, d2d1/ID2D1RectangleGeometry, direct2d.ID2D1RectangleGeometry
d2d1.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
D2d1.lib
D2d1.dll
Windows
19H1
ID2D1RectangleGeometry
d2d1/ID2D1RectangleGeometry
c++
APIRef
kbSyntax
COM
D2d1.dll
ID2D1RectangleGeometry

ID2D1RectangleGeometry interface

-description

Describes a two-dimensional rectangle.

-inheritance

The ID2D1RectangleGeometry interface inherits from ID2D1Geometry. ID2D1RectangleGeometry also has these types of members:

-remarks

Creating ID2D1RectangleGeometry Objects

To create a rectangle geometry, use the ID2D1Factory::CreateRectangleGeometry method.

Direct2D geometries are immutable and device-independent resources created by ID2D1Factory. In general, you should create geometries once and retain them for the life of the application, or until they need to be modified. For more information about device-independent and device-dependent resources, see the Resources Overview.

-see-also

Geometries Overview

ID2D1Geometry