Home
last modified time | relevance | path

Searched refs:pageHeight (Results 1 – 3 of 3) sorted by relevance

/third_party/libwebsockets/test-apps/
Dlws-common.js26 var pageWidth, pageHeight, t;
33 pageHeight = (h > t) ? ("" + h + "px") : ("" + (t) + "px");
38 pageHeight =(h > t) ? ("" + h + "px") : ("" + (t) + "px");
41 pageHeight = "100%";
43 return (ptype === 1) ? pageWidth : pageHeight;
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
Dlws-common.js26 var pageWidth, pageHeight, t;
33 pageHeight = (h > t) ? ("" + h + "px") : ("" + (t) + "px");
38 pageHeight =(h > t) ? ("" + h + "px") : ("" + (t) + "px");
41 pageHeight = "100%";
43 return (ptype === 1) ? pageWidth : pageHeight;
/third_party/cups-filters/filter/pdftopdf/
Dqpdf_pdftopdf_processor.cc192 double pageHeight = cropRect.top-cropRect.bottom; in crop() local
198 pageWidth <= pageHeight) || in crop()
200 pageWidth > pageHeight))) || in crop()
204 std::swap(pageHeight,pageWidth); in crop()
208 if(width*pageHeight/pageWidth<=height) in crop()
211 final_h = width*pageHeight/pageWidth; in crop()
214 final_w = height*pageWidth/pageHeight; in crop()
220 final_h = pageHeight; in crop()