Marquee for the box dolly feature.
The centre of the marquee box is the start co-ordinates, with the end co-ordinates at one of the corners. A crosshair is drawn at the centre of the marquee box. The marquee box is drawn as a solid line.
#include
<class_marquee_1_1_box_dolly_marquee.h>
Public Member Functions |
|
__init__ () | |
addDecorations () | |
Adds a crosshair to be drawn at the centre
of the marquee box, and a second marquee box to get the black and
white stipple pattern. |
|
applyMarqueeStyle () | |
Creates and assigns the solid line style for
the marquee box. |
|
start () | |
Starts the drawing of the marquee. |
|
draw () | |
Draws the crosshair at the start
co-ordinates, and overrides the default draw implementation of the
marquee box. |
Marquee.BoxDollyMarquee.__init__ | ( | ) |
Reimplemented from Marquee.Marquee.
Marquee.BoxDollyMarquee.addDecorations | ( | ) |
Adds a crosshair to be drawn at the centre of the marquee box, and a second marquee box to get the black and white stipple pattern.
Reimplemented from Marquee.Marquee.
Marquee.BoxDollyMarquee.applyMarqueeStyle | ( | ) |
Creates and assigns the solid line style for the marquee box.
Reimplemented from Marquee.Marquee.
Marquee.BoxDollyMarquee.start | ( | ) |
Starts the drawing of the marquee.
The co-ordinates given should be the start (cursor) co-ordinates in pixels.
Reimplemented from Marquee.Marquee.
Marquee.BoxDollyMarquee.draw | ( | ) |
Draws the crosshair at the start co-ordinates, and overrides the default draw implementation of the marquee box.
The centre of the marquee box is at the start co-ordinates, and the end co-ordinates as at one of the corners.
Reimplemented from Marquee.Marquee.