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.

FieldType and defaultMeaning
RecordTables::RecordThe name, flags and handles every table record carries.
HeightdoubleThe height every text of the style takes; 0 when each text gives its own. Group 40.
Widthdouble{1}The width of characters over their height. Group 41.
ObliquedoubleThe slant of characters, in degrees. Group 50.
GenerationintBits: 2 for text drawn backward, 4 for text drawn upside down. Group 71.
Previousdouble{Last}The height the style was last used at. Group 42.
Fontstd::string{"txt"}The font file, such as "txt" or "arial.ttf". Group 3.
Bigfontstd::stringThe big font file for Asian characters; empty for none. Group 4.

Constants

Lastdouble = 2.5The last height a new text style was used at.