![]() |
HIRO_DRAW
Computer Graphics Structures library
|
Stylization of the rendered graph. More...
Public Member Functions | |
| bool | ReadFromStream (std::istream &str) override |
| Imports state from stream. | |
| void | WriteToStream (std::ostream &str) override |
| Exports state to stream. | |
Data Fields | |
| std::string | caption { "" } |
| Graph name label. | |
| cogs::Color3f | text_color { cogs::color::GRAY60 } |
| Color of the text labels. | |
| cogs::Color3f | line_color { cogs::color::GOLD } |
| Color of the graph line. | |
| int32_t | line_width { 2 } |
| Width of the graph line. | |
| int32_t | point_size { 5 } |
| Pixel size of the graph data points. | |
| geom::IRect | target_area { geom::IRect(50, 50, 250, 250) } |
| 2D area defining the screen region in which the graph will be displayed. | |
Data Fields inherited from hiro::draw::Style | |
| bool | visible = true |
| Whether the renderer that uses this style should be skipped during the rendering. | |
| cogs::Transform | transform |
| Model transformation applied to the renderer. In shader will appear as MODEL_MATRIX. | |
Additional Inherited Members | |
Protected Member Functions inherited from hiro::draw::Style | |
| bool | ReadVersion (std::istream &str, const uint32_t expected_version) |
| Read uint32_t version from stream and check if it is equal to the expected version. | |
Stylization of the rendered graph.