Ok. To recap on some of the basics of this
The RenderedString system as provided should be thought of as a state machine - so tags do not affect one part of the text, but rather they set some state(s) that stay in effect until either the end of the string or until some other tag changes the state.
All tags are in the form:
[
tag-name='
value']
value is always in single quotes.
To print a [ in the string you have to escape it with backslash. There is no need to escape the ending ]. If you're putting such things in C/C++ strings, don't forget to additionally escape the backslash character:
Code: Select all
const char* c_string = "This is escaped \\[not_a_tag]"
And, to answer your actual questions:
Generally values are in the same format as for xml / script properties.
A Rect looks like:
Code: Select all
l:<left_edge> t:<top_edge> r:<right_edge> b:<bottom_edge>
so that's l (ell), t, r and b to specify the left, top, right and bottom edges. They have to be in this order.
A Size is:
so, w for width and h for height. Again, the order is important.
All values are floats.
HTH
CE