|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Style descriptor for TikZ primitives. More...
#include <tikzgeom.H>
Public Attributes | |
| std::string | tikz_style_name |
Optional named style (from \tikzset) | |
| std::string | draw_color = "black" |
TikZ draw color (draw=<color>) | |
| std::string | fill_color |
TikZ fill color (fill=<color>) | |
| std::string | pattern |
TikZ pattern (e.g. north east lines) | |
| std::string | pattern_color |
TikZ pattern color (pattern color=<color>) | |
| std::string | text_color |
TikZ text color (text=<color>) | |
| std::string | text_anchor |
TikZ node anchor (anchor=<value>) | |
| std::string | text_placement |
TikZ placement (above, below left, ...) | |
| std::string | extra_options |
| Raw extra options appended as-is. | |
| std::string | text_font_command |
e.g. \\small, \\footnotesize | |
| double | line_width_mm = -1.0 |
line width=<value>mm when > 0 | |
| double | opacity = -1.0 |
opacity=<value> in [0,1], when >= 0 | |
| bool | dashed = false |
Add dashed | |
| bool | dotted = false |
Add dotted | |
| bool | thick = false |
Add thick | |
| bool | with_arrow = false |
Add -> | |
| bool | fill = false |
| Fill closed shapes (polygon/triangle/ellipse) | |
Style descriptor for TikZ primitives.
The same style can be reused across points/segments/polygons/labels. Unsupported flags for a specific primitive are ignored (for example, with_arrow on text).
Definition at line 85 of file tikzgeom.H.
Add dashed
Definition at line 101 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), and Aleph::tikz_wire_style().
Add dotted
Definition at line 102 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options().
| std::string Aleph::Tikz_Style::draw_color = "black" |
TikZ draw color (draw=<color>)
Definition at line 88 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::collect_legend_entries(), Aleph::Tikz_Plane::draw_options(), main(), Aleph::make_tikz_draw_style(), Aleph::make_tikz_fill_style(), Aleph::Tikz_Plane::point_options(), Aleph::put_aabb_tree_result(), Aleph::put_convex_decomposition_result(), Aleph::put_kdtree_partitions_result(), Aleph::put_range_tree_result(), Aleph::put_segment_arrangement_result(), Aleph::put_trapezoidal_map_result(), Aleph::Tikz_Plane::text_options(), Aleph::tikz_area_style(), Aleph::tikz_points_style(), and Aleph::tikz_wire_style().
| std::string Aleph::Tikz_Style::extra_options |
Raw extra options appended as-is.
Definition at line 95 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), Aleph::Tikz_Plane::point_options(), and Aleph::Tikz_Plane::text_options().
Fill closed shapes (polygon/triangle/ellipse)
Definition at line 105 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), Aleph::make_tikz_fill_style(), Aleph::put_convex_decomposition_result(), Aleph::put_segment_arrangement_result(), and Aleph::tikz_area_style().
| std::string Aleph::Tikz_Style::fill_color |
TikZ fill color (fill=<color>)
Definition at line 89 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), Aleph::make_tikz_fill_style(), Aleph::Tikz_Plane::point_options(), Aleph::put_convex_decomposition_result(), Aleph::put_segment_arrangement_result(), Aleph::tikz_area_style(), and Aleph::tikz_points_style().
| double Aleph::Tikz_Style::line_width_mm = -1.0 |
line width=<value>mm when > 0
Definition at line 98 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options().
| double Aleph::Tikz_Style::opacity = -1.0 |
opacity=<value> in [0,1], when >= 0
Definition at line 99 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), Aleph::Tikz_Plane::point_options(), Aleph::Tikz_Plane::text_options(), Aleph::tikz_area_style(), and Aleph::tikz_points_style().
| std::string Aleph::Tikz_Style::pattern |
TikZ pattern (e.g. north east lines)
Definition at line 90 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), and TEST().
| std::string Aleph::Tikz_Style::pattern_color |
TikZ pattern color (pattern color=<color>)
Definition at line 91 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), and TEST().
| std::string Aleph::Tikz_Style::text_anchor |
TikZ node anchor (anchor=<value>)
Definition at line 93 of file tikzgeom.H.
Referenced by TEST(), and Aleph::Tikz_Plane::text_options().
| std::string Aleph::Tikz_Style::text_color |
TikZ text color (text=<color>)
Definition at line 92 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::text_options().
| std::string Aleph::Tikz_Style::text_font_command |
e.g. \\small, \\footnotesize
Definition at line 96 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_text().
| std::string Aleph::Tikz_Style::text_placement |
TikZ placement (above, below left, ...)
Definition at line 94 of file tikzgeom.H.
Referenced by Aleph::put_point_label_in_plane(), TEST(), and Aleph::Tikz_Plane::text_options().
Add thick
Definition at line 103 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), and Aleph::tikz_path_style().
| std::string Aleph::Tikz_Style::tikz_style_name |
Optional named style (from \tikzset)
Definition at line 87 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), main(), Aleph::Tikz_Plane::point_options(), TEST(), and Aleph::Tikz_Plane::text_options().
Add ->
Definition at line 104 of file tikzgeom.H.
Referenced by Aleph::Tikz_Plane::draw_options(), and Aleph::tikz_wire_style().