Export (0) Print
Expand All

ID2D1RoundedRectangleGeometry interface

Describes a rounded rectangle.

When to implement

Custom implementations are not supported.

Members

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

Methods

The ID2D1RoundedRectangleGeometry interface has these methods.

MethodDescription
GetRoundedRect

Retrieves a rounded rectangle that describes this rounded rectangle geometry.

 

Remarks

Creating ID2D1RoundedRectangleGeometry Objects

To create a rectangle geometry, use the ID2D1Factory::CreateRoundedRectangleGeometry 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.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft