Searched refs:top (Results 1 - 25 of 658) sorted by relevance

1234567891011>>

/haiku/src/add-ons/print/drivers/gutenprint/
H A DRectangle.h22 top(0),
33 top(static_cast<T>(rect.top)),
40 Rectangle(T left, T top, T right, T bottom) argument
43 top(top),
52 top = static_cast<T>(rect.top);
65 return bottom - top;
70 T top; member in class:Rectangle
[all...]
/haiku/src/add-ons/print/drivers/pcl6/
H A DRasterizer.cpp29 fBounds.top = (int)bounds.top;
33 int height = fBounds.bottom - fBounds.top + 1;
37 fBounds.bottom = fBounds.top + height - 1;
44 fHeight = fBounds.bottom - fBounds.top + 1;
48 // offset to top, left point of rect
49 fBits += fBounds.top * fBPR + fBounds.left * 4;
53 fY += fBounds.top;
54 fIndex = fBounds.top;
/haiku/src/libs/alm/
H A DRow.cpp21 * The top boundary of the row.
53 Row::Row(LinearSpec* ls, YTab* top, YTab* bottom) argument
55 fTop(top),
H A DALMLayoutBuilder.cpp61 BALMLayoutBuilder::Add(BView* view, XTab* left, YTab* top, argument
64 Area* a = (fLayout->AddView(view, left, top, right, bottom));
79 BALMLayoutBuilder::Add(BLayoutItem* item, XTab* left, YTab* top, argument
82 _SetCurrentArea(fLayout->AddItem(item, left, top, right, bottom));
113 BALMLayoutBuilder::SetInsets(float left, float top, float right, argument
116 fLayout->SetInsets(left, top, right, bottom);
148 BALMLayoutBuilder::AddToLeft(BView* view, XTab* _left, YTab* top, YTab* bottom) argument
155 if (!top)
156 top = currentArea->Top();
160 return Add(view, left, top, righ
165 AddToRight(BView* view, XTab* _right, YTab* top, YTab* bottom) argument
191 BReference<YTab> top = _top; local
209 YTab* top = currentArea->Bottom(); local
219 AddToLeft(BLayoutItem* item, XTab* _left, YTab* top, YTab* bottom) argument
237 AddToRight(BLayoutItem* item, XTab* _right, YTab* top, YTab* bottom) argument
263 BReference<YTab> top = _top; local
281 YTab* top = currentArea->Bottom(); local
[all...]
H A DALMGroup.cpp67 ALMGroup::BuildLayout(BALMLayout* layout, XTab* left, YTab* top, XTab* right, argument
72 if (top == NULL)
73 top = layout->Top();
79 _Build(layout, left, top, right, bottom);
100 BReference<YTab> top, BReference<XTab> right, BReference<YTab> bottom) const
103 layout->AddItem(LayoutItem(), left, top, right, bottom); local
105 layout->AddView(View(), left, top, right, bottom); local
115 current._Build(layout, left, top, currentRight, bottom);
123 current._Build(layout, left, top, right, currentBottom);
124 top
99 _Build(BALMLayout* layout, BReference<XTab> left, BReference<YTab> top, BReference<XTab> right, BReference<YTab> bottom) const argument
[all...]
/haiku/headers/private/interface/
H A Dclipping.h30 rect.top = min_c(r1.top, r2.top);
47 rect.top = max_c(r1.top, r2.top);
60 rect.top += y;
70 rect.top = (int)(rect.top * y);
80 return BRect((float)rect.left, (float)rect.top,
[all...]
H A DRegionSupport.h90 int top, int bottom);
95 clipping_rect* rEnd, int top, int bottom);
99 int top, int bottom);
103 int top, int bottom);
106 int top, int bottom);
116 int top,
123 int top,
134 int top,
140 int top,
147 int top,
[all...]
/haiku/src/apps/icon-o-matic/generic/command/
H A DCommandStack.cpp68 Command* command = fUndoHistory.top();
92 Command* command = fRedoHistory.top();
115 fUndoHistory.top()->GetName(name);
131 fRedoHistory.top()->GetName(name);
145 delete fUndoHistory.top();
149 delete fRedoHistory.top();
164 fSavedCommand = fUndoHistory.top();
179 if (fSavedCommand == fUndoHistory.top())
200 if (Command* top = fUndoHistory.top()) {
[all...]
/haiku/src/apps/mediaplayer/support/
H A DCommandStack.cpp71 Command* command = fUndoHistory.top();
95 Command* command = fRedoHistory.top();
118 fUndoHistory.top()->GetName(name);
134 fRedoHistory.top()->GetName(name);
148 delete fUndoHistory.top();
152 delete fRedoHistory.top();
167 fSavedCommand = fUndoHistory.top();
182 if (fSavedCommand == fUndoHistory.top())
203 if (Command* top = fUndoHistory.top()) {
[all...]
/haiku/src/kits/interface/
H A DRegionSupport.cpp57 * given upper-left y coordinate (top) will have the same lower-right y
70 * only if the bottom of one touches the top of the other and they have
101 (r1)->bottom > (r2)->top && \
102 (r1)->top < (r2)->bottom)
110 if ((r)->top < (idRect)->fBounds.top)\
111 (idRect)->fBounds.top = (r)->top;\
138 ((R-1)->top == (Ry1)) &&\
148 (r)->top
403 miIntersectO( BRegion* pReg, clipping_rect* r1, clipping_rect* r1End, clipping_rect* r2, clipping_rect* r2End, int top, int bottom) argument
804 miRegionOp( BRegion* newReg, const BRegion* reg1, const BRegion* reg2, int (*overlapFunc)( BRegion* pReg, clipping_rect* r1, clipping_rect* r1End, clipping_rect* r2, clipping_rect* r2End, int top, int bottom), int (*nonOverlap1Func)( BRegion* pReg, clipping_rect* r, clipping_rect* rEnd, int top, int bottom), int (*nonOverlap2Func)( BRegion* pReg, clipping_rect* r, clipping_rect* rEnd, int top, int bottom)) argument
847 int top; /* Top of non-overlapping local
1107 miUnionNonO(BRegion* pReg, clipping_rect* r, clipping_rect* rEnd, int top, int bottom) argument
[all...]
H A DRect.cpp22 top = point.y;
46 top = point.y;
55 top += point.y;
65 top += dy;
109 top += point.y;
119 top += dy;
163 bottom = (bottom - top) + point.y;
164 top = point.y;
173 bottom = (bottom - top) + y;
174 top
[all...]
/haiku/src/add-ons/translators/wonderbrush/support/
H A Dblending.h38 uint16 t1, uint16 t2, uint16 t3, uint8 ta, // top components
62 uint8 t1, uint8 t2, uint8 t3, uint8 ta, // top components
216 blend_colors_copy(uint8* dest, uint8* bottom, uint8* top) argument
218 if (bottom[3] == 0 || top[3] == 255) {
219 dest[0] = top[0];
220 dest[1] = top[1];
221 dest[2] = top[2];
222 dest[3] = top[3];
225 top[0], top[
232 blend_pixels(uint8* bottom, uint8* top, uint8 alpha) argument
261 blend_pixels_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alpha) argument
295 blend_pixels_overlay(uint8* bottom, uint8* top, uint8 alphaOverride) argument
325 blend_pixels_overlay_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alphaOverride) argument
488 blend_colors_copy(uint8* dest, uint8* bottom, uint8* top) argument
517 blend_pixels(uint8* bottom, uint8* top, uint8 alpha) argument
538 blend_pixels_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alpha) argument
564 blend_pixels_overlay(uint8* bottom, uint8* top, uint8 alphaOverride) argument
586 blend_pixels_overlay_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alphaOverride) argument
[all...]
H A Dsupport.h58 int32& left, int32& top, int32& right, int32& bottom)
61 top = (int32)floorf(r.top);
57 rect_to_int(BRect r, int32& left, int32& top, int32& right, int32& bottom) argument
/haiku/headers/libs/print/libprint/
H A DValidRect.h15 int top; member in struct:RECT
/haiku/src/servers/app/
H A DIntRect.cpp19 top = p.y;
43 top = p.y;
52 top += point.y;
62 top += dy;
106 top += point.y;
116 top += dy;
160 bottom = (bottom - top) + point.y;
161 top = point.y;
170 bottom = (bottom - top) + y;
171 top
[all...]
H A DIntRect.h21 int32 top; member in class:IntRect
80 { return BRect(left, top,
120 return IntPoint(right, top);
127 top = left = 0;
136 top = t;
146 top = r.top;
156 top = (int32)r.top;
166 top
[all...]
/haiku/headers/os/interface/
H A DRect.h18 float top; member in class:BRect
24 BRect(float left, float top, float right,
31 void Set(float left, float top, float right,
115 return BPoint(right, top);
123 top(0),
131 BRect::BRect(float left, float top, float right, float bottom) argument
134 top(top),
145 top(other.top),
197 Set(float left, float top, float right, float bottom) argument
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DSliderView.cpp43 fButtonRect.bottom = fButtonRect.top + buttonHeight;
93 BPoint(r.left, r.top), lightShadow);
94 AddLine(BPoint(r.left + 1.0, r.top),
95 BPoint(r.right, r.top), lightShadow);
96 AddLine(BPoint(r.right, r.top + 1.0),
103 BPoint(r.left, r.top), light);
104 AddLine(BPoint(r.left + 1.0, r.top),
105 BPoint(r.right, r.top), light);
106 AddLine(BPoint(r.right, r.top + 1.0),
113 BPoint(r.left, r.top), backgroun
[all...]
H A DInputSlider.cpp191 BPoint(r.left, r.top), lightShadow);
192 AddLine(BPoint(r.left + 1.0, r.top),
193 BPoint(r.right, r.top), lightShadow);
194 AddLine(BPoint(r.right, r.top + 1.0),
202 BPoint(r.left, r.top), darkShadow);
203 AddLine(BPoint(r.left + 1.0, r.top),
204 BPoint(r.right, r.top), darkShadow);
205 AddLine(BPoint(r.right, r.top + 1.0),
214 BPoint(r.left, r.top + 1.0), midShadow);
215 AddLine(BPoint(r.left, r.top),
[all...]
/haiku/src/system/boot/platform/generic/
H A Dvideo_blit.cpp30 uint16 height, uint16 imageWidth, uint16 left, uint16 top)
33 + gKernelArgs.frame_buffer.bytes_per_row * top + 4 * left);
53 uint16 height, uint16 imageWidth, uint16 left, uint16 top)
56 + gKernelArgs.frame_buffer.bytes_per_row * top + 3 * left;
77 uint16 height, uint16 imageWidth, uint16 left, uint16 top)
80 + gKernelArgs.frame_buffer.bytes_per_row * top + 2 * left);
102 uint16 height, uint16 imageWidth, uint16 left, uint16 top)
105 + gKernelArgs.frame_buffer.bytes_per_row * top + 2 * left);
127 uint16 height, uint16 imageWidth, uint16 left, uint16 top)
132 addr_t start = frameBuffer + gKernelArgs.frame_buffer.bytes_per_row * top
29 blit32(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
52 blit24(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
76 blit16(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
101 blit15(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
126 blit8(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
143 blit4(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
155 video_blit_image(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
[all...]
/haiku/src/apps/debuganalyzer/gui/
H A DColorCheckBox.cpp48 rect.top = floorf((rect.top + rect.bottom) / 2);
49 rect.bottom = rect.top + 1;
/haiku/src/apps/haikudepot/edits_generic/
H A DEditManager.cpp71 UndoableEditRef edit(fUndoHistory.top());
91 UndoableEditRef edit(fRedoHistory.top());
111 fUndoHistory.top()->GetName(name);
123 fRedoHistory.top()->GetName(name);
146 fEditAtSave = fUndoHistory.top();
157 if (fEditAtSave == fUndoHistory.top())
195 const UndoableEditRef& top = fUndoHistory.top(); local
196 if (edit->UndoesPrevious(top.Get())) {
199 } else if (top
[all...]
/haiku/src/tests/servers/app/newClipping/
H A DWinBorder.cpp41 fDecRegion.Include(BRect(bounds.left-4, bounds.top-4, bounds.right+4, bounds.top-1));
43 fDecRegion.Include(BRect(bounds.left-4, bounds.top, bounds.left-1, bounds.bottom));
44 fDecRegion.Include(BRect(bounds.right+1, bounds.top, bounds.right+4, bounds.bottom));
47 fDecRegion.Include(BRect(bounds.left-4, bounds.top-4-10, bounds.left+bounds.Width()/2, bounds.top-4));
/haiku/src/add-ons/translators/wonderbrush/
H A DLayer.cpp67 int32 left, top, right, bottom; local
68 rect_to_int(r, left, top, right, bottom);
73 src += 4 * left + bpr * top;
74 dst += 4 * left + bpr * top;
80 for (; top <= bottom; top++) {
133 for (; top <= bottom; top++) {
160 for (; top <= bottom; top
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvga.h14 int32 left, int32 top, int32 right, int32 bottom);

Completed in 218 milliseconds

1234567891011>>