/dports/cad/uranium/Uranium-3ed9c4de/UM/Qt/Bindings/ |
H A D | PointingRectangle.py | 109 arrow_size = 0 113 arrow_size = min(self._arrow_size, self.width()/2) 114 arrow_offset = max(arrow_size, min(self.width() - arrow_size, target_offset.x())) 117 vertex_data[4].set(arrow_offset - arrow_size, 0) 118 vertex_data[5].set(arrow_offset, - arrow_size) 119 vertex_data[6].set(arrow_offset + arrow_size, 0) 128 arrow_size = min(self._arrow_size, self.height()/2) 129 arrow_offset = max(arrow_size, min(self.height() - arrow_size, target_offset.y())) 132 vertex_data[4].set(0, arrow_offset - arrow_size) 133 vertex_data[5].set(-arrow_size, arrow_offset) [all …]
|
/dports/x11-toolkits/plib/plib-1.8.5/src/puAux/ |
H A D | puAuxSelectBox.cxx | 92 int arrow_size = h / 2 ; in setSize() local 96 input -> setSize ( w - arrow_size, h ) ; in setSize() 100 down_arrow -> setPosition ( w - arrow_size, 0 ) ; in setSize() 101 down_arrow -> setSize ( arrow_size, arrow_size ) ; in setSize() 103 up_arrow -> setPosition ( w - arrow_size, arrow_size ) ; in setSize() 104 up_arrow -> setSize ( arrow_size, arrow_size ) ; in setSize() 178 int arrow_size = (maxy - miny) / 2 ; in puaSelectBox() local 180 input = new puInput ( 0, 0, maxx-minx - arrow_size, maxy-miny ) ; in puaSelectBox() 188 down_arrow = new puArrowButton ( maxx-minx - arrow_size, 0, in puaSelectBox() 189 maxx-minx, arrow_size, in puaSelectBox() [all …]
|
H A D | puAuxSpinBox.cxx | 39 int arrow_size = ( maxy - miny ) / 2 ; in UL_RTTI_DEF2() local 41 input_box = new puInput ( 0, 0, maxx - minx - arrow_size, maxy - miny ) ; in UL_RTTI_DEF2() 43 input_box = new puInput ( arrow_size, 0, maxx - minx, maxy - miny ) ; in UL_RTTI_DEF2() 50 up_arrow = new puArrowButton ( arrow_position?maxx-minx-arrow_size:0, arrow_size, in UL_RTTI_DEF2() 51 arrow_position?maxx-minx:arrow_size, maxy-miny, PUARROW_UP ) ; in UL_RTTI_DEF2() 55 down_arrow = new puArrowButton ( arrow_position?maxx-minx-arrow_size:0, 0, in UL_RTTI_DEF2() 56 arrow_position?maxx-minx:arrow_size, arrow_size, PUARROW_DOWN ) ; in UL_RTTI_DEF2()
|
/dports/print/lyx/lyx-2.3.4.2/src/mathed/ |
H A D | InsetMathPhantom.cpp | 49 static int const arrow_size = 4; in draw() local 74 int const x1 = x2 - arrow_size; in draw() 75 int const x3 = x2 + arrow_size; in draw() 78 int const y2 = y1 + arrow_size; in draw() 80 int const y3 = y4 - arrow_size; in draw() 104 int const x2 = x + arrow_size; in draw() 106 int const x3 = x4 - arrow_size; in draw() 109 int const y1 = y2 - arrow_size; in draw() 110 int const y3 = y2 + arrow_size; in draw() 140 int const y1 = y2 - arrow_size; in draw() [all …]
|
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/gui/ |
H A D | gui2_scrollbar.cpp | 20 float arrow_size = rect.width / 2.0; in onDraw() local 21 float move_height = (rect.height - arrow_size * 2); in onDraw() 31 float arrow_size = rect.width / 2.0; in onMouseDown() local 32 float move_height = (rect.height - arrow_size * 2); in onMouseDown() 36 float bar_y = rect.top + arrow_size + move_height * getValue() / range; in onMouseDown() 51 float arrow_size = rect.width / 2.0; in onMouseDrag() local 53 float move_height = (rect.height - arrow_size * 2); in onMouseDrag() 58 float target_y_offset = position.y - drag_select_offset - (rect.top + arrow_size); in onMouseDrag() 71 float arrow_size = rect.width / 2.0; in onMouseUp() local 73 float move_height = (rect.height - arrow_size * 2); in onMouseUp() [all …]
|
/dports/games/crrcsim/crrcsim-0.9.13/src/GUI/ |
H A D | crrc_spin.cpp | 38 int arrow_size = maxy - miny; in crrcSpin() local 40 input_box = new puInput ( arrow_size, 0, maxx - minx - arrow_size, maxy - miny ) ; in crrcSpin() 44 arrow_size, arrow_size, PUARROW_DOWN ) ; in crrcSpin() 48 up_arrow = new puArrowButton (maxx - minx - arrow_size, 0, in crrcSpin() 49 maxx - minx, arrow_size, PUARROW_UP ) ; in crrcSpin()
|
/dports/devel/efl/efl-1.25.1/src/lib/elementary/ |
H A D | elc_ctxpopup.c | 117 Evas_Coord_Point arrow_size; in _base_geometry_calc() local 130 &arrow_size.x, &arrow_size.y); in _base_geometry_calc() 131 evas_object_resize(sd->arrow, arrow_size.x, arrow_size.y); in _base_geometry_calc() 192 if ((temp.x + arrow_size.x) > in _base_geometry_calc() 202 if ((temp.y + arrow_size.y) > in _base_geometry_calc() 295 Eina_Rectangle arrow_size; in _arrow_update() local 304 (sd->arrow, NULL, NULL, &arrow_size.w, &arrow_size.h); in _arrow_update() 326 y = base_size.h - arrow_size.h; in _arrow_update() 352 y = base_size.h - arrow_size.h; in _arrow_update() 376 x = base_size.w - arrow_size.w; in _arrow_update() [all …]
|
/dports/x11-toolkits/granite/granite-6.2.0/lib/Widgets/ |
H A D | CellRendererExpander.vala | 57 int arrow_size; 58 widget.style_get ("expander-size", out arrow_size); 59 return arrow_size; 77 int arrow_size = int.min (get_arrow_size (widget), aligned_area.width); 79 int offset = arrow_size / 2; 87 ctx.render_expander (context, x, y, arrow_size, arrow_size);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/try_chrome_dialog_win/ |
H A D | arrow_border.cc | 88 gfx::Size arrow_size(size, size); in Paint() local 94 arrow_bounds.Offset(arrow_bounds.width() - arrow_size.width(), 0); in Paint() 96 arrow_bounds.Offset(0, arrow_bounds.height() - arrow_size.height()); in Paint() 99 arrow_bounds.y(), arrow_size.width(), in Paint() 100 arrow_size.height(), false, cc::PaintFlags()); in Paint()
|
/dports/print/lyx/lyx-2.3.4.2/src/insets/ |
H A D | InsetPhantom.cpp | 147 static int const arrow_size = 4; in draw() local 168 int const x1 = x2 - arrow_size; in draw() 169 int const x3 = x2 + arrow_size; in draw() 172 int const y2 = y1 + arrow_size; in draw() 174 int const y3 = y4 - arrow_size; in draw() 200 int const x2 = x + arrow_size; in draw() 202 int const x3 = x4 - arrow_size; in draw() 205 int const y1 = y2 - arrow_size; in draw() 206 int const y3 = y2 + arrow_size; in draw()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ |
H A D | ArrowAnnotation.cs | 34 private int arrow_size = 5; field in System.Windows.Forms.DataVisualization.Charting.ArrowAnnotation 46 get { return arrow_size; } 51 arrow_size = value;
|
/dports/x11/slick-greeter/slick-greeter-1.5.3/src/ |
H A D | dash-entry.vala | 124 var arrow_size = get_arrow_size (); 126 style_ctx.render_activity (c, 0, 0, arrow_size, arrow_size); 138 var arrow_size = get_arrow_size (); 140 c.translate (arrow_size - arrow_pixbuf.get_width () - 1, 0); // right align 212 var arrow_size = get_arrow_size (); 218 var margin = (allocation.height - arrow_size) / 2; 220 x = allocation.x + allocation.width - margin - arrow_size; 233 var arrow_size = get_arrow_size (); 235 arrow_win.move_resize (arrow_x, arrow_y, arrow_size, arrow_size);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/menu/ |
H A D | menu_config_win.cc | 27 gfx::Size arrow_size = NativeTheme::GetInstanceForNativeUi()->GetPartSize( in Init() local 29 if (!arrow_size.IsEmpty()) { in Init() 30 arrow_width = arrow_size.width(); in Init()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/menu/ |
H A D | menu_config_win.cc | 28 gfx::Size arrow_size = NativeTheme::GetInstanceForNativeUi()->GetPartSize( in Init() local 30 if (!arrow_size.IsEmpty()) { in Init() 31 arrow_width = arrow_size.width(); in Init()
|
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/visualization/line/ |
H A D | vistooltriangle.cpp | 158 qreal arrow_size = 10; in DrawAimedAxis() local 162 DrawArrow(line, path, arrow_size); in DrawAimedAxis() 173 DrawArrow(axis, path, arrow_size); in DrawAimedAxis() 181 void VisToolTriangle::DrawArrow(const QLineF &axis, QPainterPath &path, const qreal &arrow_size) in DrawArrow() argument 185 arrowPart1.setLength(arrow_size); in DrawArrow() 193 arrowPart2.setLength(arrow_size); in DrawArrow()
|
/dports/x11-wm/awesome/awesome-4.3/lib/gears/ |
H A D | shape.lua | 154 function module.infobubble(cr, width, height, corner_radius, arrow_size, arrow_position) 155 arrow_size = arrow_size or 10 156 corner_radius = math.min((height-arrow_size)/2, corner_radius or 5) 157 arrow_position = arrow_position or width/2 - arrow_size/2 160 cr:move_to(0 ,corner_radius+arrow_size) 163 cr:arc(corner_radius, corner_radius+arrow_size, (corner_radius), math.pi, 3*(math.pi/2)) 166 cr:line_to(arrow_position , arrow_size ) 167 cr:line_to(arrow_position + arrow_size , 0 ) 168 cr:line_to(arrow_position + 2*arrow_size , arrow_size ) 171 …cr:arc(width-corner_radius, corner_radius+arrow_size , (corner_radius) , 3*(math.pi/2) , math.pi*…
|
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/engine/ |
H A D | rs_dimradial.cpp | 168 double arrow_size = getArrowSize()*dimscale; in updateDim() local 173 if (tick_size == 0 && arrow_size != 0) in updateDim() 176 outsideArrow = (length < arrow_size*2+textWidth); in updateDim() 180 length += arrow_size*2 + textWidth; in updateDim() 191 arrow->shapeArrow(p2, arrowAngle, arrow_size); in updateDim() 233 textPos.setPolar(length-textWidth/2.0-arrow_size, angle); in updateDim()
|
/dports/misc/urh/urh-2.9.2/src/urh/simulator/ |
H A D | MessageItem.py | 143 arrow_size = 10.0 150 arrow_p1 = self.line().p2() - QPointF(math.sin(angle + math.pi / 2.5) * arrow_size, 151 math.cos(angle + math.pi / 2.5) * arrow_size) 153 … arrow_p2 = self.line().p2() - QPointF(math.sin(angle + math.pi - math.pi / 2.5) * arrow_size, 154 … math.cos(angle + math.pi - math.pi / 2.5) * arrow_size)
|
/dports/multimedia/qpwgraph/qpwgraph-71edb283e7b5d4429d5ef9951de6b740afb07790/src/ |
H A D | qpwgraph_connect.cpp | 161 const qreal arrow_size = 8.0; in updatePathTo() local 165 ::sin(arrow_angle + M_PI / 2.25) * arrow_size, in updatePathTo() 166 ::cos(arrow_angle + M_PI / 2.25) * arrow_size)); in updatePathTo() 168 ::sin(arrow_angle + M_PI - M_PI / 2.25) * arrow_size, in updatePathTo() 169 ::cos(arrow_angle + M_PI - M_PI / 2.25) * arrow_size)); in updatePathTo()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/tests/unit_tests/ |
H A D | cevscpe.dia.ref | 41 assert_checkequal(s1.arrow_size, 0); 42 assert_checkequal(s2.arrow_size, 0); 43 assert_checkequal(s3.arrow_size, 0);
|
H A D | cevscpe.tst | 55 assert_checkequal(s1.arrow_size, 0); 56 assert_checkequal(s2.arrow_size, 0); 57 assert_checkequal(s3.arrow_size, 0);
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/render/ |
H A D | dim_linear.py | 85 self.required_arrows_space = 2 * self.arrow_size + self.text_gap # type: float 114 required_space = self.dim_text_width + 2 * self.arrow_size 278 hdist = self.dim_text_width / 2. + self.arrow_size + self.text_gap 326 scale = self.arrow_size 363 arrow_size = self.arrow_size 367 start - self.dim_line_vec * arrow_size, 368 start - self.dim_line_vec * (2 * arrow_size), 374 end + self.dim_line_vec * arrow_size, 375 end + self.dim_line_vec * (2 * arrow_size),
|
H A D | dim_radius.py | 65 self.outside_default_distance = self.radius + 2 * self.arrow_size 146 hdist += self.arrow_size 156 hdist = (self.radius - self.arrow_size) / 2 159 hdist = self.dim_text_width / 2. + self.arrow_size + self.text_gap 170 hdist += self.arrow_size 278 scale = self.arrow_size 305 hdist = self.arrow_size 319 hdist = self.arrow_size
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/demos/gtk-demo/ |
H A D | foreigndrawing.c | 261 gint arrow_width, arrow_height, arrow_size; in draw_menu() local 313 arrow_size = MIN (arrow_width, arrow_height); in draw_menu() 317 contents_x + contents_width - arrow_size, in draw_menu() 318 contents_y + (contents_height - arrow_size) / 2, arrow_size); in draw_menu() 325 arrow_size = MIN (arrow_width, arrow_height); in draw_menu() 328 contents_y + (contents_height - arrow_size) / 2, arrow_size); in draw_menu() 331 arrow_size = MIN (arrow_width, arrow_height); in draw_menu() 334 contents_y + (contents_height - arrow_size) / 2, arrow_size); in draw_menu() 753 gint arrow_width, arrow_height, arrow_size; in draw_combobox() local 785 arrow_size = MIN (arrow_width, arrow_height); in draw_combobox() [all …]
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/ |
H A D | gtkspinbutton.c | 546 gint arrow_size; in gtk_spin_button_realize() local 548 arrow_size = spin_button_get_arrow_size (spin_button); in gtk_spin_button_realize() 637 gint arrow_size; in gtk_spin_button_size_request() local 639 arrow_size = spin_button_get_arrow_size (spin_button); in gtk_spin_button_size_request() 703 gint arrow_size; in gtk_spin_button_size_allocate() local 706 arrow_size = spin_button_get_arrow_size (spin); in gtk_spin_button_size_allocate() 1153 gint arrow_size; in gtk_spin_button_button_release() local 1155 arrow_size = spin_button_get_arrow_size (spin); in gtk_spin_button_button_release() 1441 gint arrow_size; in gtk_spin_button_get_text_area_size() local 2154 gint arrow_size; in spin_button_get_arrow_size() local [all …]
|