/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Cairo/Samples/png/ |
H A D | curve_rect.cs | 59 new PointD (x0, y0), in draw() 64 new PointD (x1, y0 ), in draw() 69 new PointD (x1, y1), in draw() 74 new PointD (x0, y1), in draw() 82 new PointD (x0, y0), in draw() 87 new PointD (x1, y0), in draw() 94 new PointD (x1, y1), in draw() 99 new PointD (x0, y1), in draw() 116 new PointD (x1, y0), in draw() 121 new PointD (x1, y1), in draw() [all …]
|
H A D | curve_to.cs | 45 gr.MoveTo ( new PointD (x, y) ); in draw() 47 gr.CurveTo ( new PointD (x1, y1), in draw() 48 new PointD (x2, y2), in draw() 49 new PointD (x3, y3) in draw() 56 gr.MoveTo ( new PointD (x, y) ); in draw() 57 gr.LineTo ( new PointD (x1, y1) ); in draw() 58 gr.MoveTo ( new PointD (x2, y2) ); in draw() 59 gr.LineTo ( new PointD (x3, y3) ); in draw()
|
H A D | fillstroke.cs | 41 gr.MoveTo ( new PointD (0.5, 0.1) ); in draw() 42 gr.LineTo ( new PointD (0.9, 0.9) ); in draw() 44 gr.CurveTo ( new PointD (0.2, 0.9), in draw() 45 new PointD ( 0.2, 0.5), in draw() 46 new PointD (0.5, 0.5) in draw() 50 gr.MoveTo ( new PointD (0.25, 0.1) ); in draw()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Cairo/Samples/gtk/ |
H A D | curve_rect.cs | 83 new PointD (x0, y0), in draw() 88 new PointD (x1, y0 ), in draw() 93 new PointD (x1, y1), in draw() 98 new PointD (x0, y1), in draw() 106 new PointD (x0, y0), in draw() 111 new PointD (x1, y0), in draw() 118 new PointD (x1, y1), in draw() 123 new PointD (x0, y1), in draw() 140 new PointD (x1, y0), in draw() 145 new PointD (x1, y1), in draw() [all …]
|
H A D | curve_to.cs | 71 gr.MoveTo ( new PointD (x, y) ); in draw() 73 gr.CurveTo ( new PointD (x1, y1), in draw() 74 new PointD (x2, y2), in draw() 75 new PointD (x3, y3) in draw() 82 gr.MoveTo ( new PointD (x, y) ); in draw() 83 gr.LineTo ( new PointD (x1, y1) ); in draw() 84 gr.MoveTo ( new PointD (x2, y2) ); in draw() 85 gr.LineTo ( new PointD (x3, y3) ); in draw()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Cairo/Samples/x11/ |
H A D | curve_rect.cs | 60 new PointD (x0, y0), in draw() 65 new PointD (x1, y0 ), in draw() 70 new PointD (x1, y1), in draw() 75 new PointD (x0, y1), in draw() 83 new PointD (x0, y0), in draw() 88 new PointD (x1, y0), in draw() 95 new PointD (x1, y1), in draw() 100 new PointD (x0, y1), in draw() 117 new PointD (x1, y0), in draw() 122 new PointD (x1, y1), in draw() [all …]
|
H A D | curve_to.cs | 46 gr.MoveTo ( new PointD (x, y) ); in draw() 48 gr.CurveTo ( new PointD (x1, y1), in draw() 49 new PointD (x2, y2), in draw() 50 new PointD (x3, y3) in draw() 57 gr.MoveTo ( new PointD (x, y) ); in draw() 58 gr.LineTo ( new PointD (x1, y1) ); in draw() 59 gr.MoveTo ( new PointD (x2, y2) ); in draw() 60 gr.LineTo ( new PointD (x3, y3) ); in draw()
|
H A D | fillstroke.cs | 42 gr.MoveTo ( new PointD (0.5, 0.1) ); in draw() 43 gr.LineTo ( new PointD (0.9, 0.9) ); in draw() 45 gr.CurveTo ( new PointD (0.2, 0.9), in draw() 46 new PointD ( 0.2, 0.5), in draw() 47 new PointD (0.5, 0.5) in draw() 51 gr.MoveTo ( new PointD (0.25, 0.1) ); in draw()
|
/dports/graphics/gpxsee/GPXSee-7.32/src/map/ |
H A D | transform.h | 13 ReferencePoint(const PointD &xy, const PointD &pp) : _xy(xy), _pp(pp) {} in ReferencePoint() 15 const PointD &xy() const {return _xy;} in xy() 16 const PointD &pp() const {return _pp;} in pp() 17 void setXY(const PointD &xy) {_xy = xy;} in setXY() 18 void setPP(const PointD &pp) {_pp = pp;} in setPP() 21 PointD _xy, _pp; 30 Transform(const ReferencePoint &p, const PointD &scale); 33 QPointF proj2img(const PointD &p) const in proj2img() 35 PointD img2proj(const QPointF &p) const in img2proj()
|
H A D | krovak.h | 18 virtual PointD ll2xy(const Coordinates &c) const; 19 virtual Coordinates xy2ll(const PointD &p) const; 38 virtual PointD ll2xy(const Coordinates &c) const in ll2xy() 39 {PointD p(_k.ll2xy(c)); return PointD(-p.x(), -p.y());} in ll2xy() 40 virtual Coordinates xy2ll(const PointD &p) const in xy2ll() 41 {return _k.xy2ll(PointD(-p.x(), -p.y()));} in xy2ll()
|
H A D | linearunits.h | 21 PointD toMeters(const PointD &p) const in toMeters() 22 {return PointD(p.x() * _f, p.y() * _f);} in toMeters() 24 PointD fromMeters(const PointD &p) const in fromMeters() 25 {return PointD(p.x() / _f, p.y() /_f);} in fromMeters()
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Tools/Editable/Shapes/ |
H A D | LineCurveSeriesEngine.cs | 91 List<PointD> bezierTangents = new List<PointD>(); in GeneratePoints() 100 bezierTangents.Add(new PointD( in GeneratePoints() 106 bezierTangents.Add(new PointD( in GeneratePoints() 116 bezierTangents.Add(new PointD( in GeneratePoints() 126 bezierTangents.Add(new PointD( in GeneratePoints() 134 bezierTangents.Add(new PointD( in GeneratePoints() 152 new PointD( in GeneratePoints() 155 new PointD( in GeneratePoints() 170 new PointD( in GeneratePoints() 173 new PointD( in GeneratePoints() [all …]
|
H A D | RoundedLineEngine.cs | 76 PointD lineEndPoint, cornerEndPoint; in GeneratePoints() 82 PointD lineStartPoint = cornerEndPoint; in GeneratePoints() 109 …tatic List<GeneratedPoint> GenerateQuadraticBezierCurvePoints(PointD p0, PointD p1, PointD p2, int… in GenerateQuadraticBezierCurvePoints() 149 resultList.Add(new GeneratedPoint(new PointD( in GenerateQuadraticBezierCurvePoints() 166 …ateSegmentEndPoints(int currentIndex, out int nextIndex, out PointD lineEndPoint, out PointD corne… in calculateSegmentEndPoints() 184 PointD currentPosition = ControlPoints[currentIndex].Position; in calculateSegmentEndPoints() 185 PointD nextPosition = ControlPoints[nextIndex].Position; in calculateSegmentEndPoints() 186 PointD doubleNextPosition = ControlPoints[doubleNextIndex].Position; in calculateSegmentEndPoints() 243 …lineEndPoint = new PointD(nextPosition.X - (nextPosition.X - currentPosition.X) * currentOffsetRat… in calculateSegmentEndPoints() 247 …cornerEndPoint = new PointD(nextPosition.X + (doubleNextPosition.X - nextPosition.X) * nextOffsetR… in calculateSegmentEndPoints()
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Core/Classes/ |
H A D | DocumentWorkspace.cs | 98 public Cairo.PointD Offset { 147 Cairo.PointD canvasTopLeft = new Cairo.PointD(canvasRect.Left, canvasRect.Top); in Invalidate() 148 Cairo.PointD canvasBtmRight = new Cairo.PointD(canvasRect.Right + 1, canvasRect.Bottom + 1); in Invalidate() 166 public bool PointInCanvas (Cairo.PointD point) in PointInCanvas() 202 public Cairo.PointD WindowPointToCanvas (double x, double y) in WindowPointToCanvas() 206 Cairo.PointD pt = sf.ScalePoint (new Cairo.PointD (x - Offset.X, y - Offset.Y)); in WindowPointToCanvas() 207 return new Cairo.PointD(pt.X, pt.Y); in WindowPointToCanvas() 223 Cairo.PointD pt = sf.UnscalePoint (new Cairo.PointD (x, y)); in CanvasPointToWindow() 224 return new Cairo.PointD(pt.X + Offset.X, pt.Y + Offset.Y); in CanvasPointToWindow() 237 public void ZoomInFromMouseScroll (Cairo.PointD point) in ZoomInFromMouseScroll() [all …]
|
H A D | ScaleFactor.cs | 177 public Cairo.PointD ScalePoint (Cairo.PointD p) in ScalePoint() 179 return new Cairo.PointD (ScaleScalar (p.X), ScaleScalar (p.Y)); in ScalePoint() 182 public Cairo.PointD ScalePointJustX (Cairo.PointD p) in ScalePointJustX() 184 return new Cairo.PointD (ScaleScalar (p.X), p.Y); in ScalePointJustX() 187 public Cairo.PointD ScalePointJustY (Cairo.PointD p) in ScalePointJustY() 189 return new Cairo.PointD (p.X, ScaleScalar (p.Y)); in ScalePointJustY() 192 public Cairo.PointD UnscalePoint (Cairo.PointD p) in UnscalePoint() 197 public Cairo.PointD UnscalePointJustX (Cairo.PointD p) in UnscalePointJustX() 199 return new Cairo.PointD (UnscaleScalar (p.X), p.Y); in UnscalePointJustX() 202 public Cairo.PointD UnscalePointJustY (Cairo.PointD p) in UnscalePointJustY() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/2d/ |
H A D | Path.cpp | 22 struct PointD : public BasePoint<double, PointD> { struct 23 typedef BasePoint<double, PointD> Super; argument 25 PointD() : Super() {} in PointD() function 36 BezierControlPoints(const PointD& aCP1, const PointD& aCP2, in BezierControlPoints() 37 const PointD& aCP3, const PointD& aCP4) in BezierControlPoints() 40 PointD mCP1, mCP2, mCP3, mCP4; 193 PointD cp1a = in SplitBezier() 195 PointD cp2a = in SplitBezier() 197 PointD cp1aa = cp1a + (cp2a - cp1a) * t; in SplitBezier() 198 PointD cp3a = in SplitBezier() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/2d/ |
H A D | Path.cpp | 22 struct PointD : public BasePoint<double, PointD> { struct 23 typedef BasePoint<double, PointD> Super; argument 25 PointD() : Super() {} in PointD() function 36 BezierControlPoints(const PointD& aCP1, const PointD& aCP2, in BezierControlPoints() 37 const PointD& aCP3, const PointD& aCP4) in BezierControlPoints() 40 PointD mCP1, mCP2, mCP3, mCP4; 193 PointD cp1a = in SplitBezier() 195 PointD cp2a = in SplitBezier() 197 PointD cp1aa = cp1a + (cp2a - cp1a) * t; in SplitBezier() 198 PointD cp3a = in SplitBezier() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/2d/ |
H A D | Path.cpp | 22 struct PointD : public BasePoint<double, PointD> { struct 23 typedef BasePoint<double, PointD> Super; argument 25 PointD() : Super() {} in PointD() argument 36 BezierControlPoints(const PointD& aCP1, const PointD& aCP2, in BezierControlPoints() 37 const PointD& aCP3, const PointD& aCP4) in BezierControlPoints() 40 PointD mCP1, mCP2, mCP3, mCP4; 193 PointD cp1a = in SplitBezier() 195 PointD cp2a = in SplitBezier() 197 PointD cp1aa = cp1a + (cp2a - cp1a) * t; in SplitBezier() 198 PointD cp3a = in SplitBezier() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/2d/ |
H A D | Path.cpp | 22 struct PointD : public BasePoint<double, PointD> { struct 23 typedef BasePoint<double, PointD> Super; argument 25 PointD() : Super() {} in PointD() function 36 BezierControlPoints(const PointD& aCP1, const PointD& aCP2, in BezierControlPoints() 37 const PointD& aCP3, const PointD& aCP4) in BezierControlPoints() 40 PointD mCP1, mCP2, mCP3, mCP4; 193 PointD cp1a = in SplitBezier() 195 PointD cp2a = in SplitBezier() 197 PointD cp1aa = cp1a + (cp2a - cp1a) * t; in SplitBezier() 198 PointD cp3a = in SplitBezier() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/2d/ |
H A D | Path.cpp | 22 struct PointD : public BasePoint<double, PointD> { struct 23 typedef BasePoint<double, PointD> Super; argument 25 PointD() : Super() {} in PointD() function 36 BezierControlPoints(const PointD &aCP1, const PointD &aCP2, in BezierControlPoints() 37 const PointD &aCP3, const PointD &aCP4) in BezierControlPoints() 40 PointD mCP1, mCP2, mCP3, mCP4; 193 PointD cp1a = in SplitBezier() 195 PointD cp2a = in SplitBezier() 197 PointD cp1aa = cp1a + (cp2a - cp1a) * t; in SplitBezier() 198 PointD cp3a = in SplitBezier() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/2d/ |
H A D | Path.cpp | 22 struct PointD : public BasePoint<double, PointD> { struct 23 typedef BasePoint<double, PointD> Super; argument 25 PointD() : Super() {} in PointD() function 26 PointD(double aX, double aY) : Super(aX, aY) {} in PointD() argument 37 BezierControlPoints(const PointD &aCP1, const PointD &aCP2, in BezierControlPoints() 38 const PointD &aCP3, const PointD &aCP4) in BezierControlPoints() 43 PointD mCP1, mCP2, mCP3, mCP4; 228 PointD cp1aa = cp1a + (cp2a - cp1a) * t; in SplitBezier() 230 PointD cp2aa = cp2a + (cp3a - cp2a) * t; in SplitBezier() 231 PointD cp1aaa = cp1aa + (cp2aa - cp1aa) * t; in SplitBezier() [all …]
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Tools/Editable/EditEngines/ |
H A D | BaseEditEngine.cs | 73 protected PointD shape_origin; 74 protected PointD current_point; 228 protected PointD hover_point = new PointD(-1d, -1d); 232 protected PointD last_mouse_pos = new PointD(0d, 0d); 600 PointD newPointPos; in HandleKeyDown() 803 PointD closestPoint; in HandleMouseDown() 916 PointD prevSelPoint; in HandleMouseDown() 1308 hover_point = new PointD(-1d, -1d); in DrawUnfinalized() 1331 PointD closestPoint; in CalculateHoverPoint() 1927 PointD startingPoint; in AddLinePoints() [all …]
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Effects/Effects/ |
H A D | MotionBlurEffect.cs | 51 PointD start = new PointD (0, 0); in Render() 54 PointD end = new PointD ((float)alpha * Math.Cos (theta), (float)(-alpha * Math.Sin (theta))); in Render() 64 PointD[] points = new PointD[((1 + Data.Distance) * 3) / 2]; in Render() 67 points[0] = new PointD (0, 0); in Render() 90 PointD pt = new PointD (points[j].X + (float)x, points[j].Y + (float)y); in Render()
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Gui.Widgets/Widgets/ |
H A D | PointPickerGraphic.cs | 93 Position = MousePtToPosition (new Cairo.PointD (args.Event.X, args.Event.Y)); in HandleHandleMotionNotifyEvent() 102 Position = MousePtToPosition (new Cairo.PointD (args.Event.X, args.Event.Y)); in HandleHandleButtonReleaseEvent() 126 Cairo.PointD pos = PositionToClientPt (Position); in OnExposeEvent() 138 …g.DrawLine (new Cairo.PointD (pos.X + 1, rect.Top + 2), new Cairo.PointD (pos.X + 1, rect.Bottom -… in OnExposeEvent() 139 …g.DrawLine (new Cairo.PointD (rect.Left + 2, pos.Y + 1), new Cairo.PointD (rect.Right - 2, pos.Y +… in OnExposeEvent() 170 private Point MousePtToPosition (Cairo.PointD clientMousePt) in MousePtToPosition() 178 private Cairo.PointD PositionToClientPt (Point pos) in PositionToClientPt() 186 return new Cairo.PointD (ptX, ptY); in PositionToClientPt()
|
/dports/x11-toolkits/gtk-sharp20/gtk-sharp-2.12.45/cairo/ |
H A D | LinearGradient.cs | 45 public PointD[] LinearPoints { 48 PointD[] points = new PointD [2]; 52 points[0] = new PointD (x0, y0); 53 points[1] = new PointD (x1, y1);
|