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

Everything that decides what a shape's triangles are. More...

#include <GuiMeshCache.h>

Public Member Functions

bool operator== (const GuiMeshKey &o) const
 

Public Attributes

SHAPE kind
 Rectangle or ellipse.
 
int width
 Width in design-canvas pixels.
 
int height
 Height in design-canvas pixels.
 
GuiCorners corners
 Corner radii of a rectangle.
 
GuiPaint paint
 Fill, outline and shadow.
 
float feather
 Anti-aliasing fringe width, see GuiMesh.
 
float tolerance
 Curve tolerance, see GuiMesh.
 

Detailed Description

Everything that decides what a shape's triangles are.

Two shapes with equal keys can share one mesh.

Definition at line 17 of file GuiMeshCache.h.

Member Function Documentation

◆ operator==()

bool GuiMeshKey::operator== ( const GuiMeshKey & o) const

Definition at line 47 of file GuiMeshCache.cpp.

Member Data Documentation

◆ corners

GuiCorners GuiMeshKey::corners

Corner radii of a rectangle.

Definition at line 21 of file GuiMeshCache.h.

◆ feather

float GuiMeshKey::feather

Anti-aliasing fringe width, see GuiMesh.

Definition at line 23 of file GuiMeshCache.h.

◆ height

int GuiMeshKey::height

Height in design-canvas pixels.

Definition at line 20 of file GuiMeshCache.h.

◆ kind

SHAPE GuiMeshKey::kind

Rectangle or ellipse.

Definition at line 18 of file GuiMeshCache.h.

◆ paint

GuiPaint GuiMeshKey::paint

Fill, outline and shadow.

Definition at line 22 of file GuiMeshCache.h.

◆ tolerance

float GuiMeshKey::tolerance

Curve tolerance, see GuiMesh.

Definition at line 24 of file GuiMeshCache.h.

◆ width

int GuiMeshKey::width

Width in design-canvas pixels.

Definition at line 19 of file GuiMeshCache.h.


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