nn::gr::CTR::Viewport::Set Member Function

Syntax

void Set(
     s32 x_,
     s32 y_,
     u32 width_,
     u32 height_
);

Arguments

Name Description
in x_ Lower left x-coordinate of the viewport.
in y_ Lower left y-coordinate of the viewport.
in width_ Width of the viewport.
in height_ Height of the viewport.

Return Values

None.

Description

Convenient function for specifying parameters all at once. You may assign values directly to member variables without using this function.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL