NEURON
OcIdraw Class Reference

#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=NULL, const Color *c=NULL)
 
static void mline (Canvas *, int count, const Coord *x, const Coord *y, const Color *c=NULL, const Brush *b=NULL)
 
static void polygon (Canvas *, int count, const Coord *x, const Coord *y, const Color *c=NULL, const Brush *b=NULL, bool fill=false)
 
static void rect (Canvas *, Coord x1, Coord y1, Coord x2, Coord y2, const Color *c=NULL, const Brush *b=NULL, bool fill=false)
 
static void line (Canvas *, Coord x1, Coord y1, Coord x2, Coord y2, const Color *c=NULL, const Brush *b=NULL)
 
static void ellipse (Canvas *, Coord x1, Coord y1, Coord width, Coord height, const Color *c=NULL, const Brush *b=NULL, bool 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=NULL, const Brush *b=NULL)
 
static void cbspl (Canvas *, int count, const Coord *x, const Coord *y, const Color *c=NULL, const Brush *b=NULL, bool fill=false)
 

Static Public Attributes

static std::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=NULL, const Brush *b=NULL, bool fill=false)
 
static void add (Coord, Coord)
 
static void brush (const Brush *)
 
static void ifill (const Color *, bool)
 

Static Private Attributes

static bool closed_
 
static bool curved_
 
static Coordxpath_
 
static Coordypath_
 
static int ipath_
 
static int capacity_
 

Detailed Description

Definition at line 12 of file idraw.h.

Member Function Documentation

◆ add()

static void OcIdraw::add ( Coord  ,
Coord   
)
staticprivate

◆ brush()

static void OcIdraw::brush ( const Brush )
staticprivate

◆ bspl()

static void OcIdraw::bspl ( Canvas ,
int  count,
const Coord x,
const Coord y,
const Color c = NULL,
const Brush b = NULL 
)
static

◆ cbspl()

static void OcIdraw::cbspl ( Canvas ,
int  count,
const Coord x,
const Coord y,
const Color c = NULL,
const Brush b = NULL,
bool  fill = false 
)
static

◆ close_path()

static void OcIdraw::close_path ( )
static

◆ curve_to()

static void OcIdraw::curve_to ( Coord  x,
Coord  y,
Coord  x1,
Coord  y1,
Coord  x2,
Coord  y2 
)
static

◆ ellipse()

static void OcIdraw::ellipse ( Canvas ,
Coord  x1,
Coord  y1,
Coord  width,
Coord  height,
const Color c = NULL,
const Brush b = NULL,
bool  fill = false 
)
static

◆ end()

static void OcIdraw::end ( )
static

◆ epilog()

static void OcIdraw::epilog ( )
static

◆ fill()

static void OcIdraw::fill ( Canvas ,
const Color  
)
static

◆ ifill()

static void OcIdraw::ifill ( const Color ,
bool   
)
staticprivate

◆ line()

static void OcIdraw::line ( Canvas ,
Coord  x1,
Coord  y1,
Coord  x2,
Coord  y2,
const Color c = NULL,
const Brush b = NULL 
)
static

◆ line_to()

static void OcIdraw::line_to ( Coord  x,
Coord  y 
)
static

◆ mline()

static void OcIdraw::mline ( Canvas ,
int  count,
const Coord x,
const Coord y,
const Color c = NULL,
const Brush b = NULL 
)
static

◆ move_to()

static void OcIdraw::move_to ( Coord  x,
Coord  y 
)
static

◆ new_path()

static void OcIdraw::new_path ( )
static

◆ pict() [1/2]

static void OcIdraw::pict ( )
static

◆ pict() [2/2]

static void OcIdraw::pict ( const Transformer )
static

◆ poly()

static void OcIdraw::poly ( int  count,
const Coord x,
const Coord y,
const Color c = NULL,
const Brush b = NULL,
bool  fill = false 
)
staticprivate

◆ polygon()

static void OcIdraw::polygon ( Canvas ,
int  count,
const Coord x,
const Coord y,
const Color c = NULL,
const Brush b = NULL,
bool  fill = false 
)
static

◆ prologue()

static void OcIdraw::prologue ( )
static

◆ rcurve()

static void OcIdraw::rcurve ( int  level,
Coord  x,
Coord  y,
Coord  x1,
Coord  y1,
Coord  x2,
Coord  y2 
)
staticprivate

◆ rect()

static void OcIdraw::rect ( Canvas ,
Coord  x1,
Coord  y1,
Coord  x2,
Coord  y2,
const Color c = NULL,
const Brush b = NULL,
bool  fill = false 
)
static

◆ stroke()

static void OcIdraw::stroke ( Canvas ,
const Color ,
const Brush  
)
static

◆ text()

static void OcIdraw::text ( Canvas ,
const char *  ,
const Transformer ,
const Font f = NULL,
const Color c = NULL 
)
static

Member Data Documentation

◆ capacity_

int OcIdraw::capacity_
staticprivate

Definition at line 99 of file idraw.h.

◆ closed_

bool OcIdraw::closed_
staticprivate

Definition at line 96 of file idraw.h.

◆ curved_

bool OcIdraw::curved_
staticprivate

Definition at line 97 of file idraw.h.

◆ idraw_stream

std::ostream* OcIdraw::idraw_stream
static

Definition at line 83 of file idraw.h.

◆ ipath_

int OcIdraw::ipath_
staticprivate

Definition at line 99 of file idraw.h.

◆ xpath_

Coord* OcIdraw::xpath_
staticprivate

Definition at line 98 of file idraw.h.

◆ ypath_

Coord * OcIdraw::ypath_
staticprivate

Definition at line 98 of file idraw.h.


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