![]() |
Driver SDK 4.2.0
|
#include <DriverInfo.h>
Public Types | |
| enum | EMediaType { eLogical , ePhysical } |
Public Member Functions | |
| float | GetLength (EMediaType which=eLogical) const noexcept |
| float | GetWidth (EMediaType which=eLogical) const noexcept |
| float | GetImageableLength (EMediaType which=eLogical) const noexcept |
| float | GetImageableWidth (EMediaType which=eLogical) const noexcept |
| float | GetLeftMargin (EMediaType which=eLogical) const noexcept |
| float | GetRightMargin (EMediaType which=eLogical) const noexcept |
| float | GetTopMargin (EMediaType which=eLogical) const noexcept |
| float | GetBottomMargin (EMediaType which=eLogical) const noexcept |
| void | FromJson (const jsonxx::Object &, float defaultWidth=0, float defaultLength=0) |
| void | ToJson (jsonxx::Object &) const |
| void | Load (const ACPL::XML::Node *) |
| void | Save (ACPL::XML::Node *) const |
| ACPL::XML::Node * | Save () const |
| bool | IsEmpty () const noexcept |
| void | Reset () noexcept |
Public Attributes | |
| char | name [32] |
| Name of the media size. More... | |
| bool | transverse |
| True when the media is fed rotated in the machine. The RIP must provide rotated data. More... | |
| bool | roll |
| True when the media size is a roll, False when it is a sheet. More... | |
| float | width |
| Physical width in AOI units. More... | |
| float | length |
| Physical length/height in AOI units. More... | |
| float | left |
| Left non-imageable margin. More... | |
| float | right |
| Right non-imageable margin. More... | |
| float | top |
| Top non-imageable margin. More... | |
| float | bottom |
| Bottom non-imageable margin. More... | |
Media size description
Describes the media size and orientation
Definition at line 215 of file DriverInfo.h.
| Enumerator | |
|---|---|
| eLogical | |
| ePhysical | |
Definition at line 218 of file DriverInfo.h.
| void aur::ADA::TMediaSize::FromJson | ( | const jsonxx::Object & | , |
| float | defaultWidth = 0, |
||
| float | defaultLength = 0 |
||
| ) |
|
inlinenoexcept |
Definition at line 287 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 262 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 267 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 272 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 252 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 277 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 282 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 257 of file DriverInfo.h.
|
inlinenoexcept |
Definition at line 248 of file DriverInfo.h.
| void aur::ADA::TMediaSize::Load | ( | const ACPL::XML::Node * | ) |
|
inlinenoexcept |
Definition at line 249 of file DriverInfo.h.
| ACPL::XML::Node * aur::ADA::TMediaSize::Save | ( | ) | const |
| void aur::ADA::TMediaSize::Save | ( | ACPL::XML::Node * | ) | const |
| void aur::ADA::TMediaSize::ToJson | ( | jsonxx::Object & | ) | const |
| float aur::ADA::TMediaSize::bottom |
Bottom non-imageable margin.
Definition at line 231 of file DriverInfo.h.
| float aur::ADA::TMediaSize::left |
Left non-imageable margin.
Definition at line 228 of file DriverInfo.h.
| float aur::ADA::TMediaSize::length |
Physical length/height in AOI units.
Definition at line 227 of file DriverInfo.h.
| char aur::ADA::TMediaSize::name[32] |
Name of the media size.
Definition at line 223 of file DriverInfo.h.
| float aur::ADA::TMediaSize::right |
Right non-imageable margin.
Definition at line 229 of file DriverInfo.h.
| bool aur::ADA::TMediaSize::roll |
True when the media size is a roll, False when it is a sheet.
Definition at line 225 of file DriverInfo.h.
| float aur::ADA::TMediaSize::top |
Top non-imageable margin.
Definition at line 230 of file DriverInfo.h.
| bool aur::ADA::TMediaSize::transverse |
True when the media is fed rotated in the machine. The RIP must provide rotated data.
Definition at line 224 of file DriverInfo.h.
| float aur::ADA::TMediaSize::width |
Physical width in AOI units.
Definition at line 226 of file DriverInfo.h.