~s-cecilio/lenmus/v5.1.x

« back to all changes in this revision

Viewing changes to src/graphic/Drawer.h

  • Committer: cecilios
  • Date: 2008-09-13 17:53:40 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:trunk:387

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    virtual bool IsDirectDrawer() = 0;
56
56
 
57
57
    // Aliased shapes, even when anti-alising is supported.
58
 
    virtual void SketchLine(lmLUnits x1, lmLUnits y1, lmLUnits x2, lmLUnits y2, wxColour color) = 0;
 
58
    virtual void SketchLine(lmLUnits x1, lmLUnits y1, lmLUnits x2, lmLUnits y2,
 
59
                                                        wxColour color, int style = wxSOLID) = 0;
59
60
    virtual void SketchRectangle(lmUPoint uPoint, lmUSize uSize, wxColour color) = 0;
60
61
 
61
62
    //solid shapes, anti-aliased when supported.
109
110
    bool IsDirectDrawer() { return true; }
110
111
 
111
112
    // Aliased shapes, even when anti-alising is supported.
112
 
    void SketchLine(lmLUnits ux1, lmLUnits uy1, lmLUnits ux2, lmLUnits uy2, wxColour color);
 
113
    void SketchLine(lmLUnits ux1, lmLUnits uy1, lmLUnits ux2, lmLUnits uy2,
 
114
                                        wxColour color, int style = wxSOLID);
113
115
    void SketchRectangle(lmUPoint uPoint, lmUSize uSize, wxColour color);
114
116
 
115
117
    //solid shapes, anti-aliased when supported.