Flags for the window
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
None | 0 | No flags [0] | |
AutoSize | 1 | Window size is automatically adjusted to fit the displayed image, while user can not change the window size manually. [CV_WINDOW_AUTOSIZE] | |
OpenGL | 4096 | window with opengl support | |
ExpandedGui | 0 | Show new enhance GUI (Qt Backend Only) [CV_GUI_EXPANDED] | |
NormalGui | 2 | Show old style window without statusbar and toolbar (Qt Backend Only) [CV_GUI_NORMAL] | |
StretchImage | 2 | Image size is automatically adjusted to fit the window size | |
Fullscreen | 1 | Fullscreen [CV_WINDOW_FULLSCREEN] | |
FreeRatio | 4 | Fix aspect ratio [CV_WINDOW_FREERATIO] | |
KeepRatio | 0 | Respect the image ratio [CV_WINDOW_KEEPRATIO] |
See Also