QCAD
Open Source 2D CAD
DL_HatchData Struct Reference

Hatch data. More...

#include <dl_entities.h>

Public Member Functions

 DL_HatchData ()
 Default constructor. More...
 
 DL_HatchData (int numLoops, bool solid, double scale, double angle, const std::string &pattern, double originX=0.0, double originY=0.0)
 Constructor. More...
 

Public Attributes

double angle
 
int numLoops
 
double originX
 
double originY
 
std::string pattern
 
double scale
 
bool solid
 

Detailed Description

Hatch data.

Constructor & Destructor Documentation

DL_HatchData::DL_HatchData ( )
inline

Default constructor.

DL_HatchData::DL_HatchData ( int  numLoops,
bool  solid,
double  scale,
double  angle,
const std::string &  pattern,
double  originX = 0.0,
double  originY = 0.0 
)
inline

Constructor.

Parameters: see member variables.

Member Data Documentation

double DL_HatchData::angle

Pattern angle in degrees

int DL_HatchData::numLoops

Number of boundary paths (loops).

double DL_HatchData::originX

Pattern origin

double DL_HatchData::originY
std::string DL_HatchData::pattern

Pattern name.

double DL_HatchData::scale

Pattern scale or spacing

bool DL_HatchData::solid

Solid fill flag (true=solid, false=pattern).


The documentation for this struct was generated from the following file: