Lines Matching refs:height
23 test_straight_lines(Surface& s, uint32 width, uint32 height)
36 for (uint32 y = 0; y <= height; y += 5) {
40 s.StrokeLine(BPoint(x, 0), BPoint(x, height - 1), pat);
51 test_fill_rect(Surface& s, uint32 width, uint32 height)
65 for (uint32 y = 10; y <= height; y += 20) {
80 test_ellipses(Surface& s, uint32 width, uint32 height)
93 BPoint center(floorf(width / 2.0), floorf(height / 2.0));
95 float yRadius = height / 2.0;
111 test_lines(Surface& s, uint32 width, uint32 height)
124 for (uint32 y = 0; y <= height; y += 10) {
129 s.StrokeLine(BPoint(0, 0), BPoint(x, height), pat);
130 s.StrokeLine(BPoint(width - 1, 0), BPoint(x, height), pat);
141 test(Surface& s, uint32 width, uint32 height, BBitmap* testBitmap)
149 BPoint center(width / 2.0, height / 2.0);
161 for (uint32 y = 0; y <= height / 2; y += 10)
164 s.StrokeLine(BPoint(0, 0), BPoint(x, height)/*, kDottedBigger*/);
333 uint32 height = buffer->Height();
347 // painterNow += test(painter, width, height, testBitmap);
348 // painterNow += test_lines(painter, width, height);
349 // painterNow += test_straight_lines(painter, width, height);
350 painterNow += test_fill_rect(painter, width, height);
351 // painterNow += test_ellipses(painter, width, height);
374 // viewNow += test(*view, width, height, testBitmap);
375 // viewNow += test_lines(*view, width, height);
376 // viewNow += test_straight_lines(*view, width, height);
377 viewNow += test_fill_rect(*view, width, height);
378 // viewNow += test_ellipses(*view, width, height);