#include <idraw.h>
Static Public Member Functions | |
static void | prologue () |
static void | epilog () |
static void | pict () |
static void | pict (const Transformer &) |
static void | end () |
static void | text (Canvas *, const char *, const Transformer &, const Font *f=nil, const Color *c=nil) |
static void | mline (Canvas *, int count, const Coord *x, const Coord *y, const Color *c=nil, const Brush *b=nil) |
static void | polygon (Canvas *, int count, const Coord *x, const Coord *y, const Color *c=nil, const Brush *b=nil, boolean fill=false) |
static void | rect (Canvas *, Coord x1, Coord y1, Coord x2, Coord y2, const Color *c=nil, const Brush *b=nil, boolean fill=false) |
static void | line (Canvas *, Coord x1, Coord y1, Coord x2, Coord y2, const Color *c=nil, const Brush *b=nil) |
static void | ellipse (Canvas *, Coord x1, Coord y1, Coord width, Coord height, const Color *c=nil, const Brush *b=nil, boolean fill=false) |
static void | new_path () |
static void | move_to (Coord x, Coord y) |
static void | line_to (Coord x, Coord y) |
static void | curve_to (Coord x, Coord y, Coord x1, Coord y1, Coord x2, Coord y2) |
static void | close_path () |
static void | stroke (Canvas *, const Color *, const Brush *) |
static void | fill (Canvas *, const Color *) |
static void | bspl (Canvas *, int count, const Coord *x, const Coord *y, const Color *c=nil, const Brush *b=nil) |
static void | cbspl (Canvas *, int count, const Coord *x, const Coord *y, const Color *c=nil, const Brush *b=nil, boolean fill=false) |
Static Public Attributes | |
static ostream * | idraw_stream |
Static Private Member Functions | |
static void | rcurve (int level, Coord x, Coord y, Coord x1, Coord y1, Coord x2, Coord y2) |
static void | poly (int count, const Coord *x, const Coord *y, const Color *c=nil, const Brush *b=nil, boolean fill=false) |
static void | add (Coord, Coord) |
static void | brush (const Brush *) |
static void | ifill (const Color *, boolean) |
Static Private Attributes | |
static boolean | closed_ |
static boolean | curved_ |
static Coord * | xpath_ |
static Coord * | ypath_ |
static int | ipath_ |
static int | capacity_ |
static void OcIdraw::add | ( | Coord | , | |
Coord | ||||
) | [static, private] |
static void OcIdraw::brush | ( | const Brush * | ) | [static, private] |
static void OcIdraw::bspl | ( | Canvas * | , | |
int | count, | |||
const Coord * | x, | |||
const Coord * | y, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil | |||
) | [static] |
static void OcIdraw::cbspl | ( | Canvas * | , | |
int | count, | |||
const Coord * | x, | |||
const Coord * | y, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil , |
|||
boolean | fill = false | |||
) | [static] |
static void OcIdraw::close_path | ( | ) | [static] |
static void OcIdraw::curve_to | ( | Coord | x, | |
Coord | y, | |||
Coord | x1, | |||
Coord | y1, | |||
Coord | x2, | |||
Coord | y2 | |||
) | [static] |
static void OcIdraw::ellipse | ( | Canvas * | , | |
Coord | x1, | |||
Coord | y1, | |||
Coord | width, | |||
Coord | height, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil , |
|||
boolean | fill = false | |||
) | [static] |
static void OcIdraw::end | ( | ) | [static] |
static void OcIdraw::epilog | ( | ) | [static] |
static void OcIdraw::fill | ( | Canvas * | , | |
const Color * | ||||
) | [static] |
static void OcIdraw::line | ( | Canvas * | , | |
Coord | x1, | |||
Coord | y1, | |||
Coord | x2, | |||
Coord | y2, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil | |||
) | [static] |
static void OcIdraw::line_to | ( | Coord | x, | |
Coord | y | |||
) | [static] |
static void OcIdraw::mline | ( | Canvas * | , | |
int | count, | |||
const Coord * | x, | |||
const Coord * | y, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil | |||
) | [static] |
static void OcIdraw::move_to | ( | Coord | x, | |
Coord | y | |||
) | [static] |
static void OcIdraw::new_path | ( | ) | [static] |
static void OcIdraw::pict | ( | const Transformer & | ) | [static] |
static void OcIdraw::pict | ( | ) | [static] |
static void OcIdraw::poly | ( | int | count, | |
const Coord * | x, | |||
const Coord * | y, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil , |
|||
boolean | fill = false | |||
) | [static, private] |
static void OcIdraw::polygon | ( | Canvas * | , | |
int | count, | |||
const Coord * | x, | |||
const Coord * | y, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil , |
|||
boolean | fill = false | |||
) | [static] |
static void OcIdraw::prologue | ( | ) | [static] |
static void OcIdraw::rcurve | ( | int | level, | |
Coord | x, | |||
Coord | y, | |||
Coord | x1, | |||
Coord | y1, | |||
Coord | x2, | |||
Coord | y2 | |||
) | [static, private] |
static void OcIdraw::rect | ( | Canvas * | , | |
Coord | x1, | |||
Coord | y1, | |||
Coord | x2, | |||
Coord | y2, | |||
const Color * | c = nil , |
|||
const Brush * | b = nil , |
|||
boolean | fill = false | |||
) | [static] |
static void OcIdraw::stroke | ( | Canvas * | , | |
const Color * | , | |||
const Brush * | ||||
) | [static] |
static void OcIdraw::text | ( | Canvas * | , | |
const char * | , | |||
const Transformer & | , | |||
const Font * | f = nil , |
|||
const Color * | c = nil | |||
) | [static] |
int OcIdraw::capacity_ [static, private] |
boolean OcIdraw::closed_ [static, private] |
boolean OcIdraw::curved_ [static, private] |
ostream* OcIdraw::idraw_stream [static] |
int OcIdraw::ipath_ [static, private] |
Coord* OcIdraw::xpath_ [static, private] |
Coord * OcIdraw::ypath_ [static, private] |