pelib  2.0.0
Canvas Class Reference

List of all members.

Public Member Functions

 Canvas (double height, double width, double thickness, double magnify, map< float, uint32_t > colors, bool drawDeadline, bool showFrequencies)
void dump (ostream &os, const Schedule *sched, const Taskgraph *tg, const Platform *pt, bool show_task_id, bool useTaskName, float strokeSize)
void drawTask (double time, double width, double frequency, double start, double firstCore, string label, bool show_task_id)
double idealFontSize (double time, double width, string label, double startSize)
void drawBarrier (double time)
double getFontSize () const
void setFontSize (double size)
double getWidth () const
double getHeight () const

Protected Member Functions

void setColor (uint32_t rgba)

Protected Attributes

float thickness
double magnify
double height
double width
double absthick
double core_size
double margin
double legend_size
double fontSize
double yaxis_size
bool drawDeadline
bool showFrequencies
map< float, uint32_t > colors

Detailed Description

Definition at line 369 of file TetrisSchedule.cpp.


Constructor & Destructor Documentation

Canvas::Canvas ( double  height,
double  width,
double  thickness,
double  magnify,
map< float, uint32_t >  colors,
bool  drawDeadline,
bool  showFrequencies 
) [inline]

Definition at line 372 of file TetrisSchedule.cpp.


Member Function Documentation

void Canvas::drawBarrier ( double  time) [inline]

Definition at line 746 of file TetrisSchedule.cpp.

void Canvas::drawTask ( double  time,
double  width,
double  frequency,
double  start,
double  firstCore,
string  label,
bool  show_task_id 
) [inline]

Definition at line 662 of file TetrisSchedule.cpp.

void Canvas::dump ( ostream &  os,
const Schedule sched,
const Taskgraph tg,
const Platform pt,
bool  show_task_id,
bool  useTaskName,
float  strokeSize 
) [inline]

Definition at line 384 of file TetrisSchedule.cpp.

double Canvas::getFontSize ( ) const [inline]

Definition at line 759 of file TetrisSchedule.cpp.

double Canvas::getHeight ( ) const [inline]

Definition at line 778 of file TetrisSchedule.cpp.

double Canvas::getWidth ( ) const [inline]

Definition at line 772 of file TetrisSchedule.cpp.

double Canvas::idealFontSize ( double  time,
double  width,
string  label,
double  startSize 
) [inline]

Definition at line 709 of file TetrisSchedule.cpp.

void Canvas::setColor ( uint32_t  rgba) [inline, protected]

Definition at line 785 of file TetrisSchedule.cpp.

void Canvas::setFontSize ( double  size) [inline]

Definition at line 765 of file TetrisSchedule.cpp.


Member Data Documentation

double Canvas::absthick [protected]

Definition at line 794 of file TetrisSchedule.cpp.

map<float, uint32_t> Canvas::colors [protected]

Definition at line 802 of file TetrisSchedule.cpp.

double Canvas::core_size [protected]

Definition at line 795 of file TetrisSchedule.cpp.

bool Canvas::drawDeadline [protected]

Definition at line 800 of file TetrisSchedule.cpp.

double Canvas::fontSize [protected]

Definition at line 798 of file TetrisSchedule.cpp.

double Canvas::height [protected]

Definition at line 792 of file TetrisSchedule.cpp.

double Canvas::legend_size [protected]

Definition at line 797 of file TetrisSchedule.cpp.

double Canvas::magnify [protected]

Definition at line 791 of file TetrisSchedule.cpp.

double Canvas::margin [protected]

Definition at line 796 of file TetrisSchedule.cpp.

bool Canvas::showFrequencies [protected]

Definition at line 801 of file TetrisSchedule.cpp.

float Canvas::thickness [protected]

Definition at line 790 of file TetrisSchedule.cpp.

double Canvas::width [protected]

Definition at line 793 of file TetrisSchedule.cpp.

double Canvas::yaxis_size [protected]

Definition at line 799 of file TetrisSchedule.cpp.


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