Searched refs:cupsPageSize (Results 1 – 5 of 5) sorted by relevance
175 h->cupsPageSize[0] = 612.0f; in cupsRasterInterpretPPD()176 h->cupsPageSize[1] = 792.0f; in cupsRasterInterpretPPD()268 h->cupsPageSize[0] = size->width; in cupsRasterInterpretPPD()269 h->cupsPageSize[1] = size->length; in cupsRasterInterpretPPD()295 temp1 = h->cupsPageSize[0]; in cupsRasterInterpretPPD()296 h->cupsPageSize[0] = h->cupsPageSize[1]; in cupsRasterInterpretPPD()297 h->cupsPageSize[1] = temp1; in cupsRasterInterpretPPD()301 left = h->cupsPageSize[0] - top; in cupsRasterInterpretPPD()302 right = h->cupsPageSize[0] - bottom; in cupsRasterInterpretPPD()303 bottom = h->cupsPageSize[1] - temp1; in cupsRasterInterpretPPD()[all …]
560 header.cupsPageSize[0] = 288.0f; in do_raster_tests()561 header.cupsPageSize[1] = 288.0f; in do_raster_tests()695 expected.cupsPageSize[0] = 288.0f; in do_raster_tests()696 expected.cupsPageSize[1] = 288.0f; in do_raster_tests()1038 if (fabs(header->cupsPageSize[0] - expected->cupsPageSize[0]) > 0.001 || in print_changes()1039 fabs(header->cupsPageSize[1] - expected->cupsPageSize[1]) > 0.001) in print_changes()1041 header->cupsPageSize[0], header->cupsPageSize[1], in print_changes()1042 expected->cupsPageSize[0], expected->cupsPageSize[1]); in print_changes()
127 page_width = (unsigned)(inheader.cupsPageSize[0] * inheader.HWResolution[0] / 72.0); in main()128 page_height = (unsigned)(inheader.cupsPageSize[1] * inheader.HWResolution[1] / 72.0); in main()275 pwg_media = pwgMediaForSize((int)(2540.0 * inheader.cupsPageSize[0] / 72.0), in main()276 (int)(2540.0 * inheader.cupsPageSize[1] / 72.0)); in main()284 inheader.cupsPageSize[0], inheader.cupsPageSize[1]); in main()
227 h->cupsPageSize[0] = 72.0f * media->width / 2540.0f; in cupsRasterInitPWGHeader()228 h->cupsPageSize[1] = 72.0f * media->length / 2540.0f; in cupsRasterInitPWGHeader()1631 r->header.cupsPageSize[0] = (float)(r->header.cupsWidth * 72.0 / r->header.HWResolution[0]); in cups_raster_read_header()1632 r->header.cupsPageSize[1] = (float)(r->header.cupsHeight * 72.0 / r->header.HWResolution[1]); in cups_raster_read_header()
346 float cupsPageSize[2]; /* Floating point PageSize (scaling * member