Skip to content

RPatternLine

Class in Core Module
Header: #include <src/core/RPatternLine.h>

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 hatch pattern line.

Scriptable: This class is available in script environments.

Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.

Stream Operator: Object has a stream operator to present itself as string, for example when using toString() in a script.

double getAngle() const
RVector getBasePoint() const
QList< double > getDashes() const
double getLength() const
QList< RLine > getLines(bool includeDashes=false) const
\returen Line shapes for this pattern line.
RVector getOffset() const
RPainterPath getPainterPath() const
bool hasDots() const
void rotate(double a)
void scale(double f)
double angle
RVector basePoint
QList< double > dashes
RVector offset

double RPatternLine::getAngle() const

inline const

RVector RPatternLine::getBasePoint() const

inline const

QList< double > RPatternLine::getDashes() const

inline const

double RPatternLine::getLength() const

const

QList< RLine > RPatternLine::getLines(bool includeDashes=false) const

const

\returen Line shapes for this pattern line.

No offset applied.

RVector RPatternLine::getOffset() const

inline const

RPainterPath RPatternLine::getPainterPath() const

const

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.

bool RPatternLine::hasDots() const

const

void RPatternLine::rotate(double a)

void RPatternLine::scale(double f)

double RPatternLine::angle

RVector RPatternLine::basePoint

QList<double> RPatternLine::dashes

RVector RPatternLine::offset