|
|
@@ -275,6 +275,13 @@ public: |
|
|
const float height,
|
|
|
const float height,
|
|
|
const float cornerSize) const throw();
|
|
|
const float cornerSize) const throw();
|
|
|
|
|
|
|
|
|
|
|
|
/** Uses the current colour or brush to fill a rectangle with rounded corners.
|
|
|
|
|
|
|
|
|
|
|
|
@see drawRoundedRectangle, Path::addRoundedRectangle
|
|
|
|
|
|
*/
|
|
|
|
|
|
void fillRoundedRectangle (const Rectangle& rectangle,
|
|
|
|
|
|
const float cornerSize) const throw();
|
|
|
|
|
|
|
|
|
/** Fills a rectangle with a checkerboard pattern, alternating between two colours.
|
|
|
/** Fills a rectangle with a checkerboard pattern, alternating between two colours.
|
|
|
*/
|
|
|
*/
|
|
|
void fillCheckerBoard (int x, int y,
|
|
|
void fillCheckerBoard (int x, int y,
|
|
|
@@ -297,6 +304,16 @@ public: |
|
|
const int height,
|
|
|
const int height,
|
|
|
const int lineThickness = 1) const throw();
|
|
|
const int lineThickness = 1) const throw();
|
|
|
|
|
|
|
|
|
|
|
|
/** Draws four lines to form a rectangular outline, using the current colour or brush.
|
|
|
|
|
|
|
|
|
|
|
|
The lines are drawn inside the given rectangle, and greater line thicknesses
|
|
|
|
|
|
extend inwards.
|
|
|
|
|
|
|
|
|
|
|
|
@see fillRect
|
|
|
|
|
|
*/
|
|
|
|
|
|
void drawRect (const Rectangle& rectangle,
|
|
|
|
|
|
const int lineThickness = 1) const throw();
|
|
|
|
|
|
|
|
|
/** Uses the current colour or brush to draw the outline of a rectangle with rounded corners.
|
|
|
/** Uses the current colour or brush to draw the outline of a rectangle with rounded corners.
|
|
|
|
|
|
|
|
|
@see fillRoundedRectangle, Path::addRoundedRectangle
|
|
|
@see fillRoundedRectangle, Path::addRoundedRectangle
|
|
|
@@ -308,6 +325,14 @@ public: |
|
|
const float cornerSize,
|
|
|
const float cornerSize,
|
|
|
const float lineThickness) const throw();
|
|
|
const float lineThickness) const throw();
|
|
|
|
|
|
|
|
|
|
|
|
/** Uses the current colour or brush to draw the outline of a rectangle with rounded corners.
|
|
|
|
|
|
|
|
|
|
|
|
@see fillRoundedRectangle, Path::addRoundedRectangle
|
|
|
|
|
|
*/
|
|
|
|
|
|
void drawRoundedRectangle (const Rectangle& rectangle,
|
|
|
|
|
|
const float cornerSize,
|
|
|
|
|
|
const float lineThickness) const throw();
|
|
|
|
|
|
|
|
|
/** Draws a 3D raised (or indented) bevel using two colours.
|
|
|
/** Draws a 3D raised (or indented) bevel using two colours.
|
|
|
|
|
|
|
|
|
The bevel is drawn inside the given rectangle, and greater bevel thicknesses
|
|
|
The bevel is drawn inside the given rectangle, and greater bevel thicknesses
|
|
|
|