With the drawing functions, you can call some functions on the current drawing to modify it in some ways.
More...
#include <dtScript.h>
|
int | underlayArt |
| readonly property - returns underlayArt mask
|
|
int | colourArt |
| readonly property - returns colourArt mask
|
|
int | lineArt |
| readonly property - returns lineArt mask
|
|
int | overlayArt |
| readonly property - returns overlayArt mask
|
|
int | allArts |
| readonly property - returns mask for all 4 art layers
|
|
With the drawing functions, you can call some functions on the current drawing to modify it in some ways.
computes the breaking triangles of the current layer using params.
void DrawingTools::convertPencilToBrush |
( |
int |
art = LineArtMask , |
|
|
const DrawingToolParams * |
params = 0 |
|
) |
| |
|
slot |
converts the selected pencil lines in layer of the current drawing using params
void DrawingTools::extractCenterline |
( |
int |
srcArt = LineArtMask , |
|
|
int |
dstArt = ColourArtMask , |
|
|
const DrawingToolParams * |
params = 0 |
|
) |
| |
|
slot |
extracts the centreline from srcLayer and puts the extracted line in dstLayer using params.
void DrawingTools::setCurrentArt |
( |
int |
| ) |
|
|
slot |
sets the current art to be one of the following : underlayArt, colourArt, lineArt or overlayArt
bool DrawingTools::setCurrentDrawingFromColumnName |
( |
QString |
columnName, |
|
|
int |
frame = 1 |
|
) |
| |
|
slot |
sets the current drawing to be from column columnName at frame frame
bool DrawingTools::setCurrentDrawingFromNodeName |
( |
QString |
nodeName, |
|
|
int |
frame = 1 |
|
) |
| |
|
slot |
sets the current drawing to be from node nodeName at frame frame
int DrawingTools::allArts |
|
read |
readonly property - returns mask for all 4 art layers
int DrawingTools::colourArt |
|
read |
readonly property - returns colourArt mask
int DrawingTools::lineArt |
|
read |
readonly property - returns lineArt mask
int DrawingTools::overlayArt |
|
read |
readonly property - returns overlayArt mask
int DrawingTools::underlayArt |
|
read |
readonly property - returns underlayArt mask
The documentation for this class was generated from the following file: