QCAD
Open Source 2D CAD
RPatternLine Class Reference

Copyright (c) 2011-2015 by Andrew Mustun. More...

#include <RPatternLine.h>

Public Member Functions

double getLength () const
 
QList< RLinegetLines () const
 
RPainterPath getPainterPath () const
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
void rotate (double a)
 
void scale (double f)
 

Public Attributes

double angle
 
RVector basePoint
 
QList< double > dashes
 
RVector offset
 

Detailed Description

Copyright (c) 2011-2015 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 hatch pattern line.

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

Member Function Documentation

double RPatternLine::getLength ( ) const
QList< RLine > RPatternLine::getLines ( ) const
RPainterPath RPatternLine::getPainterPath ( ) const

Copyright (c) 2011-2015 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.

void RPatternLine::rotate ( double  a)
void RPatternLine::scale ( double  f)

Member Data Documentation

double RPatternLine::angle
RVector RPatternLine::basePoint
QList<double> RPatternLine::dashes
RVector RPatternLine::offset

The documentation for this class was generated from the following files: