Home
last modified time | relevance | path

Searched refs:arc_radius (Results 1 – 19 of 19) sorted by relevance

/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/
H A Drecorder_group_tabs.cc115 double const arc_radius = get_width (); in draw_tab() local
127 cairo_move_to (cr, 0, tab.from + arc_radius); in draw_tab()
128 cairo_arc (cr, get_width (), tab.from + arc_radius, arc_radius, M_PI, 3 * M_PI / 2); in draw_tab()
130 cairo_arc (cr, get_width (), tab.to - arc_radius, arc_radius, M_PI / 2, M_PI); in draw_tab()
131 cairo_line_to (cr, 0, tab.from + arc_radius); in draw_tab()
134 if (tab.group && (tab.to - tab.from) > arc_radius) { in draw_tab()
142 layout->set_width ((tab.to - tab.from - arc_radius) * PANGO_SCALE); in draw_tab()
H A Deditor_group_tabs.cc94 double const arc_radius = get_width(); in draw_tab() local
106 cairo_move_to (cr, 0, tab.from + arc_radius); in draw_tab()
107 cairo_arc (cr, get_width(), tab.from + arc_radius, arc_radius, M_PI, 3 * M_PI / 2); in draw_tab()
109 cairo_arc (cr, get_width(), tab.to - arc_radius, arc_radius, M_PI / 2, M_PI); in draw_tab()
110 cairo_line_to (cr, 0, tab.from + arc_radius); in draw_tab()
113 if (tab.group && (tab.to - tab.from) > arc_radius) { in draw_tab()
121 layout->set_width ((tab.to - tab.from - arc_radius) * PANGO_SCALE); in draw_tab()
H A Dmixer_group_tabs.cc114 double const arc_radius = get_height(); in draw_tab() local
126 cairo_arc (cr, tab.from + arc_radius, get_height(), arc_radius, M_PI, 3 * M_PI / 2); in draw_tab()
127 cairo_line_to (cr, tab.to - arc_radius, 0); in draw_tab()
128 cairo_arc (cr, tab.to - arc_radius, get_height(), arc_radius, 3 * M_PI / 2, 2 * M_PI); in draw_tab()
132 if (tab.group && (tab.to - tab.from) > arc_radius) { in draw_tab()
140 layout->set_width ((tab.to - tab.from - arc_radius) * PANGO_SCALE); in draw_tab()
H A Dspeaker_dialog.cc146 float arc_radius; in darea_expose_event() local
152 arc_radius = 2.0; in darea_expose_event()
155 arc_radius = 4.0; in darea_expose_event()
177 cairo_arc (cr, x, y, arc_radius, 0, 2.0 * M_PI); in darea_expose_event()
H A Dpanner2d.cc556 double arc_radius; in on_expose_event() local
561 arc_radius = 4.0; in on_expose_event()
564 arc_radius = 12.0; in on_expose_event()
576 cairo_arc (cr, c.x, c.y, arc_radius + 1.0, 0, 2.0 * M_PI); in on_expose_event()
600 cairo_arc (cr, c.x, c.y, arc_radius, 0, 2.0 * M_PI); in on_expose_event()
/dports/graphics/scantailor/scantailor-advanced-1.0.16/filters/deskew/
H A DImageView.cpp192 const double arc_radius = 0.5 * arc_square.width(); in handleMoveRequest() local
195 rel_y = qBound(-arc_radius, rel_y, arc_radius); in handleMoveRequest()
197 double angle_rad = std::asin(rel_y / arc_radius); in handleMoveRequest()
252 const double arc_radius = 0.5 * arc_square.width(); in getRotationHandles() local
254 QPointF left_handle(-rot_cos * arc_radius, -rot_sin * arc_radius); in getRotationHandles()
256 QPointF right_handle(rot_cos * arc_radius, rot_sin * arc_radius); in getRotationHandles()
/dports/x11/swaylock-effects/swaylock-effects-1.6-3/
H A Drender.c148 int arc_radius = state->args.radius * surface->scale; in render_frame() local
150 int buffer_diameter = (arc_radius + arc_thickness) * 2; in render_frame()
242 font_size = arc_radius / 3.0f; in render_frame()
330 (fe_l1.height / 2 - fe_l1.descent) - arc_radius / 10.0f; in render_frame()
339 cairo_set_font_size(cairo, arc_radius / 6.0f); in render_frame()
345 (fe_l2.height / 2 - fe_l2.descent) + arc_radius / 3.5f; in render_frame()
373 arc_radius, highlight_start, in render_frame()
393 arc_radius, highlight_start, in render_frame()
398 arc_radius, highlight_start + TYPE_INDICATOR_RANGE, in render_frame()
408 arc_radius - arc_thickness / 2, 0, 2 * M_PI); in render_frame()
[all …]
/dports/x11/swaylock/swaylock-1.5/
H A Drender.c77 int arc_radius = state->args.radius * surface->scale; in render_frame() local
79 int buffer_diameter = (arc_radius + arc_thickness) * 2; in render_frame()
142 cairo_arc(cairo, buffer_width / 2, buffer_diameter / 2, arc_radius, in render_frame()
159 cairo_set_font_size(cairo, arc_radius / 3.0f); in render_frame()
234 arc_radius, highlight_start, in render_frame()
254 arc_radius, highlight_start, in render_frame()
259 arc_radius, highlight_start + TYPE_INDICATOR_RANGE, in render_frame()
269 arc_radius - arc_thickness / 2, 0, 2 * M_PI); in render_frame()
272 arc_radius + arc_thickness / 2, 0, 2 * M_PI); in render_frame()
/dports/science/cdo/cdo-2.0.0/src/
H A DSmooth.cc41 double arc_radius = 0.0; member
83 if (spoint.arc_radius > 0.0) in smooth()
84 grid_point_search_set_arc_radius(gps, spoint.arc_radius); in smooth()
309 else if (key == "arc_radius") spoint.arc_radius = radius_str_to_deg(value.c_str()); in smooth_get_parameter()
325 if (sp.arc_radius > 0.0) in print_parameter()
326 … outbuffer << ", arc_radius=" << sp.arc_radius << "deg(" << radiusDegToKm(sp.arc_radius) << "km)"; in print_parameter()
360 check_radius_range(spoint.arc_radius, "arc_radius"); in Smooth()
401 spoint.arc_radius *= DEG2RAD; in Smooth()
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DSystemIcon.cpp360 double arc_radius = std::max(SYSTEM_RADIUS + FB_RADIUS, 1.0); in NthFleetButtonUpperLeft() local
374 …double half_fb_arc_angle = FB_RADIUS/arc_radius; // small angle approximation theta ~= tan(theta)… in NthFleetButtonUpperLeft()
392 arc_radius += 2.0*FB_RADIUS; in NthFleetButtonUpperLeft()
423 GG::X button_centre_x = GG::X(static_cast<int>( std::cos(button_angle) * arc_radius)); in NthFleetButtonUpperLeft()
424 GG::Y button_centre_y = GG::Y(static_cast<int>(-std::sin(button_angle) * arc_radius)); in NthFleetButtonUpperLeft()
/dports/graphics/pdfpc/pdfpc-4.5.0/src/classes/window/
H A Dfullscreen.vala364 double arc_radius = c.current_pen_drawing_tool.width * width_adjustment / 2.0;
365 if (arc_radius < 1.0) {
366 arc_radius = 1.0;
368 context.arc(x, y, arc_radius, 0, 2*Math.PI);
/dports/astro/opencpn/OpenCPN-5.2.4/src/
H A Ds52cnsy.cpp1385 double arc_radius = 20.; // mm in LIGHTS05() local
1393 arc_radius = 10.; in LIGHTS05()
1395 arc_radius = 15.; in LIGHTS05()
1397 arc_radius = 20.; in LIGHTS05()
1453 … sprintf(arc_data, ",%5.1f, %5.1f, %5.1f, %5.1f", sectr1, sectr2, arc_radius, sector_radius); in LIGHTS05()
1721 double arc_radius = 20.; // mm in LIGHTS06() local
1729 arc_radius = 10.; in LIGHTS06()
1731 arc_radius = 15.; in LIGHTS06()
1733 arc_radius = 20.; in LIGHTS06()
1789 … sprintf(arc_data, ",%5.1f, %5.1f, %5.1f, %5.1f", sectr1, sectr2, arc_radius, sector_radius); in LIGHTS06()
/dports/print/fig2dev/fig2dev-3.2.8a/fig2dev/dev/
H A Dgencgm.c1210 arc_radius(F_arc *a) in arc_radius() function
1298 double R = arc_radius(a); in arcwitharrows()
H A Dgenemf.c676 static double arc_radius();
1971 arc_radius(F_arc *a) in arc_radius() function
2020 double r = arc_radius(a); in arcoutline()
2076 double r = arc_radius(a); in arcinterior()
/dports/print/transfig/transfig.3.2.5e/fig2dev/dev/
H A Dgencgm.c1243 arc_radius(a) in arc_radius() function
1345 double R = arc_radius(a);
H A Dgenemf.c660 static double arc_radius();
1954 static double arc_radius(a) in arc_radius() function
2004 double r = arc_radius(a);
2060 double r = arc_radius(a);
/dports/cad/py-phidl/phidl-1.0.1/phidl/
H A Dgeometry.py1131 arc_radius = max(spacing_factor*arc_width1, min_spacing)
1132 arc_length = np.pi*arc_radius
1134 A = arc_tapered(radius = arc_radius, width1 = arc_width1,
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/scripts/
H A Dscenario_88_chaos.lua2801 local arc_radius = random(8000,25000)
2805 local mar_x, mar_y = vectorFromAngleNorth(angle,arc_radius)
2810 local mx, my = vectorFromAngleNorth(angle,arc_radius)
2816 mx, my = vectorFromAngleNorth(angle + angle_increment,arc_radius)
2823 mx, my = vectorFromAngleNorth(angle,arc_radius)
/dports/science/cdo/cdo-2.0.0/
H A DChangeLog200 * smooth: Add parameter arc_radius