QtVideo Namespace
カメラとビデオ機能の列挙。詳細...
ヘッダー | #include <QtVideo> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia) target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
qmake: | QT += multimedia |
以来: | Qt 6.7 |
タイプ
(since 6.7) enum class | Rotation { None, Clockwise90, Clockwise180, Clockwise270 } |
型の説明
[since 6.7]
enum class QtVideo::Rotation
表示前にビデオフレームに適用する時計回りの回転角度。回転はビデオ座標で行われ、Y軸はディスプレイの下方を指す。これは、回転方向がQTransform::rotate に従うことを意味する。
定数 | 値 | 説明 |
---|---|---|
QtVideo::Rotation::None | 0 | 回転は不要、フレームは正しい向き |
QtVideo::Rotation::Clockwise90 | 90 | フレームは時計回りに90度回転されるべきである。 |
QtVideo::Rotation::Clockwise180 | 180 | フレームは時計回りに180度回転する必要があります。 |
QtVideo::Rotation::Clockwise270 | 270 | フレームを時計回りに270度回転させます。 |
この enum は Qt 6.7 で導入されました。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.