Home
last modified time | relevance | path

Searched refs:get_height (Results 1 – 25 of 2632) sorted by relevance

12345678910>>...106

/dports/graphics/cluttermm/cluttermm-1.17.3/tests/
H A Dtest-size-class.cc23 out << size.get_width() << "/ " << size.get_height(); in operator <<()
40 if( ( size0.get_width() != 0) || ( size0.get_height() != 0 ) || in main()
41 ( size1.get_width() != p1x ) || ( size1.get_height() != p1y ) ) in main()
44 size0.get_height() << " and p1 = " << size1.get_width() << "/" << in main()
45 size1.get_height() << std::endl; in main()
82 if( comp_size.get_height() != 0) in main()
85 comp_size << " height = " << comp_size.get_height() << std::endl; in main()
88 if( comp1_size.get_height() != 15.0) in main()
93 if( comp2_size.get_height() != 15) in main()
125 if( comp_size.get_height() != h1) in main()
[all …]
/dports/audio/exaile/exaile-4.1.1/xlgui/
H A Dicons.py66 pixbuf.get_height(),
72 height=self.pixbuf.get_height(),
81 def get_height(self): member in ExtendedPixbuf
82 return self.pixbuf.get_height()
199 height = max(self.pixbuf.get_height(), other.get_height())
224 height=other.get_height(),
254 self.pixbuf.get_height() + spacing + other.get_height(),
271 height=other.get_height(),
297 self.pixbuf.get_height(),
363 height = max(self.pixbuf.get_height(), other.get_height())
[all …]
/dports/games/battletanks/btanks-0.9.8083/engine/src/
H A Dhud.cpp187 int box_h = _font->get_height(); in renderTeamStats()
236 int box_h = _font->get_height(); in renderPlayerStats()
280 radar_size.y = math::min(window.get_height() / 8, _radar_bg.get_height()); in renderRadar()
283 radar_size.y = _radar_bg.get_height(); in renderRadar()
297 …ort.h / 2 - msize.y / 2 - msize.y * (_radar.get_height() - _radar_bg.get_height()) / 2 / _radar_bg… in renderRadar()
314 …sdlx::Rect src2(split.x, split.y - _radar_bg.get_height(), _radar_bg.get_width(), _radar_bg.get_he… in renderRadar()
596 int h = _pointer->get_height(); in render()
616 int spy = (window.get_height() - _splash->get_height()) / 2; in renderSplash()
630 int y = (int)(window.get_height() * yf); in renderLoadingBar()
658 int dy = (_loading_border->get_height() - _small_font->get_height()) / 2; in renderLoadingBar()
[all …]
/dports/audio/eq10q-lv2/eq10q-2.2/gui/widgets/
H A Dfaderwidget.cpp101 Gdk::Rectangle r(0, 0, get_allocation().get_width(), get_allocation().get_height()); in redraw()
117 const int height = allocation.get_height(); in on_expose_event()
120 n = (double)(height - FADER_MARGIN - m_image_surface_ptr->get_height()) - m_min*m; in on_expose_event()
134 …cr->move_to(round(width/2) + 0.5, FADER_MARGIN + m_image_surface_ptr->get_height()/2 + TITLE_OFFSE… in on_expose_event()
173 yBarPosition = (int)(m*i + n) + m_image_surface_ptr->get_height()/2; in on_expose_event()
219 cr->translate(width/2 + 4, yFaderPosition + m_image_surface_ptr->get_height()/2 + 6); in on_expose_event()
220 cr->scale(m_image_surface_ptr->get_width()/1.2, m_image_surface_ptr->get_height()/1.2); in on_expose_event()
252 y < yFaderPosition + m_image_surface_ptr->get_height()) in on_button_press_event()
296 const int height = allocation.get_height(); in on_mouse_motion_event()
302 …ht - FADER_MARGIN - m_image_surface_ptr->get_height() ? height - FADER_MARGIN - m_image_surface_pt… in on_mouse_motion_event()
[all …]
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/genesys/
H A Dimage_pipeline.h174 std::size_t get_height() const override { return source_.get_height(); } in get_height() function
198 std::size_t get_height() const override { return source_.get_height(); } in get_height() function
234 std::size_t get_height() const override { return source_.get_height() / interleaved_lines_; } in get_height() function
268 std::size_t get_height() const override { return source_.get_height(); } in get_height() function
286 std::size_t get_height() const override { return source_.get_height(); } in get_height() function
305 std::size_t get_height() const override { return source_.get_height() / 3; } in get_height() function
328 std::size_t get_height() const override { return source_.get_height() * 3; } in get_height() function
406 std::size_t get_height() const override { return source_.get_height(); } in get_height() function
464 std::size_t get_height() const override { return source_.get_height(); } in get_height() function
487 std::size_t get_height() const override { return source_.get_height(); } in get_height() function
[all …]
/dports/devel/etl/synfig-1.2.2/synfig-studio/src/gui/cellrenderer/
H A Dcellrenderer_timetrack.cpp139 cr->scale(area.get_width(), area.get_height()); in render_time_point_to_window()
150 cr->scale(area.get_width(), area.get_height()*2); in render_time_point_to_window()
207 cr->line_to(area.get_x(),area.get_y()+area.get_height()-area.get_height()/3); in render_time_point_to_window()
229 cr->scale(area.get_width(), area.get_height()); in render_time_point_to_window()
297 cr->line_to(area.get_x()+area.get_width(),area.get_y()+area.get_height()-area.get_height()/3); in render_time_point_to_window()
571 const int h = (area.get_height() - 2)/2; in render_vfunc()
642 area.get_x() - area.get_height()/2 + x + 1, in render_vfunc()
644 area.get_height()-2, in render_vfunc()
645 area.get_height()-2 in render_vfunc()
673 area.get_height()-2, in render_vfunc()
[all …]
/dports/graphics/synfig/synfig-1.2.2/synfig-studio/src/gui/cellrenderer/
H A Dcellrenderer_timetrack.cpp139 cr->scale(area.get_width(), area.get_height()); in render_time_point_to_window()
150 cr->scale(area.get_width(), area.get_height()*2); in render_time_point_to_window()
207 cr->line_to(area.get_x(),area.get_y()+area.get_height()-area.get_height()/3); in render_time_point_to_window()
229 cr->scale(area.get_width(), area.get_height()); in render_time_point_to_window()
297 cr->line_to(area.get_x()+area.get_width(),area.get_y()+area.get_height()-area.get_height()/3); in render_time_point_to_window()
571 const int h = (area.get_height() - 2)/2; in render_vfunc()
642 area.get_x() - area.get_height()/2 + x + 1, in render_vfunc()
644 area.get_height()-2, in render_vfunc()
645 area.get_height()-2 in render_vfunc()
673 area.get_height()-2, in render_vfunc()
[all …]
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/gui/cellrenderer/
H A Dcellrenderer_timetrack.cpp139 cr->scale(area.get_width(), area.get_height()); in render_time_point_to_window()
150 cr->scale(area.get_width(), area.get_height()*2); in render_time_point_to_window()
207 cr->line_to(area.get_x(),area.get_y()+area.get_height()-area.get_height()/3); in render_time_point_to_window()
229 cr->scale(area.get_width(), area.get_height()); in render_time_point_to_window()
297 cr->line_to(area.get_x()+area.get_width(),area.get_y()+area.get_height()-area.get_height()/3); in render_time_point_to_window()
571 const int h = (area.get_height() - 2)/2; in render_vfunc()
642 area.get_x() - area.get_height()/2 + x + 1, in render_vfunc()
644 area.get_height()-2, in render_vfunc()
645 area.get_height()-2 in render_vfunc()
673 area.get_height()-2, in render_vfunc()
[all …]
/dports/devel/stxxl/stxxl-1.4.1/include/stxxl/bits/containers/
H A Dmatrix_arithmetic.h575 …dl(matrix, matrix.get_height()/2, matrix.get_width()/2, matrix.get_height()/2, …
576 …dr(matrix, matrix.get_height()/2, matrix.get_width()/2, matrix.get_height()/2, matrix.get_width()/…
712 { return m.get_height(); }
963 …dl(matrix, matrix.get_height()/2, matrix.get_width()/2, matrix.get_height()/2, …
964 …dr(matrix, matrix.get_height()/2, matrix.get_width()/2, matrix.get_height()/2, matrix.get_width()/…
980 inline const size_type get_height()
981 { return ul.get_height(); }
1009 inline const size_type get_height()
1388 …downleft (whole, whole.get_height()/2, whole.get_width()/2, whole.get_height()/2, …
1417 …downleft (whole, whole.get_height() - whole.get_height()/2, whole.get_width()/…
[all …]
/dports/games/lordsawar/lordsawar-0.3.2/src/editor/
H A Deditablesmallmap.cpp49 map_changed.emit(surface, Gdk::Rectangle(0, 0, get_width(), get_height())); in after_draw()
170 FontSize::getInstance ()->get_height ())->to_pixbuf(); in get_cursor()
171 hotspot = Vector<int>(cursor->get_width() / 2, cursor->get_height() / 2); in get_cursor()
177 FontSize::getInstance ()->get_height ())->to_pixbuf(); in get_cursor()
183 FontSize::getInstance ()->get_height ())->to_pixbuf(); in get_cursor()
190 FontSize::getInstance ()->get_height ())->to_pixbuf(); in get_cursor()
192 Vector<int>(cursor->get_width() / 2, cursor->get_height() / 2); in get_cursor()
203 FontSize::getInstance ()->get_height ())->to_pixbuf(); in get_cursor()
205 Vector<int>(cursor->get_width() / 2, cursor->get_height() / 2); in get_cursor()
212 FontSize::getInstance ()->get_height ())->to_pixbuf(); in get_cursor()
[all …]
/dports/lang/gnu-apl/apl-1.8/src/
H A DPrintBuffer.cc394 Q1(get_height()) in do_PrintBuffer()
448 loop(row, get_height()) in print_interruptible()
654 loop(y, get_height()) in pad_to_spaces()
750 loop(y, get_height()) in add_frame()
857 loop(y, get_height()) in add_outer_frame()
890 if (get_height() == 0) in debug()
905 loop(y, get_height()) in debug()
924 Assert(get_height() == pb1.get_height()); in append_col()
1061 if (get_height() != pb.get_height()) in add_column()
1067 Assert(get_height() == pb.get_height()); in add_column()
[all …]
/dports/multimedia/quodlibet/quodlibet-4.3.0/tests/
H A Dtest_qltk_image.py34 s.failUnlessEqual((nw.get_width(), nw.get_height()), (50, 3))
37 s.failUnlessEqual((nh.get_width(), nh.get_height()), (2, 20))
40 s.failUnlessEqual((ns.get_width(), ns.get_height()), (150, 300))
43 s.failUnlessEqual((ns.get_width(), ns.get_height()), (10, 20))
53 w, h = self.small.get_width(), self.small.get_height()
56 self.assertEqual(res.get_height(), h + 2)
60 self.assertEqual(res.get_height(), h + 2)
64 self.assertEqual(res.get_height(), h + 4)
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/entities/
H A DJumper.cpp130 corner.y += candidate_position.get_height() + 1; in is_in_jump_position()
154 candidate_position.get_y() + candidate_position.get_height() / 2 in is_in_jump_position()
170 candidate_position.get_y() + candidate_position.get_height() / 2 in is_in_jump_position()
178 candidate_position.get_y() + candidate_position.get_height() in is_in_jump_position()
194 return overlaps(facing_point.x, facing_point.y - candidate_position.get_height() / 2) in is_in_jump_position()
195 && overlaps(facing_point.x, facing_point.y + candidate_position.get_height() / 2 - 1); in is_in_jump_position()
203 facing_point.y < get_top_left_y() + get_height(); in is_in_jump_position()
347 xy.y += rectangle.get_height() - 1; in overlaps_jumping_region()
364 get_top_left_y() + get_height() - 1)) { in overlaps_jumping_region()
374 get_top_left_x(), get_top_left_y() + get_height() - 1)) { in overlaps_jumping_region()
/dports/games/construo/construo-0.2.3/src/
H A Dworldview_component.cpp31 : GUIComponent(0, 0, graphic_context->get_width (), graphic_context->get_height ()) in WorldViewComponent()
140 if (gc.screen_to_world_y(parent_gc->get_height()) >= 599) in draw_ground()
145 gc.screen_to_world_y(parent_gc->get_height()), in draw_ground()
173 gc.screen_to_world_y(parent_gc->get_height()), in draw_ground()
203 gc.zoom_out (get_width()/2, get_height()/2); in draw()
204 gc.zoom_out (get_width()/2, get_height()/2); in draw()
228 parent_gc->draw_string (10, parent_gc->get_height () - 15, "[ Zoom Mode ]"); in draw()
231 parent_gc->draw_string (10, parent_gc->get_height () - 15, "[ Insert Mode ]"); in draw()
234 parent_gc->draw_string (10, parent_gc->get_height () - 15, "[ Select Mode ]"); in draw()
406 gc.zoom_out (get_width()/2, get_height()/2); in on_world_change()
[all …]
/dports/games/battletanks/btanks-0.9.8083/engine/menu/
H A Dnumber_control.cpp13 r_up(0, 0, _number->get_width(), _number->get_height() / 2), in NumberControl()
14 …r_down(0, _number->get_height() / 2, _number->get_width(), _number->get_height() - _number->get_he… in NumberControl()
37 …_font->render(surface, x + _number->get_width(), y + _number->get_height() - _font->get_height(), … in render()
42 h = math::max(_number->get_height(), _font->get_height()); in get_size()
H A Dchooser.cpp69 h = _left_right->get_height(); in get_size()
74 h = math::max(_left_right->get_height(), _surface->get_height()); in get_size()
77 h = math::max(_left_right->get_height(), _font->get_height()); in get_size()
86 int lrh = _left_right->get_height(); in render()
98 …sdlx::Rect(_i * _surface->get_width() / _n, 0, _surface->get_width() / _n, _surface->get_height())… in render()
99 x + _left_area.x + lrw, y + (_left_area.h - _surface->get_height())/ 2); in render()
103 …_font->render(surface, x + _left_area.x + (w - tw) / 2, y + (_left_area.h - _font->get_height())/ … in render()
/dports/math/ogdf/OGDF/src/ogdf/energybased/fmmm/
H A DMAARPacking.cpp91 aspect_ratio_area = calculate_aspect_ratio_area(r.get_width(), r.get_height(), in pack_rectangles_using_Best_Fit_strategy()
128 p.set_max_height(r.get_height()); in B_F_insert_rectangle_in_new_row()
138 area_height += r.get_height(); in B_F_insert_rectangle_in_new_row()
211 p.set_max_height(max(old_max_height,r.get_height())); in B_F_insert_rectangle()
220 Math::updateMax(area_height, area_height - old_max_height + r.get_height()); in B_F_insert_rectangle()
296 area += r.get_width() * r.get_height(); in calculate_bounding_rectangles_area()
326 double height = area_height + r.get_height(); in better_tipp_rectangle_in_new_row()
334 width = max(area_width, r.get_height()); in better_tipp_rectangle_in_new_row()
371 width = max(area_width, B_F_row.get_total_width() + r.get_height()); in better_tipp_rectangle_in_this_row()
393 tipped_dlc.m_x = r.get_old_dlc_position().m_y*(-1)-r.get_height(); in tipp_over()
[all …]
/dports/games/krank/krank-07/src/
H A DTools.py80 …ect.left-img.get_width(), rect.top-(img.get_height()-rect.height)/2, rect.width+img.get_width()*2,…
81 …Rect(rect.left-img.get_width(), rect.top-(img.get_height()-rect.height)/2, img.get_width(), img.ge…
82 …midRect = pygame.Rect(rect.left, rect.top-(img.get_height()-rect.height)/2, rect.width, img.get_he…
83 …tRect = pygame.Rect(rect.right, rect.top-(img.get_height()-rect.height)/2, img.get_width(), img.ge…
113 for y in range(surface.get_height()/blend_size+1):
/dports/math/ump/ump-0.8.6/src/
H A Dmath2.picture.cpp90 if(pic.get_height() == 0) in get_y_value()
93 …return bottom + floatx(pic.get_height() -1 - ypixel) * ( (top - bottom) / floatx(pic.get_height())… in get_y_value()
106 if(pic.get_height() == 0) in get_unit_y_pixel()
109 return (top - bottom) / floatx( pic.get_height() ); in get_unit_y_pixel()
129 if(pic.get_height() == 0) in get_float_y_pixel()
132 tmp = (bottom - top) / floatx(pic.get_height()); in get_float_y_pixel()
162 if(pic.get_height() == 0) in get_y_pixel()
165 tmp = (bottom - top) / floatx(pic.get_height()); in get_y_pixel()
/dports/graphics/cairomm/cairomm-1.12.2/examples/surfaces/
H A Dimage-surface.cc31 cr->rectangle(0.0, 0.0, surface->get_width(), surface->get_height()); in main()
36 cr->arc(surface->get_width() / 2.0, surface->get_height() / 2.0, in main()
37 surface->get_height() / 4.0, 0.0, 2.0 * M_PI); in main()
41 cr->move_to(surface->get_width() / 4.0, surface->get_height() / 4.0); in main()
42 cr->line_to(surface->get_width() * 3.0 / 4.0, surface->get_height() * 3.0 / 4.0); in main()
/dports/emulators/anese/ANESE-0.9.1/roms/tests/ppu/ppu_read_buffer/source/gfx/
H A Dscolorq.inc201 int get_height() { return height; }
221 for(int row=0; row<get_height(); row++) {
291 for (j=0; j<a.get_height(); j++) {
296 if (j == a.get_height() - 1) {
343 int get_height() { return height; }
388 for(int j=0; j<a.get_height(); j++) {
471 if (j_y >= a.get_height()) break;
496 if (y*2 + 1 < fine.get_height()) {
500 y*2 + 1 < fine.get_height()) {
513 for(int j=0; j < s.get_height(); j++) {
[all …]
/dports/devel/cmake-gui/cmake-3.22.1/Tests/FindGTK2/cairomm/
H A Dmain.cpp34 cr->rectangle(0.0, 0.0, surface->get_width(), surface->get_height()); in main()
39 cr->arc(surface->get_width() / 2.0, surface->get_height() / 2.0, in main()
40 surface->get_height() / 4.0, 0.0, 2.0 * M_PI); in main()
44 cr->move_to(surface->get_width() / 4.0, surface->get_height() / 4.0); in main()
46 surface->get_height() * 3.0 / 4.0); in main()
/dports/devel/cmake/cmake-3.22.1/Tests/FindGTK2/cairomm/
H A Dmain.cpp34 cr->rectangle(0.0, 0.0, surface->get_width(), surface->get_height()); in main()
39 cr->arc(surface->get_width() / 2.0, surface->get_height() / 2.0, in main()
40 surface->get_height() / 4.0, 0.0, 2.0 * M_PI); in main()
44 cr->move_to(surface->get_width() / 4.0, surface->get_height() / 4.0); in main()
46 surface->get_height() * 3.0 / 4.0); in main()
/dports/devel/cmake-doc/cmake-3.22.1/Tests/FindGTK2/cairomm/
H A Dmain.cpp34 cr->rectangle(0.0, 0.0, surface->get_width(), surface->get_height()); in main()
39 cr->arc(surface->get_width() / 2.0, surface->get_height() / 2.0, in main()
40 surface->get_height() / 4.0, 0.0, 2.0 * M_PI); in main()
44 cr->move_to(surface->get_width() / 4.0, surface->get_height() / 4.0); in main()
46 surface->get_height() * 3.0 / 4.0); in main()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/naga/tests/out/
H A Dimage.msl12 …metal::int2 _e10 = (int2(image_src.get_width(), image_src.get_height()) * static_cast<int2>(local_…
31get_height()).y) + int2(image_2d.get_width(1), image_2d.get_height(1)).y) + int2(image_2d_array.ge…

12345678910>>...106