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. | |
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 |
Anti-aliasing fringe width, see GuiMesh.
Definition at line 23 of file GuiMeshCache.h.
| int GuiMeshKey::height |
Height in design-canvas pixels.
Definition at line 20 of file GuiMeshCache.h.
| SHAPE GuiMeshKey::kind |
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 |
Curve tolerance, see GuiMesh.
Definition at line 24 of file GuiMeshCache.h.
| int GuiMeshKey::width |
Width in design-canvas pixels.
Definition at line 19 of file GuiMeshCache.h.