LibrePCB Developers Documentation
GraphicsOutputJob::Content Struct Reference

#include <graphicsoutputjob.h>

+ Collaboration diagram for GraphicsOutputJob::Content:

Public Types

enum class  Preset
 
enum class  Type
 

Public Member Functions

 Content (Preset preset) noexcept
 
 Content (const Content &other)=default
 
Contentoperator= (const Content &rhs)=default
 
bool operator== (const Content &rhs) const noexcept
 
bool operator!= (const Content &rhs) const noexcept
 

Public Attributes

Type type
 
QString title
 
tl::optional< QString > pageSizeKey
 
GraphicsExportSettings::Orientation orientation
 
UnsignedLength marginLeft
 
UnsignedLength marginTop
 
UnsignedLength marginRight
 
UnsignedLength marginBottom
 
bool rotate
 
bool mirror
 
tl::optional< UnsignedRatioscale
 
uint pixmapDpi
 
bool monochrome
 
QColor backgroundColor
 
UnsignedLength minLineWidth
 
QMap< QString, QColor > layers
 
BoardSet boards
 
AssemblyVariantSet assemblyVariants
 
QMap< QString, QList< SExpression > > options
 

Member Enumeration Documentation

◆ Preset

enum class Preset
strong
Enumerator
None 
Schematic 
BoardImage 
BoardAssemblyTop 
BoardAssemblyBottom 

◆ Type

enum class Type
strong
Enumerator
Schematic 
Board 
AssemblyGuide 

Constructor & Destructor Documentation

◆ Content() [1/2]

Content ( Preset  preset)
inlinenoexcept

◆ Content() [2/2]

Content ( const Content other)
default

Member Function Documentation

◆ operator=()

Content & operator= ( const Content rhs)
default

◆ operator==()

bool operator== ( const Content rhs) const
inlinenoexcept

◆ operator!=()

bool operator!= ( const Content rhs) const
inlinenoexcept

Member Data Documentation

◆ type

Type type

◆ title

QString title

◆ pageSizeKey

tl::optional<QString> pageSizeKey

◆ orientation

◆ marginLeft

UnsignedLength marginLeft

◆ marginTop

UnsignedLength marginTop

◆ marginRight

UnsignedLength marginRight

◆ marginBottom

UnsignedLength marginBottom

◆ rotate

bool rotate

◆ mirror

bool mirror

◆ scale

tl::optional<UnsignedRatio> scale

◆ pixmapDpi

uint pixmapDpi

◆ monochrome

bool monochrome

◆ backgroundColor

QColor backgroundColor

◆ minLineWidth

UnsignedLength minLineWidth

◆ layers

QMap<QString, QColor> layers

◆ boards

BoardSet boards

◆ assemblyVariants

AssemblyVariantSet assemblyVariants

◆ options

QMap<QString, QList<SExpression> > options

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