Tables
tables/ style
#include "dxfio/tables/style.hpp"In DxfIO::Tables
struct StyleSTYLE
A STYLE table record: the font and proportions text is drawn with. Its flags are 1 for a shape file rather than a text style and 4 for vertical text.
| Field | Type and default | Meaning |
|---|---|---|
Record | Tables::Record | The name, flags and handles every table record carries. |
Height | double | The height every text of the style takes; 0 when each text gives its own. Group 40. |
Width | double{1} | The width of characters over their height. Group 41. |
Oblique | double | The slant of characters, in degrees. Group 50. |
Generation | int | Bits: 2 for text drawn backward, 4 for text drawn upside down. Group 71. |
Previous | double{Last} | The height the style was last used at. Group 42. |
Font | std::string{"txt"} | The font file, such as "txt" or "arial.ttf". Group 3. |
Bigfont | std::string | The big font file for Asian characters; empty for none. Group 4. |
Constants
Last | double = 2.5 | The last height a new text style was used at. |