QGraphicsScale 类提供比例缩放变换。 更多...
继承 QGraphicsTransform .
QGraphicsScale 类提供比例缩放变换。
QGraphicsScene 提供 certain parameters to help control how the scale should be applied.
The origin is the point that the item is scaled from (i.e., it stays fixed relative to the parent as the rest of the item grows). By default the origin is QPointF (0, 0).
参数 xScale , yScale ,和 zScale describe the scale factors to apply in horizontal, vertical, and depth directions. They can take on any value, including 0 (to collapse the item to a point) or negative value. A negative xScale value will mirror the item horizontally. A negative yScale value will flip the item vertically. A negative zScale will flip the item end for end.
parent argument, if not None, causes self to be owned by Qt instead of PyQt.
构造空 QGraphicsScale 对象采用给定 parent .
重实现自 QGraphicsTransform.applyTo ().
This is the default overload of this signal.
QGraphicsScale emits this signal when its origin changes.
另请参阅 QGraphicsScale.origin .
This is the default overload of this signal.
此信号被发射每当 xScale , yScale ,或 zScale of the object 改变。
另请参阅 QGraphicsScale.xScale , QGraphicsScale.yScale ,和 QGraphicsScale.zScale .
This is the default overload of this signal.
此信号被发射每当 xScale 特性改变。
该函数在 Qt 4.7 引入。
This is the default overload of this signal.
此信号被发射每当 yScale 特性改变。
该函数在 Qt 4.7 引入。
This is the default overload of this signal.
此信号被发射每当 zScale 特性改变。
该函数在 Qt 4.7 引入。