HAL  v4.5.0-283-g3f42a39fa
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::ctv::Style Struct Reference

#include </home/runner/work/hal/hal/plugins/clock_tree_viewer/include/clock_tree_viewer/clock_tree_layout.h>

Collaboration diagram for hal::ctv::Style:
Collaboration graph

Public Attributes

double node_radius
 
double edge_width
 
double picture_margin
 
double pixels_per_unit
 
bool pixels_per_unit_is_fixed
 

Detailed Description

The sizes of the drawing. All lengths are in the unit of the gate coordinates.

Definition at line 101 of file clock_tree_layout.h.

Member Data Documentation

◆ edge_width

double hal::ctv::Style::edge_width

The width of the lines that represent connections.

Definition at line 107 of file clock_tree_layout.h.

Referenced by hal::ctv::resolve_style(), hal::ClockTreeScene::setColors(), and hal::ClockTreeScene::setLayout().

◆ node_radius

double hal::ctv::Style::node_radius

The radius of the dot that represents a gate.

Definition at line 104 of file clock_tree_layout.h.

Referenced by hal::ctv::resolve_style(), hal::ClockTreeScene::setLayout(), and hal::ClockTreeGraphicsView::showArea().

◆ picture_margin

double hal::ctv::Style::picture_margin

The empty border around the tree in a picture.

Definition at line 110 of file clock_tree_layout.h.

Referenced by hal::ClockTreeScene::renderPicture(), hal::ctv::resolve_style(), and hal::ClockTreeScene::setLayout().

◆ pixels_per_unit

double hal::ctv::Style::pixels_per_unit

The resolution of a picture. Unless the user chose it, a picture that would exceed MAX_PICTURE_SIDE_PIXELS gets a lower one, see ClockTreeScene::renderPicture.

Definition at line 116 of file clock_tree_layout.h.

Referenced by hal::ClockTreeScene::renderPicture(), and hal::ctv::resolve_style().

◆ pixels_per_unit_is_fixed

bool hal::ctv::Style::pixels_per_unit_is_fixed

Whether the user chose pixels_per_unit, which is then never lowered.

Definition at line 119 of file clock_tree_layout.h.

Referenced by hal::ClockTreeScene::renderPicture(), and hal::ctv::resolve_style().


The documentation for this struct was generated from the following file: