libgui 3.00
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
GuiRect Struct Reference

An axis-aligned rectangle (top-left origin) in design-canvas pixels. More...

#include <GuiGeometry.h>

Public Member Functions

constexpr GuiRect (float x_, float y_, float w_, float h_)
 

Public Attributes

float x
 Left edge.
 
float y
 Top edge.
 
float w
 Width.
 
float h
 Height.
 

Detailed Description

An axis-aligned rectangle (top-left origin) in design-canvas pixels.

Definition at line 33 of file GuiGeometry.h.

Constructor & Destructor Documentation

◆ GuiRect() [1/2]

GuiRect::GuiRect ( )
inlineconstexpr

Definition at line 39 of file GuiGeometry.h.

◆ GuiRect() [2/2]

GuiRect::GuiRect ( float x_,
float y_,
float w_,
float h_ )
inlineconstexpr

Definition at line 40 of file GuiGeometry.h.

Member Data Documentation

◆ h

float GuiRect::h

Height.

Definition at line 37 of file GuiGeometry.h.

◆ w

float GuiRect::w

Width.

Definition at line 36 of file GuiGeometry.h.

◆ x

float GuiRect::x

Left edge.

Definition at line 34 of file GuiGeometry.h.

◆ y

float GuiRect::y

Top edge.

Definition at line 35 of file GuiGeometry.h.


The documentation for this struct was generated from the following file: