QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RLinetypePattern Class Reference

Represents a linetype pattern which can be used to draw dashed graphical elements. More...

#include <RLinetypePattern.h>

List of all members.

Public Member Functions

double getDashLengthAt (int i) const
double getDelta (double pos) const
double getLargestGap () const
int getNumDashes () const
double getPatternLength () const
bool hasDashAt (double pos) const
bool isSymmetrical (int i) const
bool isValid () const
RLinetypePatternoperator= (const RLinetypePattern &other)
 RLinetypePattern (int num...)
 RLinetypePattern ()
 RLinetypePattern (const RLinetypePattern &other)
void scale (double factor)
void set (const QList< double > dashes)
 ~RLinetypePattern ()

Private Attributes

int num
double * pattern
bool * symmetrical

Detailed Description

Represents a linetype pattern which can be used to draw dashed graphical elements.

Scriptable:
This class is wrapped for script environments.
Copyable:
Script wrappers of this class should pass objects by reference.

Constructor & Destructor Documentation

RLinetypePattern::RLinetypePattern ( int  num...)
   \par Non-Scriptable:

This function is not available in script environments.

RLinetypePattern::RLinetypePattern ( )
RLinetypePattern::RLinetypePattern ( const RLinetypePattern other)
RLinetypePattern::~RLinetypePattern ( )

Member Function Documentation

double RLinetypePattern::getDashLengthAt ( int  i) const
double RLinetypePattern::getDelta ( double  pos) const
double RLinetypePattern::getLargestGap ( ) const
int RLinetypePattern::getNumDashes ( ) const
double RLinetypePattern::getPatternLength ( ) const
bool RLinetypePattern::hasDashAt ( double  pos) const
bool RLinetypePattern::isSymmetrical ( int  i) const
bool RLinetypePattern::isValid ( ) const
RLinetypePattern & RLinetypePattern::operator= ( const RLinetypePattern other)
void RLinetypePattern::scale ( double  factor)
void RLinetypePattern::set ( const QList< double >  dashes)

Member Data Documentation

int RLinetypePattern::num
private
double* RLinetypePattern::pattern
private
bool* RLinetypePattern::symmetrical
private

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