ID2D1HwndRenderTarget::Resize methods

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

Overload list

Method Description
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

Requirement Value
Header
D2d1.h
Library
D2d1.lib
DLL
D2d1.dll

See also

ID2D1HwndRenderTarget