QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPatternLine Class Reference

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

#include <RPatternLine.h>

List of all members.

Public Member Functions

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

Public Attributes

double angle
RVector basePoint
QList< double > dashes
RVector offset

Detailed Description

Copyright (c) 2011-2013 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 wrapped for script environments.
Stream Operator:
Script wrappers of this class use the stream operator for the output of toString().

Member Function Documentation

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

Copyright (c) 2011-2013 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: