Home
last modified time | relevance | path

Searched +refs:coords +refs:center +refs:y (Results 1 – 25 of 1715) sorted by relevance

12345678910>>...69

/dports/graphics/blender/blender-2.91.0/release/scripts/addons/archipack/
H A Dpanel.py181 p = center.y / basis
202 p = center.y / sx
220 return center.y + y, atan2(y, dx)
242 return center.y + y0, atan2(y, dx)
271 cy = offset.y + center.y - origin.y
301 cy = offset.y + center.y - origin.y
335 cy = offset.y + center.y - origin.y
398 sx = x * sqrt(basis * basis + center.y * center.y) / basis
453 coords.append((center.x, offset.y + center.y))
475 coords.append((x_left, offset.y + size.y))
[all …]
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/
H A Dsurfacedialog.cpp1567 glTranslatef(-center.x(), -center.y(), 0.0); in DrawControlWidgets()
1699 extents.minY = center.y() + VP_PADDING * (extents.minY - center.y()), in focus()
1701 extents.maxY = center.y() + VP_PADDING * (extents.maxY - center.y()); in focus()
1725 extents.minY = center.y() - 0.5f * TSize, extents.maxY = center.y() + 0.5f * TSize; in focus()
1877 trans.y() = -tm.coords[1][0] * nx - tm.coords[1][1] * ny; in button_press()
1885 oldTrans.y() = tm.coords[1][2]; in button_press()
1887 oldCenter.y() = center.y(); in button_press()
2080 …tm.coords[0][2] = (-c * center.x() * textureSize.x() - s * center.y() * textureSize.y()) + center.… in motion()
2081 …tm.coords[1][2] = ( s * center.x() * textureSize.x() - c * center.y() * textureSize.y()) + center. in motion()
2098 ny -= center.y(); in motion()
[all …]
/dports/games/netradiant/netradiant-20150621-src/radiant/
H A Dsurfacedialog.cpp1720 glTranslatef( -center.x(), -center.y(), 0.0 ); in DrawControlWidgets()
1854 extents.minY = center.y() + VP_PADDING * ( extents.minY - center.y() ), in focus()
1856 extents.maxY = center.y() + VP_PADDING * ( extents.maxY - center.y() ); in focus()
1879 extents.minY = center.y() - 0.5f * TSize, extents.maxY = center.y() + 0.5f * TSize; in focus()
2026 trans.y() = -tm.coords[1][0] * nx - tm.coords[1][1] * ny; in button_press()
2034 oldTrans.y() = tm.coords[1][2]; in button_press()
2036 oldCenter.y() = center.y(); in button_press()
2218 …tm.coords[0][2] = ( -c * center.x() * textureSize.x() - s * center.y() * textureSize.y() ) + cente… in motion()
2219 …tm.coords[1][2] = ( s * center.x() * textureSize.x() - c * center.y() * textureSize.y() ) + center in motion()
2236 ny -= center.y(); in motion()
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/eye_candy/
H A Deffect_targetmagic.cpp270 pos.y = effect->pos->y; in idle()
759 coords += center; in TargetMagicEffect2()
790 const Vec3 coords = spawner->get_new_coords() + center in TargetMagicEffect2() local
823 coords += center; in TargetMagicEffect2()
824 coords.y += randcoord(16.0) - 8.0; in TargetMagicEffect2()
843 coords += center; in TargetMagicEffect2()
857 coords += center; in TargetMagicEffect2()
873 coords += center; in TargetMagicEffect2()
874 coords.y += randcoord(10.0) + 8.0; in TargetMagicEffect2()
892 coords += center; in TargetMagicEffect2()
[all …]
H A Deffect_firefly.cpp69 pos.y = min_height; in idle()
75 pos.y = max_height; in idle()
96 center = *pos; in FireflyEffect()
102 mover = new BoundingMover(this, center, bounding_range, 1.0); in FireflyEffect()
109 … const Vec3 coords = spawner->get_new_coords() + center + Vec3(0.0, -0.125 + randcoord(0.25), 0.0); in FireflyEffect() local
110 if (coords.x == -32768.0) in FireflyEffect()
114 velocity.y /= 4.0; in FireflyEffect()
117 …w FireflyParticle(this, mover, coords, velocity, hue_adjust, saturation_adjust, size, center.y - r… in FireflyEffect()
144 const Vec3 coords = spawner->get_new_coords() + center + Vec3(0.0, -0.25 + randcoord(0.5), 0.0);; in idle() local
145 if (coords.x == -32768.0) in idle()
[all …]
H A Deffect_cloud.cpp257 center = *pos; in CloudEffect()
276 if (coords.x == -32768.0) in CloudEffect()
278 coords += center + Vec3(0.0, randcoord(5.0), 0.0); in CloudEffect()
281 velocity.y /= 3; in CloudEffect()
285 …new CloudParticle(this, mover, coords, velocity, hue_adjust, saturation_adjust, center.y, center.y in CloudEffect()
332 if (coords.x == -32768.0) in idle()
334 coords += center + Vec3(0.0, randcoord(5.0), 0.0); in idle()
341 …new CloudParticle(this, mover, coords, velocity, hue_adjust, saturation_adjust, center.y, center.y in idle()
353 if (coords.x == -32768.0) in idle()
355 coords += center + Vec3(0.0, randcoord(5.0), 0.0); in idle()
[all …]
H A Deffect_ongoing.cpp42 center = _pos; in OngoingParticle()
76 center = _pos; in OngoingParticle()
90 velocity.y -= scalar; in idle()
100 velocity.y -= scalar; in idle()
110 velocity.y -= scalar * 0.25f; in idle()
131 pos.x = center.x + cos(angle + M_PI * age_f) * std::max((age_f in idle()
137 pos.y = center.y - 0.0625f + pow(age_f, 2.0f) * 0.25f; in idle()
263 coords.y += sin(age_f * 1.5f) * 0.125f; in idle()
276 coords.y += sin(age_f * 2.5f) * 0.33f - 0.125f; in idle()
304 velocity.y += 0.08; in idle()
[all …]
H A Deffect_glow.cpp189 relpos.y = 0; in idle()
434 coords.y += (coord_t)(randfloat(2.0) * randfloat(2.0) * randfloat(2.0)); in GlowEffect()
443 coords.y += (coord_t)(randfloat(2.0) * randfloat(2.0) * randfloat(2.0)); in GlowEffect()
452 coords.y += (coord_t)(randfloat(2.0) * randfloat(2.0) * randfloat(2.0)); in GlowEffect()
590 const Vec3 center = effect_center; in GlowEffect() local
629 velocity.y = fabs(velocity.y); in GlowEffect()
645 velocity.y = fabs(velocity.y); in GlowEffect()
661 velocity.y = fabs(velocity.y); in GlowEffect()
677 velocity.y = fabs(velocity.y); in GlowEffect()
776 effect_center.y = pos->y; in idle()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/include/pcl/surface/impl/
H A Dpoisson.hpp120 center.coords[0] = center.coords[1] = center.coords[2] = 0; in execute()
213 cloud[i].x = p.coords[0]*scale+center.coords[0]; in performReconstruction()
214 cloud[i].y = p.coords[1]*scale+center.coords[1]; in performReconstruction()
215 cloud[i].z = p.coords[2]*scale+center.coords[2]; in performReconstruction()
220 cloud[i].x = p.coords[0]*scale+center.coords[0]; in performReconstruction()
221 cloud[i].y = p.coords[1]*scale+center.coords[1]; in performReconstruction()
222 cloud[i].z = p.coords[2]*scale+center.coords[2]; in performReconstruction()
294 points[i].x = p.coords[0]*scale+center.coords[0]; in performReconstruction()
295 points[i].y = p.coords[1]*scale+center.coords[1]; in performReconstruction()
296 points[i].z = p.coords[2]*scale+center.coords[2]; in performReconstruction()
[all …]
/dports/graphics/gimp-resynthesizer/resynthesizer-2.0.3/lib/
H A DengineTypes.h139 return to_sort_result((a->y * a->y) < (b->y * b->y)); in lessVertical()
159 coords.y = a.y + b.y; in add_points()
160 return coords; in add_points()
168 coords.y = a.y - b.y; in subtract_points()
169 return coords; in subtract_points()
205 bounds.uly = MIN(bounds.uly, coords.y); in get_bounds()
207 bounds.lry = MAX(bounds.lry, coords.y); in get_bounds()
221 Coordinates center; in get_center() local
223 center.x = (bounds.lrx - bounds.ulx) / 2 + bounds.ulx; in get_center()
224 center.y = (bounds.lry - bounds.uly) / 2 + bounds.uly; in get_center()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/svg/
H A DnsCSSClipPathInstance.cpp244 Point center = Point(anchor.x + aRefBox.x, anchor.y + aRefBox.y); in CreateClipPathCircle() local
254 center.x, aRefBox.x, aRefBox.x + aRefBox.width); in CreateClipPathCircle()
256 center.y, aRefBox.y, aRefBox.y + aRefBox.height); in CreateClipPathCircle()
268 builder->Arc(center / appUnitsPerDevPixel, r / appUnitsPerDevPixel, in CreateClipPathCircle()
287 Point center = Point(anchor.x + aRefBox.x, anchor.y + aRefBox.y); in CreateClipPathEllipse() local
300 center.y, aRefBox.y, aRefBox.y + aRefBox.height); in CreateClipPathEllipse()
308 center / appUnitsPerDevPixel, in CreateClipPathEllipse()
328 nscoord y = nsRuleNode::ComputeCoordPercentCalc(coords[1], aRefBox.height); in CreateClipPathPolygon() local
331 builder->MoveTo(Point(aRefBox.x + x, aRefBox.y + y) / appUnitsPerDevPixel); in CreateClipPathPolygon()
334 y = nsRuleNode::ComputeCoordPercentCalc(coords[i + 1], aRefBox.height); in CreateClipPathPolygon()
[all …]
/dports/cad/horizon-eda/horizon-2.1.0/src/core/tools/
H A Dtool_draw_arc.cpp25 ju->position.x = coords.x; in make_junction()
26 ju->position.y = coords.y; in make_junction()
32 temp_junc = make_junction(args.coords); in begin()
106 const auto end_angle = atan2(d.y, d.x); in update_end_angle()
117 radius = (args.coords - temp_arc->center->position).magd(); in update()
120 annotation->draw_line(temp_arc->center->position, args.coords, ColorP::FROM_LAYER, 0); in update()
126 const auto a = atan2(d.y, d.x); in update()
166 temp_arc->center = temp_junc; in update()
189 temp_arc->center = temp_junc; in update()
200 const auto d = args.coords - temp_arc->center->position; in update()
[all …]
/dports/devel/libgpkg/luciad-libgpkg-c56e3708453e/gpkg/
H A Dgeomio.c72 center[0] = p1_x; in find_center_circularArc()
73 center[1] = p1_y; in find_center_circularArc()
201 static double get_radius(double center_x, double center_y, double x, double y) { in get_radius() argument
203 double dy = y - center_y; in get_radius()
253 double center[2]; in geom_envelope_fill_arc() local
308 double radius = get_radius(center[0], center[1], p1_x, p1_y); in geom_envelope_fill_arc()
311 double endAngle = get_angle(center[0], center[1], p3_x, p3_y); in geom_envelope_fill_arc()
334 MIN_MAX(y) in geom_envelope_fill_simple()
340 MIN_MAX(y) in geom_envelope_fill_simple()
347 MIN_MAX(y) in geom_envelope_fill_simple()
[all …]
/dports/x11-toolkits/gnocl/gnocl-0.9.96/demo/canvas/
H A Dtest-canvas-text.tcl28 set text [$canvas create text -coords {10 10}]
44 foreach el {center N NW NE S SW SE W E} {
45 $canvas create text -coords [list $x $y] -text "anchor $el" -anchor $el
46 $canvas create ellipse -coords [list $x $y 2] -centerRadius 1 -fill red
54 $canvas create text -coords [list $x $y] -text $el -fill $el -anchor W
61 $canvas create text -coords [list $x $y] -text $txt -font "Sans 15" \
67 $canvas create text -coords {250 300} -text "�������" -fill $col -anchor center
73 $canvas create ellipse -coords [list $x $y 2] -centerRadius 1 -fill red
74 $canvas create text -coords [list $x $y] -text "offset $dx $dy" \
83 $canvas create text -coords [list $x $y] -text "no markup: $txt" -fill blue -anchor W
[all …]
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/tools/topo/hwloc/hwloc/utils/
H A Dlstopo-draw.c717 center = y + totheight + height / 2; \
735 … methods->line(output, 0, 0, 0, depth, center, y + myheight, center, y + myheight + gridsize); \
955 if (y > coords->y) in getmax_box()
956 coords->y = y; in getmax_box()
957 if (y + height > coords->y) in getmax_box()
958 coords->y = y + height; in getmax_box()
970 if (y1_arg > coords->y) in getmax_line()
971 coords->y = y1_arg; in getmax_line()
972 if (y2_arg > coords->y) in getmax_line()
973 coords->y = y2_arg; in getmax_line()
[all …]
/dports/devel/SpecTcl/SpecTcl/SpecTcl/
H A Darrow.tk29 set center 5
34 ${base}_column coords ${tag}_$x1 $dumcolumn $center [expr $dumcolumn+$dumcolumnh] $center
38 ${base}_row coords ${tag}_$x1 $center $dumrow $center [expr $dumrow+$dumrowh]
66 set center 5
75 ${base}_column coords ${tag}_$x1 $dumcolumn $center [expr $dumcolumn+$dumcolumnh] $center
80 ${base}_row coords ${tag}_$x1 $center $dumrow $center [expr $dumrow+$dumrowh]
128 set Y0 $y
146 dputs $win $what $x $y
183 set coords [${base}_$what coords $tag]
316 set coords
[all …]
/dports/textproc/py-nltk/nltk-3.4.1/nltk/
H A Dtreeprettyprinter.py158 center -= center % scale # round to unscaled coordinate
160 center += scale
172 i = j = center
312 coords = {}
526 y, x = self.coords[node]
528 y *= vscale
536 'points="%g,%g %g,%g" />' % (xmin, y, xmax, y)
540 'points="%g,%g %g,%g" />' % (x, y, x, y - fontsize // 3)
545 y, _ = self.coords[parent]
546 y *= vscale
[all …]
/dports/math/kig/kig-21.12.3/objects/
H A Dcircle_imp.cc79 Coordinate coords[4]; in inRect() local
80 coords[0] = r.topLeft(); in inRect()
81 coords[1] = r.topRight(); in inRect()
82 coords[2] = r.bottomRight(); in inRect()
83 coords[3] = r.bottomLeft(); in inRect()
86 for ( Coordinate* i = coords; i < coords + 4; ++i ) in inRect()
274 return center(); in focus1()
279 return center(); in focus2()
292 1.0, 1.0, 0.0, -2*c.x, -2*c.y, in cartesianData()
293 c.x*c.x + c.y*c.y - sqr ); in cartesianData()
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/lib/
H A Dlibpamd.c747 pamd_point const center, in pamd_circle() argument
763 pamd_validateCoord(center.x + radius); in pamd_circle()
764 pamd_validateCoord(center.y + radius); in pamd_circle()
765 pamd_validateCoord(center.x - radius); in pamd_circle()
766 pamd_validateCoord(center.y - radius); in pamd_circle()
831 coord * coords; member
1097 fh->coords[i-1] = fh->coords[i-2]; in pamd_fill()
1274 pamd_point const center, in textPosFromFontPos() argument
1290 pamd_point const ptl = vectorSum(center, fontPos); in textPosFromFontPos()
1364 center, in drawGlyph()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/apps/src/
H A Drender_views_tesselated_sphere.cpp51 comx += center[0] * area_com; in generateViews()
52 comy += center[1] * area_com; in generateViews()
53 comz += center[2] * area_com; in generateViews()
141 Eigen::Vector3f(float(center[0]), float(center[1]), float(center[2])); in generateViews()
303 double coords[3]; in generateViews() local
317 cloud->at(y, x).x = static_cast<float>(coords[0]); in generateViews()
318 cloud->at(y, x).y = static_cast<float>(coords[1]); in generateViews()
319 cloud->at(y, x).z = static_cast<float>(coords[2]); in generateViews()
332 double coords[3]; in generateViews() local
344 worldPicker->GetPickPosition(coords); in generateViews()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/pink/objects/actions/
H A Daction_cel.cpp75 Coordinates coords; in getCoordinates() local
76 coords.point = _decoder.getCenter(); in getCoordinates()
77 coords.z = getZ(); in getCoordinates()
79 return coords; in getCoordinates()
86 _bounds = Common::Rect::center(point.x, point.y, _decoder.getWidth(), _decoder.getHeight()); in loadDecoder()
106 void ActionCEL::setCenter(const Common::Point &center) { in setCenter() argument
108 _bounds = Common::Rect::center(center.x, center.y, _decoder.getWidth(), _decoder.getHeight()); in setCenter()
/dports/games/scummvm/scummvm-2.5.1/engines/pink/objects/actions/
H A Daction_cel.cpp75 Coordinates coords; in getCoordinates() local
76 coords.point = _decoder.getCenter(); in getCoordinates()
77 coords.z = getZ(); in getCoordinates()
79 return coords; in getCoordinates()
86 _bounds = Common::Rect::center(point.x, point.y, _decoder.getWidth(), _decoder.getHeight()); in loadDecoder()
106 void ActionCEL::setCenter(Common::Point center) { in setCenter() argument
108 _bounds = Common::Rect::center(center.x, center.y, _decoder.getWidth(), _decoder.getHeight()); in setCenter()
/dports/graphics/blender/blender-2.91.0/source/blender/compositor/operations/
H A DCOM_OpenCLKernels.cl37 coords += offset;
63 …for (ny = minXY.y, inputXy.y = ny - offsetInput.y ; ny < maxXY.y ; ny += step, inputXy.y += step) {
64 uv.y = ((realCoordinate.y-ny)/radius2)*bokehImageDim.y+bokehImageCenter.y;
167 for (ny = minXY.y, inputXy.y = ny - offsetInput.y ; ny < maxXY.y ; ny ++, inputXy.y++) {
198 for (ny = minXY.y, inputXy.y = ny - offsetInput.y ; ny < maxXY.y ; ny ++, inputXy.y++) {
216 float2 center, int2 offset)
234 const float v = isc * (realCoordinate.s1 - center.s1) + ltxy.s1;
235 const float u = isc * (realCoordinate.s0 - center.s0) + ltxy.s0;
237 cs * u + ss * v + center.s0,
238 cs * v - ss * u + center.s1
[all …]
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/src/plot/
H A DPlot.php14 public $coords = array(); variable in Amenadiel\\JpGraph\\Plot\\Plot
26 protected $center = false; variable in Amenadiel\\JpGraph\\Plot\\Plot
44 $this->coords[0] = $aDatay;
46 $this->coords[1] = $aDatax;
116 if (isset($this->coords[1])) {
117 $x = $this->coords[1];
126 $y = $this->coords[0];
148 if (isset($this->coords[1])) {
149 $x = $this->coords[1];
159 $y = $this->coords[0];
[all …]
/dports/science/jmol/jmol-14.32.7/src/org/jmol/renderspecial/
H A DEllipsoidsRenderer.java77 private int[] coords; field in EllipsoidsRenderer
79 private P3 center; field in EllipsoidsRenderer
127 coords = null; in render()
198 if (coords == null || coords.length != dotCount * 3) in setLogic()
228 center = e.center; in renderOne()
349 …g3d.fillEllipsoid(center, points, (int) s0.x, (int) s0.y, (int) s0.z, dx + dx, matScreenToEllipsoi…
370 s2.y -= (int) v1.y;
374 s1.y -= (int) v1.y;
382 s2.y += (int) v1.y;
386 s1.y += (int) v1.y;
[all …]

12345678910>>...69