以下成員源於類 QVideoFrame 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(deprecated in 6.7)
enum
|
RotationAngle { Rotation0, Rotation90, Rotation180, Rotation270 } |
(deprecated in 6.7)
QVideoFrame::RotationAngle
|
rotationAngle () const |
(deprecated in 6.7)
void
|
setRotationAngle (QVideoFrame::RotationAngle angle ) |
[deprecated in 6.7]
enum QVideoFrame::
RotationAngle
This enum is deprecated since 6.7. We strongly advise against using it in new code.
使用 QtVideo::Rotation 代替。
The angle of the clockwise rotation that should be applied to a video frame before displaying.
| 常量 | 值 | 描述 |
|---|---|---|
QVideoFrame::Rotation0
|
0
|
No rotation required, the frame has correct orientation |
QVideoFrame::Rotation90
|
90
|
The frame should be rotated by 90 degrees |
QVideoFrame::Rotation180
|
180
|
The frame should be rotated by 180 degrees |
QVideoFrame::Rotation270
|
270
|
The frame should be rotated by 270 degrees |
[deprecated in 6.7]
QVideoFrame::RotationAngle
QVideoFrame::
rotationAngle
() const
This function is deprecated since 6.7. We strongly advise against using it in new code.
使用
QVideoFrame::rotation
代替。
Returns the angle the frame should be rotated clockwise before displaying.
另請參閱 setRotationAngle ().
[deprecated in 6.7]
void
QVideoFrame::
setRotationAngle
(
QVideoFrame::RotationAngle
angle
)
This function is deprecated since 6.7. We strongly advise against using it in new code.
使用
QVideoFrame::setRotation
代替。
設置 angle the frame should be rotated clockwise before displaying.
另請參閱 rotationAngle ().