Home
last modified time | relevance | path

Searched refs:custom_margins (Results 1 – 5 of 5) sorted by relevance

/external/libcups/cups/
Dppd-page.c113 size->left = ppd->custom_margins[0]; in ppdPageSize()
114 size->bottom = ppd->custom_margins[1]; in ppdPageSize()
115 size->right = (float)(w - ppd->custom_margins[2]); in ppdPageSize()
116 size->top = (float)(l - ppd->custom_margins[3]); in ppdPageSize()
280 minimum->left = ppd->custom_margins[0]; in ppdPageSizeLimits()
281 minimum->bottom = ppd->custom_margins[1]; in ppdPageSizeLimits()
282 minimum->right = width - ppd->custom_margins[2]; in ppdPageSizeLimits()
283 minimum->top = length - ppd->custom_margins[3]; in ppdPageSizeLimits()
329 maximum->left = ppd->custom_margins[0]; in ppdPageSizeLimits()
330 maximum->bottom = ppd->custom_margins[1]; in ppdPageSizeLimits()
[all …]
Dppd.h318 float custom_margins[4]; /* Margins around page */ member
Dppd-cache.c1217 pc->custom_size.left = PWG_FROM_POINTS(ppd->custom_margins[0]); in _ppdCacheCreateWithPPD()
1218 pc->custom_size.bottom = PWG_FROM_POINTS(ppd->custom_margins[1]); in _ppdCacheCreateWithPPD()
1219 pc->custom_size.right = PWG_FROM_POINTS(ppd->custom_margins[2]); in _ppdCacheCreateWithPPD()
1220 pc->custom_size.top = PWG_FROM_POINTS(ppd->custom_margins[3]); in _ppdCacheCreateWithPPD()
Dppd.c1093 ppd->custom_margins[i] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen()
/external/libcups/ppdc/
Dppdc-import.cxx125 driver->left_margin = ppd->custom_margins[0]; in import_ppd()
126 driver->bottom_margin = ppd->custom_margins[1]; in import_ppd()
127 driver->right_margin = ppd->custom_margins[2]; in import_ppd()
128 driver->top_margin = ppd->custom_margins[3]; in import_ppd()