Searched refs:pageWidth (Results 1 - 2 of 2) sorted by relevance

/haiku/headers/libs/print/libprint/
H A DMarginView.h68 mv = new MarginView(viewSizeRect, pageWidth, pageHeight);
73 mv = new MarginView(viewSizeRect, pageWidth, pageHeight
80 mv-SetPageSize( pageWidth, pageHeight );
86 msg->AddFloat("width", pageWidth);
92 mv-SetPageSize( pageHeight, pageWidth );
151 void SetPageSize(float pageWidth, float pageHeight);
172 MarginView(int32 pageWidth = 0,
184 void SetPageSize(float pageWidth, float pageHeight);
/haiku/src/libs/print/libprint/
H A DMarginView.cpp90 PageView::SetPageSize(float pageWidth, float pageHeight) argument
92 fPageWidth = pageWidth;
113 float pageWidth = totalWidth; local
117 pageWidth = totalHeight * fPageWidth / fPageHeight;
122 offset.x = static_cast<int>((totalWidth - pageWidth) / 2);
127 BRect r = BRect(0, 0, pageWidth, pageHeight);
137 r.right -= (fMargins.right / fPageWidth) * pageWidth;
139 r.left += (fMargins.left / fPageWidth) * pageWidth;
147 * @param pageWidth, float that is the points value of the page width
153 MarginView::MarginView(int32 pageWidth, int3 argument
279 SetPageSize(float pageWidth, float pageHeight) argument
[all...]

Completed in 85 milliseconds