Example #1
0
 public override void SetLineWidth(int nWidth, MHEngine engine)
 {
     m_nLineWidth = nWidth;
     engine.Redraw(GetVisibleArea());
 }
Example #2
0
 public override void DrawPoly(bool fIsPolygon, System.Drawing.Point[] points, MHEngine engine)
 {
     m_picture.DrawPoly(fIsPolygon, points);
     engine.Redraw(GetVisibleArea());
 }
Example #3
0
 public override void SetLineColour(MHColour colour, MHEngine engine)
 {
     m_LineColour.Copy(colour);
     engine.Redraw(GetVisibleArea());
 }
Example #4
0
 public override void DrawOval(int x, int y, int width, int height, MHEngine engine)
 {
     m_picture.DrawOval(x, y, width, height);
     engine.Redraw(GetVisibleArea());
 }
Example #5
0
 public override void DrawRectangle(int x1, int y1, int x2, int y2, MHEngine engine)
 {
     m_picture.DrawBorderedRectangle(x1, y1, x2 - x1, y2 - y1);
     engine.Redraw(GetVisibleArea());
 }
Example #6
0
 public override void DrawLine(int x1, int y1, int x2, int y2, MHEngine engine)
 {
     m_picture.DrawLine(x1, y1, x2, y2);
     engine.Redraw(GetVisibleArea());
 }
Example #7
0
 public override void DrawArcSector(bool fIsSector, int x, int y, int width, int height, int start, int arc, MHEngine engine)
 {
     m_picture.DrawArcSector(x, y, width, height, start, arc, fIsSector);
     engine.Redraw(GetVisibleArea());
 }
Example #8
0
 public override void SetFontAttributes(MHOctetString fontAttrs, MHEngine engine)
 {
     m_fontAttrs.Copy(fontAttrs);
     m_NeedsRedraw = true;
     engine.Redraw(GetVisibleArea());
 }
Example #9
0
 public override void SetTextColour(MHColour colour, MHEngine engine)
 {
     m_textColour.Copy(colour);
     m_NeedsRedraw = true;
     engine.Redraw(GetVisibleArea());
 }
Example #10
0
 public override void SetPaletteRef(MHObjectRef newPalette, MHEngine engine)
 {
     m_PaletteRef.Copy(newPalette);
     engine.Redraw(GetVisibleArea());
 }