|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A set of static strings that are commonly used by the RelativeCoordinate class. More...
#include "juce_RelativeCoordinate.h"
Static Public Attributes | |
| static const String | parent |
| "parent" | |
| static const String | left |
| "left" | |
| static const String | right |
| "right" | |
| static const String | top |
| "top" | |
| static const String | bottom |
| "bottom" | |
| static const String | x |
| "x" | |
| static const String | y |
| "y" | |
| static const String | width |
| "width" | |
| static const String | height |
| "height" | |
A set of static strings that are commonly used by the RelativeCoordinate class.
As well as avoiding using string literals in your code, using these preset values has the advantage that all instances of the same string will share the same, reference-counted String object, so if you have thousands of points which all refer to the same anchor points, this can save a significant amount of memory allocation.
Definition at line 149 of file juce_RelativeCoordinate.h.
"bottom"
Definition at line 155 of file juce_RelativeCoordinate.h.
"height"
Definition at line 159 of file juce_RelativeCoordinate.h.
"left"
Definition at line 152 of file juce_RelativeCoordinate.h.
"parent"
Definition at line 151 of file juce_RelativeCoordinate.h.
"right"
Definition at line 153 of file juce_RelativeCoordinate.h.
"top"
Definition at line 154 of file juce_RelativeCoordinate.h.
"width"
Definition at line 158 of file juce_RelativeCoordinate.h.
"x"
Definition at line 156 of file juce_RelativeCoordinate.h.
"y"
Definition at line 157 of file juce_RelativeCoordinate.h.