3 #include "common/common.hpp"
4 #include "color_palette.hpp"
7 class CanvasAnnotation {
11 CanvasAnnotation(
class CanvasGL *c,
int l);
12 void set_display(
const class LayerDisplay &ld);
13 void set_visible(
bool v);
15 void draw_line(
const std::deque<Coordf> &pts, ColorP color,
uint64_t width);
16 void draw_line(
const Coordf &from,
const Coordf &to, ColorP color,
uint64_t width,
bool highlight =
false,
18 void draw_polygon(
const std::deque<Coordf> &pts, ColorP color,
uint64_t width);
20 bool use_highlight =
false;