Horizon
Public Member Functions | Public Attributes | Friends | List of all members
horizon::CanvasAnnotation Class Reference

Public Member Functions

 CanvasAnnotation (class CanvasGL *c, int l)
 
void set_display (const class LayerDisplay &ld)
 
void set_visible (bool v)
 
void clear ()
 
void draw_line (const std::deque< Coordf > &pts, ColorP color, uint64_t width)
 
void draw_line (const Coordf &from, const Coordf &to, ColorP color, uint64_t width, bool highlight=false, uint8_t color2=0)
 
void draw_polygon (const std::deque< Coordf > &pts, ColorP color, uint64_t width)
 
 CanvasAnnotation (class CanvasGL *c, int l)
 
void set_display (const class LayerDisplay &ld)
 
void set_visible (bool v)
 
void clear ()
 
void draw_line (const std::deque< Coordf > &pts, ColorP color, uint64_t width)
 
void draw_line (const Coordf &from, const Coordf &to, ColorP color, uint64_t width, bool highlight=false, uint8_t color2=0)
 
void draw_polygon (const std::deque< Coordf > &pts, ColorP color, uint64_t width)
 

Public Attributes

bool on_top = true
 
bool use_highlight = false
 

Friends

class CanvasGL
 

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