CAPS Universe documentation  1.0.4
All you need to know to be successful
Data Fields
internal_adaption Struct Reference

Data Fields

struct caps_rect src_full_sz
 
struct caps_area src_crop_area
 
struct caps_rect dst_full_sz
 
struct caps_area dst_prnt_area
 
struct caps_area dst_margins
 
struct caps_rect raster_sz
 
double offset_x
 
double offset_y
 
double scale_x
 
double scale_y
 

Detailed Description

Collection of data to scale and rotate the document's content to the print medium It is used only in the functions in doc-page-preparation.c

Field Documentation

◆ src_full_sz

struct caps_rect src_full_sz

The document's full size and orientation

◆ src_crop_area

struct caps_area src_crop_area

The area to crop from the source to create the raster from

◆ dst_full_sz

struct caps_rect dst_full_sz

The full size and orientation of the destination medium

◆ dst_prnt_area

struct caps_area dst_prnt_area

The area and orientation of the printable area on the destination medium. More or less redundant to dst_margins. In relation to dst_full_sz

◆ dst_margins

struct caps_area dst_margins

Raw printer margins, e.g. four margins, not corrdinates. More or less redundant to dst_prnt_area. In relation to dst_full_sz

◆ raster_sz

struct caps_rect raster_sz

Raster size, orientation in relation to dst_full_sz

◆ offset_x

double offset_x

Raster horizontal offset, in relation to dst_full_sz, left border

◆ offset_y

double offset_y

Raster vertival offset, in relation to dst_full_sz, bottom border

◆ scale_x

double scale_x

The horizonztal scale from src_full_sz to dst_full_sz and vice versa

◆ scale_y

double scale_y

The vertical scale from src_full_sz to dst_full_sz and vice versa


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