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 = SHAPE::RECTANGLE |
| Rectangle or ellipse. | |
| int | width = 0 |
| Width in design-canvas pixels. | |
| int | height = 0 |
| Height in design-canvas pixels. | |
| GuiCorners | corners |
| Corner radii of a rectangle. | |
| GuiPaint | paint |
| Fill, outline and shadow. | |
| float | feather = 0.0f |
| Anti-aliasing fringe width, see GuiMesh. | |
| float | tolerance = 0.0f |
| Curve tolerance, see GuiMesh. | |
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.
| bool GuiMeshKey::operator== | ( | const GuiMeshKey & | o | ) | const |
Definition at line 47 of file GuiMeshCache.cpp.
| GuiCorners GuiMeshKey::corners |
Corner radii of a rectangle.
Definition at line 21 of file GuiMeshCache.h.
| float GuiMeshKey::feather = 0.0f |
Anti-aliasing fringe width, see GuiMesh.
Definition at line 23 of file GuiMeshCache.h.
| int GuiMeshKey::height = 0 |
Height in design-canvas pixels.
Definition at line 20 of file GuiMeshCache.h.
| SHAPE GuiMeshKey::kind = SHAPE::RECTANGLE |
Rectangle or ellipse.
Definition at line 18 of file GuiMeshCache.h.
| GuiPaint GuiMeshKey::paint |
Fill, outline and shadow.
Definition at line 22 of file GuiMeshCache.h.
| float GuiMeshKey::tolerance = 0.0f |
Curve tolerance, see GuiMesh.
Definition at line 24 of file GuiMeshCache.h.
| int GuiMeshKey::width = 0 |
Width in design-canvas pixels.
Definition at line 19 of file GuiMeshCache.h.