Pulsar::PlotAttributes Class Reference

Stores the properties of the plot frame. More...

#include <PlotAttributes.h>

Inheritance diagram for Pulsar::PlotAttributes:
Reference::Able Reference::HeapTracked Pulsar::MultiFrame Pulsar::PlotFrame

Public Member Functions

 PlotAttributes ()
 Default constructor.
 ~PlotAttributes ()
 Destructor.
virtual void set_character_height (float h)
 Set the character height.
float get_character_height () const
virtual void set_character_font (int font)
 Set the character font.
int get_character_font () const
virtual void set_line_width (int width)
 Set the line width.
int get_line_width () const
PlotLabelget_label_above ()
 Get the above-frame label.
void set_label_above (PlotLabel *)
 Set the above-frame label.
virtual void apply_set (const std::string &name)
 Apply the named customization option set.
std::string get_applied () const
 Get the applied set.
virtual void publication_quality ()
 Set publication quality character height and font and line width.
virtual void no_labels ()
 Remove all plot labels.
void setup ()
 Set the plot colour line and text attributes.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

Reference::To< PlotLabelabove
float character_height
int character_font
int line_width
std::string set_applied

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Stores the properties of the plot frame.

Member Function Documentation

◆ apply_set()

void Pulsar::PlotAttributes::apply_set ( const std::string & name)
virtual

Apply the named customization option set.

Apply a named set of commands (a shortcut)

References no_labels(), and publication_quality().

◆ no_labels()

void Pulsar::PlotAttributes::no_labels ( )
virtual

Remove all plot labels.

Reimplemented in Pulsar::MultiFrame, and Pulsar::PlotFrame.

Referenced by apply_set(), and Pulsar::PlotFrame::no_labels().

◆ set_character_font()

void Pulsar::PlotAttributes::set_character_font ( int font)
virtual

◆ set_character_height()

void Pulsar::PlotAttributes::set_character_height ( float h)
virtual

◆ set_line_width()

void Pulsar::PlotAttributes::set_line_width ( int width)
virtual

The documentation for this class was generated from the following files:

Generated using doxygen 1.14.0