Skip to main content

CorePlotting::GlyphStyleData

CorePlotting::GlyphStyleData

Serializable glyph style configuration. More…

#include <GlyphStyleData.hpp>

Public Attributes

Name
GlyphType glyph_type
Marker shape.
float size
Marker size in pixels.
std::string hex_color
Color as hex string (e.g., “#007bff”).
float alpha
Alpha transparency [0.0, 1.0].

Detailed Description

struct CorePlotting::GlyphStyleData;

Serializable glyph style configuration.

Contains all user-configurable visual properties for rendering discrete markers. This struct is designed to be embedded directly in plot state data structs for reflectcpp serialization.

All fields have sensible defaults so a default-constructed GlyphStyleData produces visible Circle markers.

Public Attributes Documentation

variable glyph_type

GlyphType glyph_type = GlyphType::Circle;

Marker shape.

variable size

float size = 5.0f;

Marker size in pixels.

variable hex_color

std::string hex_color = "#007bff";

Color as hex string (e.g., “#007bff”).

variable alpha

float alpha = 1.0f;

Alpha transparency [0.0, 1.0].


Updated on 2026-11-13 at 20:25:42 +0000