Viewport

nn::gd::CTR::Viewport::Viewport Constructor

Syntax

Viewport(
     u32 x,
     u32 y,
     u32 width,
     u32 height
);

Arguments

Name Description
in x Specifies the X coordinate of the lower left corner of the screen.
in y Specifies the Y coordinate of the lower left corner of the screen.
in width Specifies the viewport width.
in height Specifies the viewport height.

Description

The constructor for the viewport. Initializes using argument values.


CONFIDENTIAL