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() [1/2]

DL_HatchData::DL_HatchData ( )
inline

Default constructor.

◆ DL_HatchData() [2/2]

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

◆ angle

double DL_HatchData::angle

Pattern angle in degrees

◆ numLoops

int DL_HatchData::numLoops

Number of boundary paths (loops).

◆ originX

double DL_HatchData::originX

Pattern origin

◆ originY

double DL_HatchData::originY

◆ pattern

std::string DL_HatchData::pattern

Pattern name.

◆ scale

double DL_HatchData::scale

Pattern scale or spacing

◆ solid

bool DL_HatchData::solid

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


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