Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1HwndRenderTarget::Resize methods

Changes the size of the render target to the specified pixel size.

Overload list

MethodDescription
Resize(D2D1_SIZE_U&)

Changes the size of the render target to the specified pixel size.

Resize(D2D1_SIZE_U*)

Changes the size of the render target to the specified pixel size.

Remarks

After this method is called, the contents of the render target's back-buffer are not defined, even if the D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS option was specified when the render target was created.

Requirements

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1HwndRenderTarget

 

 

Show:
© 2017 Microsoft