Go to the documentation of this file.
49 fprintf(fd,
"{:DynamicLineArt ");
165 int start,
int arc,
MHEngine *engine)
185 for (
int i = 0; i <
args->GetSeqCount(); i++)
189 pPoint->Initialise(
args->GetSeqN(i), engine);
199 for (
int i = 0; i < nPoints; i++)
void PrintArgs(FILE *fd, int nTabs) const override
void DrawRectangle(int x1, int y1, int x2, int y2, MHEngine *engine) override
void Initialise(MHParseNode *p, MHEngine *engine) override
void DrawPoly(bool fIsPolygon, const MHPointVec &xArray, const MHPointVec &yArray, MHEngine *engine) override
static MHRgba GetColour(const MHColour &colour)
virtual void DrawArcSector(int x, int y, int width, int height, int start, int arc, bool isSector)=0
void Display(MHEngine *d) override
virtual void SetVariableValue(const MHUnion &)
virtual void Initialise(MHParseNode *p, MHEngine *engine)
void Preparation(MHEngine *engine) override
void SetLineWidth(int nWidth, MHEngine *engine) override
virtual void DrawOval(int x, int y, int width, int height)=0
void DrawLine(int x1, int y1, int x2, int y2, MHEngine *engine) override
QRegion GetOpaqueArea() override
virtual void SetFillColour(MHRgba colour)=0
void Redraw(const QRegion ®ion)
void Initialise(MHParseNode *p, MHEngine *engine) override
void PrintMe(FILE *fd, int nTabs) const override
virtual void SetLineColour(MHRgba colour)=0
void SetLineStyle(int nStyle, MHEngine *engine) override
void PrintMe(FILE *fd, int nTabs) const override
void PrintTabs(FILE *fd, int n)
virtual QRegion GetVisibleArea()
virtual void DrawPoly(bool isFilled, const MHPointVec &xArray, const MHPointVec &yArray)=0
~MHDynamicLineArt() override
void Preparation(MHEngine *engine) override
virtual MHDLADisplay * CreateDynamicLineArt(bool isBoxed, MHRgba lineColour, MHRgba fillColour)=0
void GetLineColour(MHRoot *pResult) override
MHRoot * Target(MHEngine *engine)
void DrawArcSector(bool fIsSector, int x, int y, int width, int height, int start, int arc, MHEngine *engine) override
virtual void DrawPoly(bool, const MHPointVec &, const MHPointVec &, MHEngine *)
void GetFillColour(MHRoot *pResult) override
void SetBoxSize(int nWidth, int nHeight, MHEngine *engine) override
MHOwnPtrSequence< MHPointArg > m_points
void SetBoxSize(int nWidth, int nHeight, MHEngine *engine) override
virtual void DrawBorderedRectangle(int x, int y, int width, int height)=0
void Copy(const MHColour &col)
void SetFillColour(const MHColour &colour, MHEngine *engine) override
void Perform(MHEngine *engine) override
void DrawOval(int x1, int y1, int width, int height, MHEngine *engine) override
int GetValue(MHEngine *engine) const
virtual void DrawLine(int x1, int y1, int x2, int y2)=0
virtual void SetLineSize(int width)=0
MHColour m_origLineColour
void SetLineColour(const MHColour &colour, MHEngine *engine) override
virtual void Draw(int x, int y)=0
virtual void SetSize(int width, int height)=0
MHColour m_origFillColour
std::vector< int > MHPointVec
void Initialise(MHParseNode *p, MHEngine *engine) override