Searched refs:margins (Results 1 - 5 of 5) sorted by relevance

/haiku/src/add-ons/accelerants/common/
H A Dcompute_display_timing.cpp74 * The GTF allows for computation of "margins" (the visible border
147 bool margins = false;
172 float topMargin = margins ? rint(MARGIN_PERCENT / 100.0 * verticalLines)
178 float bottomMargin = margins ? rint(MARGIN_PERCENT / 100.0 * verticalLines)
218 float leftMargin = margins ? rint(width * MARGIN_PERCENT / 100.0
225 float rightMargin = margins ? rint(width * MARGIN_PERCENT / 100.0
229 // margins:
/haiku/headers/libs/print/libprint/
H A DMarginView.h35 the margin values and a popup to change the units used for the margins.
44 - margins
50 Get methods are used to extract the page size and margins so that
63 1) Simply construct a new MarginView object with the margins
71 * you can also set the margins in the constructor, and the units:
109 BRect margins = mv->GetMargins();
152 void SetMargins(BRect margins);
174 BRect margins = BRect(1, 1, 1, 1), // 1 inch
219 // rect that holds the margins for the page as a set of point offsets
/haiku/src/apps/diskusage/
H A DControlsView.cpp166 // margins are the deltas with the average widths
167 float* margins = new float[countTabs]; local
175 margins[i] = tabWidth - averageWidth;
201 float newMargin = max_c(margins[i] - averageToShave,
203 toShave -= margins[i] - newMargin;
204 margins[i] = newMargin;
210 x += averageWidth + margins[i];
212 float margin = margins[index];
213 delete[] margins;
/haiku/src/libs/print/libprint/
H A DMarginView.cpp98 PageView::SetMargins(BRect margins) argument
100 fMargins = margins;
149 * @param margins, BRect values of margins
154 BRect margins, MarginUnit units)
162 fMargins = margins;
153 MarginView(int32 pageWidth, int32 pageHeight, BRect margins, MarginUnit units) argument
/haiku/src/kits/interface/
H A DButton.cpp675 float margins = height - ceilf(textHeight); local
676 if (margins < minHorizontalMargins)
677 height += minHorizontalMargins - margins;

Completed in 137 milliseconds