46 :
schema(0, 0, s->width()+2*margin, s->height()+2*margin),
void addOutput(const point &p)
unsigned int outputs() const
topSchema(schema *s1, double margin, const string &text, const string &link)
A topSchema is a schema surrounded by a dashed rectangle with a label on the top left.
virtual point inputPoint(unsigned int i) const =0
void beginPlace(double x, double y, int orientation)
virtual point outputPoint(unsigned int i) const
Top schema has no output.
virtual void draw(device &dev)=0
A topSchema is a schema surrounded by a dashed rectangle with a label on the top left.
virtual void collectTraits(collector &c)
Draw the enlarged schema.
virtual void collectTraits(collector &c)=0
virtual void label(double x, double y, const char *name)=0
virtual point inputPoint(unsigned int i) const
Top schema has no input.
unsigned int inputs() const
virtual void draw(device &dev)
Draw the enlarged schema.
virtual void rect(double x, double y, double l, double h, const char *color, const char *link)=0
schema * makeDecorateSchema(schema *s, double margin, const string &text)
Creates a new decorated schema.
virtual void place(double x, double y, int orientation)=0
virtual point outputPoint(unsigned int i) const =0
An abstract block diagram schema.
virtual void fleche(double x, double y, double rotation, int sens)=0
void addInput(const point &p)
virtual void place(double ox, double oy, int orientation)
Define the graphic position of the schema.
schema * makeTopSchema(schema *s, double margin, const string &text, const string &link)
Creates a new top schema.