src/eric7/EricGraphics/EricArrowItem.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
8 """ 8 """
9 9
10 import enum 10 import enum
11 import math 11 import math
12 12
13 from PyQt6.QtCore import QPointF, QRectF, QSizeF, QLineF, Qt 13 from PyQt6.QtCore import QLineF, QPointF, QRectF, QSizeF, Qt
14 from PyQt6.QtGui import QPen, QPolygonF, QColor 14 from PyQt6.QtGui import QColor, QPen, QPolygonF
15 from PyQt6.QtWidgets import QAbstractGraphicsShapeItem, QGraphicsItem, QStyle 15 from PyQt6.QtWidgets import QAbstractGraphicsShapeItem, QGraphicsItem, QStyle
16 16
17 ArrowheadAngleFactor = 0.26179938779914941 17 ArrowheadAngleFactor = 0.26179938779914941
18 # That is: 0.5 * math.atan(math.sqrt(3.0) / 3.0) 18 # That is: 0.5 * math.atan(math.sqrt(3.0) / 3.0)
19 19

eric ide

mercurial