|
| double | getDashLengthAt (int i) const |
| |
| double | getDashOffsetAt (const QList< double > &dashes, int i) const |
| |
| double | getDelta (double pos) const |
| |
| QString | getDescription () const |
| |
| QString | getLabel () const |
| |
| double | getLargestGap () const |
| |
| QString | getName () const |
| |
| bool | getNoOffset () const |
| |
| int | getNumDashes () const |
| |
| QList< double > | getPattern () const |
| |
| double | getPatternLength () const |
| |
| double | getPatternOffset (double length) |
| |
| double | getPatternOffsetAt (double length, double symmetryPos, double *gap=NULL, bool end=false) |
| |
| QString | getPatternString () const |
| |
| QVector< qreal > | getScreenBasedLinetype () |
| |
| double | getScreenScale () const |
| |
| QList< RPainterPath > | getShapeAt (int i) const |
| |
| QList< int > | getShapeIndices () const |
| |
| int | getShapeNumberAt (int i) const |
| |
| RVector | getShapeOffsetAt (int i) const |
| |
| double | getShapeRotationAt (int i) const |
| |
| double | getShapeScaleAt (int i) const |
| |
| QString | getShapeTextAt (int i) const |
| |
| QString | getShapeTextStyleAt (int i) const |
| |
| QList< double > | getSymmetries () const |
| |
| bool | hasDashAt (double pos) const |
| |
| bool | hasShapeAt (int i) const |
| |
| bool | hasShapeNumberAt (int i) const |
| |
| bool | hasShapeOffsetAt (int i) const |
| |
| bool | hasShapeRotationAt (int i) const |
| |
| bool | hasShapes () const |
| |
| bool | hasShapeScaleAt (int i) const |
| |
| bool | hasShapeTextAt (int i) const |
| |
| bool | hasShapeTextStyleAt (int i) const |
| |
| bool | isLoaded () |
| |
| bool | isMetric () const |
| |
| bool | isValid () const |
| |
| void | load () |
| |
| bool | operator< (const RLinetypePattern &other) const |
| |
| RLinetypePattern & | operator= (const RLinetypePattern &other) |
| |
| bool | operator== (const RLinetypePattern &other) const |
| |
| | RLinetypePattern () |
| |
| | RLinetypePattern (bool metric, const QString &name, const QString &description) |
| |
| | RLinetypePattern (bool metric, const QString &name, const QString &description, const QList< double > &dashes) |
| |
| | RLinetypePattern (bool metric, const QString &name, const QString &description, int num...) |
| |
| | RLinetypePattern (const RLinetypePattern &other) |
| |
| void | scale (double factor) |
| |
| void | set (const QList< double > &dashes) |
| |
| void | setDescription (const QString &d) |
| |
| void | setMetric (bool on) |
| |
| void | setName (const QString &n) |
| |
| void | setNoOffset (bool n) |
| |
| bool | setPatternString (const QString &patternString) |
| | Set pattern based on .lin formatted string.
|
| |
| void | setScreenScale (double s) |
| |
| void | setShapeNumberAt (int i, int num) |
| |
| void | setShapeOffsetAt (int i, const RVector &offset) |
| |
| void | setShapeRotationAt (int i, double r) |
| |
| void | setShapeScaleAt (int i, double s) |
| |
| void | setShapeTextAt (int i, const QString &s) |
| |
| void | setShapeTextStyleAt (int i, const QString &s) |
| |
| void | updateShapes () |
| | Updates the painter paths for the shapes in this pattern.
|
| |
| | ~RLinetypePattern () |
| |
Copyright (c) 2011-2018 by Andrew Mustun.
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD. Represents a linetype pattern which can be used to draw dashed graphical elements.
- Scriptable:\nThis class is available in script environments.\n
- Copyable:\nObjects are cleaned up automatically by the garbage collector of the script engine.\n
| QMap< QString, QString > RLinetypePattern::nameMap |
|
staticprivate |
Copyright (c) 2011-2018 by Andrew Mustun.
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.