line Struct Reference
Inheritance diagram for line:
Collaboration diagram for line:

Public Member Functions

 line (const label x1, const label y1, const label x2, const label y2, const std::initializer_list< entryType > &styles={}, const std::initializer_list< entryType > &elems={})
 
- Public Member Functions inherited from element
 element (const word &key, const std::initializer_list< entryType > &styles={}, const std::initializer_list< entryType > &elems={})
 
template<class Type >
void addAttr (const char *key, const Type &value)
 
void addAttrStr (const char *key, const string &str)
 

Friends

Ostreamoperator<< (Ostream &os, const line &l)
 

Additional Inherited Members

- Public Attributes inherited from element
const word key_
 
DynamicList< entryTypestyles_
 
DynamicList< entryTypeelems_
 
const word end = "</" + key_ + ">"
 

Detailed Description

Definition at line 163 of file SVGTools.H.

Constructor & Destructor Documentation

◆ line()

line ( const label  x1,
const label  y1,
const label  x2,
const label  y2,
const std::initializer_list< entryType > &  styles = {},
const std::initializer_list< entryType > &  elems = {} 
)
inline

Definition at line 168 of file SVGTools.H.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const line l 
)
friend

Definition at line 186 of file SVGTools.H.


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