Home
last modified time | relevance | path

Searched refs:arrowLength (Results 1 – 25 of 86) sorted by relevance

1234

/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/misc/
H A Djuce_BubbleComponent.cpp57 …bbleComponent::setPosition (Component* componentToPointTo, int distanceFromTarget, int arrowLength) in setPosition() argument
68 setPosition (target, distanceFromTarget, arrowLength); in setPosition()
71 void BubbleComponent::setPosition (Point<int> arrowTipPos, int arrowLength) in setPosition() argument
73 setPosition (Rectangle<int> (arrowTipPos.x, arrowTipPos.y, 1, 1), arrowLength, arrowLength); in setPosition()
77 int distanceFromTarget, int arrowLength) in setPosition() argument
119 arrowTip.y = content.getBottom() + arrowLength; in setPosition()
125 arrowTip.y = content.getY() - arrowLength; in setPosition()
137 arrowTip.x = content.getRight() + arrowLength; in setPosition()
143 arrowTip.x = content.getX() - arrowLength; in setPosition()
H A Djuce_BubbleComponent.h100 int distanceFromTarget = 15, int arrowLength = 10);
113 void setPosition (Point<int> arrowTipPosition, int arrowLength = 10);
130 int distanceFromTarget = 15, int arrowLength = 10);
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/misc/
H A Djuce_BubbleComponent.cpp57 …bbleComponent::setPosition (Component* componentToPointTo, int distanceFromTarget, int arrowLength) in setPosition() argument
68 setPosition (target, distanceFromTarget, arrowLength); in setPosition()
71 void BubbleComponent::setPosition (Point<int> arrowTipPos, int arrowLength) in setPosition() argument
73 setPosition (Rectangle<int> (arrowTipPos.x, arrowTipPos.y, 1, 1), arrowLength, arrowLength); in setPosition()
77 int distanceFromTarget, int arrowLength) in setPosition() argument
119 arrowTip.y = content.getBottom() + arrowLength; in setPosition()
125 arrowTip.y = content.getY() - arrowLength; in setPosition()
137 arrowTip.x = content.getRight() + arrowLength; in setPosition()
143 arrowTip.x = content.getX() - arrowLength; in setPosition()
H A Djuce_BubbleComponent.h100 int distanceFromTarget = 15, int arrowLength = 10);
113 void setPosition (Point<int> arrowTipPosition, int arrowLength = 10);
130 int distanceFromTarget = 15, int arrowLength = 10);
/dports/misc/dartsim/dart-6.11.1/dart/gui/
H A DGLFuncs.cpp68 double arrowLength; in drawArrow3D() local
70 arrowLength = 4 * _thickness; in drawArrow3D()
72 arrowLength = 2 * _arrowThickness; in drawArrow3D()
83 gluCylinder(c, _thickness, _thickness, _length - arrowLength, 16, 16); in drawArrow3D()
87 glTranslatef(0, 0, _length - arrowLength); in drawArrow3D()
88 gluCylinder(c, arrowLength * 0.5, 0.0, arrowLength, 10, 10); in drawArrow3D()
/dports/x11-toolkits/tk87/tk8.7a5/unix/
H A DtkUnixScrlbr.c170 points[0].y = scrollPtr->arrowLength + scrollPtr->inset - 1; in TkpDisplayScrollbar()
178 points[0].x = scrollPtr->arrowLength + scrollPtr->inset - 1; in TkpDisplayScrollbar()
202 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength in TkpDisplayScrollbar()
211 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength in TkpDisplayScrollbar()
297 scrollPtr->arrowLength = width - 2*scrollPtr->inset + 1; in TkpComputeScrollbarGeometry()
300 - 2*(scrollPtr->arrowLength + scrollPtr->inset); in TkpComputeScrollbarGeometry()
326 scrollPtr->sliderLast += scrollPtr->arrowLength + scrollPtr->inset; in TkpComputeScrollbarGeometry()
337 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
341 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
467 if (y < inset + scrollPtr->arrowLength) { in TkpScrollbarPosition()
[all …]
/dports/x11-toolkits/tk86/tk8.6.12/unix/
H A DtkUnixScrlbr.c170 points[0].y = scrollPtr->arrowLength + scrollPtr->inset - 1; in TkpDisplayScrollbar()
178 points[0].x = scrollPtr->arrowLength + scrollPtr->inset - 1; in TkpDisplayScrollbar()
202 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength in TkpDisplayScrollbar()
211 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength in TkpDisplayScrollbar()
297 scrollPtr->arrowLength = width - 2*scrollPtr->inset + 1; in TkpComputeScrollbarGeometry()
300 - 2*(scrollPtr->arrowLength + scrollPtr->inset); in TkpComputeScrollbarGeometry()
326 scrollPtr->sliderLast += scrollPtr->arrowLength + scrollPtr->inset; in TkpComputeScrollbarGeometry()
337 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
341 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
467 if (y < inset + scrollPtr->arrowLength) { in TkpScrollbarPosition()
[all …]
/dports/x11-toolkits/tk85/tk8.5.19/unix/
H A DtkUnixScrlbr.c166 points[0].y = scrollPtr->arrowLength + scrollPtr->inset - 1; in TkpDisplayScrollbar()
174 points[0].x = scrollPtr->arrowLength + scrollPtr->inset - 1; in TkpDisplayScrollbar()
198 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength in TkpDisplayScrollbar()
207 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength in TkpDisplayScrollbar()
288 scrollPtr->arrowLength = width - 2*scrollPtr->inset + 1; in TkpComputeScrollbarGeometry()
291 - 2*(scrollPtr->arrowLength + scrollPtr->inset); in TkpComputeScrollbarGeometry()
318 scrollPtr->sliderLast += scrollPtr->arrowLength + scrollPtr->inset; in TkpComputeScrollbarGeometry()
329 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
333 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
459 if (y < (scrollPtr->inset + scrollPtr->arrowLength)) { in TkpScrollbarPosition()
[all …]
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/unix/
H A DtkUnixScrlbr.c168 points[0].y = scrollPtr->arrowLength + scrollPtr->inset - 1;
176 points[0].x = scrollPtr->arrowLength + scrollPtr->inset - 1;
200 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength
209 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength
289 scrollPtr->arrowLength = width - 2*scrollPtr->inset + 1;
292 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
319 scrollPtr->sliderLast += scrollPtr->arrowLength + scrollPtr->inset;
331 2*(scrollPtr->arrowLength + scrollPtr->borderWidth
335 2*(scrollPtr->arrowLength + scrollPtr->borderWidth
463 if (y < (scrollPtr->inset + scrollPtr->arrowLength)) {
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.DataVisualization/Common/Annotation/
H A DArrowAnnotation.cs398 float arrowLength = (float)Math.Sqrt(deltaX * deltaX + deltaY * deltaY); in GetArrowPath()
412 new PointF(firstPoint.X + arrowLength, firstPoint.Y - this.ArrowSize), in GetArrowPath()
413 new PointF(firstPoint.X + arrowLength, firstPoint.Y + this.ArrowSize), in GetArrowPath()
423 …new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize… in GetArrowPath()
424 …new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize… in GetArrowPath()
425 new PointF(firstPoint.X + arrowLength, firstPoint.Y), in GetArrowPath()
426 …new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize… in GetArrowPath()
427 …new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize… in GetArrowPath()
438 new PointF(firstPoint.X + arrowLength, firstPoint.Y - this.ArrowSize*tailRatio), in GetArrowPath()
439 new PointF(firstPoint.X + arrowLength - this.ArrowSize*tailRatio, firstPoint.Y), in GetArrowPath()
[all …]
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/chart/annotations/
H A DXYPointerAnnotation.java135 private double arrowLength; field in XYPointerAnnotation
163 this.arrowLength = DEFAULT_ARROW_LENGTH; in XYPointerAnnotation()
276 return this.arrowLength; in getArrowLength()
288 this.arrowLength = length; in setArrowLength()
400 double arrowBaseX = endX + Math.cos(this.angle) * this.arrowLength; in draw()
401 double arrowBaseY = endY + Math.sin(this.angle) * this.arrowLength; in draw()
481 if (this.arrowLength != that.arrowLength) { in equals()
513 temp = Double.doubleToLongBits(this.arrowLength); in hashCode()
H A DCategoryPointerAnnotation.java127 private double arrowLength; field in CategoryPointerAnnotation
156 this.arrowLength = DEFAULT_ARROW_LENGTH; in CategoryPointerAnnotation()
269 return this.arrowLength; in getArrowLength()
281 this.arrowLength = length; in setArrowLength()
394 double arrowBaseX = endX + Math.cos(this.angle) * this.arrowLength; in draw()
395 double arrowBaseY = endY + Math.sin(this.angle) * this.arrowLength; in draw()
461 if (this.arrowLength != that.arrowLength) { in equals()
493 temp = Double.doubleToLongBits(this.arrowLength); in hashCode()
/dports/shells/ksh93/ast-93u/src/lib/libtk/generic/
H A DtkScrollbar.c336 scrollPtr->arrowLength = 0;
470 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
474 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
496 pos = y - (scrollPtr->arrowLength + scrollPtr->inset);
498 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
502 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
894 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength
903 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength
1082 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
1121 2*(scrollPtr->arrowLength + scrollPtr->borderWidth
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/generic/
H A DtkScrollbar.c336 scrollPtr->arrowLength = 0;
470 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
474 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
496 pos = y - (scrollPtr->arrowLength + scrollPtr->inset);
498 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
502 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
894 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength
903 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength
1082 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
1121 2*(scrollPtr->arrowLength + scrollPtr->borderWidth
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtk/generic/
H A DtkScrollbar.c336 scrollPtr->arrowLength = 0;
470 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
474 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
496 pos = y - (scrollPtr->arrowLength + scrollPtr->inset);
498 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
502 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
894 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength
903 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength
1082 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
1121 2*(scrollPtr->arrowLength + scrollPtr->borderWidth
[all …]
/dports/x11-toolkits/tk86/tk8.6.12/win/
H A DtkWinScrlbr.c402 scrollPtr->arrowLength = vArrowHeight; in TkpComputeScrollbarGeometry()
406 scrollPtr->arrowLength = hArrowWidth; in TkpComputeScrollbarGeometry()
410 fieldLength -= 2*scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
438 scrollPtr->sliderFirst += scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
439 scrollPtr->sliderLast += scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
449 scrollPtr->width, 2*scrollPtr->arrowLength + minThumbSize); in TkpComputeScrollbarGeometry()
452 2*scrollPtr->arrowLength + minThumbSize, scrollPtr->width); in TkpComputeScrollbarGeometry()
680 if (y < (scrollPtr->inset + scrollPtr->arrowLength)) { in TkpScrollbarPosition()
689 if (y >= (length - (scrollPtr->arrowLength + scrollPtr->inset))) { in TkpScrollbarPosition()
/dports/x11-toolkits/tk87/tk8.7a5/win/
H A DtkWinScrlbr.c402 scrollPtr->arrowLength = vArrowHeight; in TkpComputeScrollbarGeometry()
406 scrollPtr->arrowLength = hArrowWidth; in TkpComputeScrollbarGeometry()
410 fieldLength -= 2*scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
438 scrollPtr->sliderFirst += scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
439 scrollPtr->sliderLast += scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
449 scrollPtr->width, 2*scrollPtr->arrowLength + minThumbSize); in TkpComputeScrollbarGeometry()
452 2*scrollPtr->arrowLength + minThumbSize, scrollPtr->width); in TkpComputeScrollbarGeometry()
681 if (y < (scrollPtr->inset + scrollPtr->arrowLength)) { in TkpScrollbarPosition()
690 if (y >= (length - (scrollPtr->arrowLength + scrollPtr->inset))) { in TkpScrollbarPosition()
/dports/x11-toolkits/tk85/tk8.5.19/win/
H A DtkWinScrlbr.c403 scrollPtr->arrowLength = vArrowHeight; in TkpComputeScrollbarGeometry()
407 scrollPtr->arrowLength = hArrowWidth; in TkpComputeScrollbarGeometry()
411 fieldLength -= 2*scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
439 scrollPtr->sliderFirst += scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
440 scrollPtr->sliderLast += scrollPtr->arrowLength; in TkpComputeScrollbarGeometry()
450 scrollPtr->width, 2*scrollPtr->arrowLength + minThumbSize); in TkpComputeScrollbarGeometry()
453 2*scrollPtr->arrowLength + minThumbSize, scrollPtr->width); in TkpComputeScrollbarGeometry()
721 if (y < (scrollPtr->inset + scrollPtr->arrowLength)) { in TkpScrollbarPosition()
730 if (y >= (length - (scrollPtr->arrowLength + scrollPtr->inset))) { in TkpScrollbarPosition()
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/win/
H A DtkWinScrlbr.c434 scrollPtr->arrowLength = vArrowHeight;
438 scrollPtr->arrowLength = hArrowWidth;
442 fieldLength -= 2*scrollPtr->arrowLength;
470 scrollPtr->sliderFirst += scrollPtr->arrowLength;
471 scrollPtr->sliderLast += scrollPtr->arrowLength;
482 scrollPtr->width, 2*scrollPtr->arrowLength + minThumbSize);
485 2*scrollPtr->arrowLength + minThumbSize, scrollPtr->width);
744 if (y < (scrollPtr->inset + scrollPtr->arrowLength)) {
753 if (y >= (length - (scrollPtr->arrowLength + scrollPtr->inset))) {
/dports/x11-toolkits/blt/blt2.5/generic/
H A DtkScrollbar.c392 scrollPtr->arrowLength = 0;
559 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
563 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
585 pos = y - (scrollPtr->arrowLength + scrollPtr->inset);
587 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
591 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
1125 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength
1132 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength
1376 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
1414 2 * (scrollPtr->arrowLength + scrollPtr->borderWidth
[all …]
H A DbltScrollbar.c412 scrollPtr->arrowLength = 0;
580 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
584 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
606 pos = y - (scrollPtr->arrowLength + scrollPtr->inset);
608 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
612 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
1153 points[0].y = Tk_Height(tkwin) - scrollPtr->arrowLength
1160 points[0].x = Tk_Width(tkwin) - scrollPtr->arrowLength
1418 - 2 * (scrollPtr->arrowLength + scrollPtr->inset);
1456 2 * (scrollPtr->arrowLength + scrollPtr->borderWidth
[all …]
/dports/x11-toolkits/tk87/tk8.7a5/macosx/
H A DtkMacOSXScrlbr.c381 scrollPtr->arrowLength = scrollPtr->width; in TkpComputeScrollbarGeometry()
383 scrollPtr->arrowLength = 0; in TkpComputeScrollbarGeometry()
387 - 2*(scrollPtr->arrowLength + scrollPtr->inset); in TkpComputeScrollbarGeometry()
413 scrollPtr->sliderFirst += -scrollPtr->arrowLength + scrollPtr->inset; in TkpComputeScrollbarGeometry()
426 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
430 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
548 if (y < scrollPtr->sliderFirst + scrollPtr->arrowLength) { in TkpScrollbarPosition()
554 if (y < length - (2*scrollPtr->arrowLength + inset)) { in TkpScrollbarPosition()
562 if (y < length - (scrollPtr->arrowLength + inset)) { in TkpScrollbarPosition()
611 height = contrlRect.size.height - scrollPtr->arrowLength; in UpdateControlValues()
/dports/x11-toolkits/tk86/tk8.6.12/macosx/
H A DtkMacOSXScrlbr.c381 scrollPtr->arrowLength = scrollPtr->width; in TkpComputeScrollbarGeometry()
383 scrollPtr->arrowLength = 0; in TkpComputeScrollbarGeometry()
387 - 2*(scrollPtr->arrowLength + scrollPtr->inset); in TkpComputeScrollbarGeometry()
413 scrollPtr->sliderFirst += -scrollPtr->arrowLength + scrollPtr->inset; in TkpComputeScrollbarGeometry()
426 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
430 2*(scrollPtr->arrowLength + scrollPtr->borderWidth in TkpComputeScrollbarGeometry()
547 if (y < scrollPtr->sliderFirst + scrollPtr->arrowLength) { in TkpScrollbarPosition()
553 if (y < length - (2*scrollPtr->arrowLength + inset)) { in TkpScrollbarPosition()
561 if (y < length - (scrollPtr->arrowLength + inset)) { in TkpScrollbarPosition()
610 height = contrlRect.size.height - scrollPtr->arrowLength; in UpdateControlValues()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/tnzext/
H A DSelector.cpp23 double arrowLength = 0.0) { in drawArrow() argument
24 if (length <= 0 || arrowLength < 0) return; in drawArrow()
26 if (arrowLength == 0.0) arrowLength = 0.2 * length; in drawArrow()
38 myArrowDirection = myArrowDirection * arrowLength; in drawArrow()
/dports/graphics/quickqanava/QuickQanava-ab88d77ec62175b9fd499a154ffaf92f7bf23989/src/
H A DqanEdgeItem.cpp385 const auto arrowLength = arrowSize * 3.; in generateStraightEnds() local
386 if ( line.length() < 2.0 + arrowLength ) in generateStraightEnds()
569 const qreal arrowLength = arrowSize * 3.; in generateArrowGeometry() local
578 QPointF circleRectA1 = QPointF{ arrowLength/2., -arrowLength/2. }; in generateArrowGeometry()
579 QPointF circleRectA3 = QPointF{ arrowLength/2., arrowLength/2. }; in generateArrowGeometry()
645 srcShape, arrowLength); in generateArrowGeometry()
650 dstShape, arrowLength); in generateArrowGeometry()
663 p2 = line.pointAt( 1.0 - (arrowLength / line.length()) ); in generateStraightArrowAngle()
670 const qreal arrowLength) const noexcept in generateCurvedArrowAngle()
681 if ( line.length() > averageDstAngleFactor * arrowLength ) // General case in generateCurvedArrowAngle()
[all …]

1234