Describes an zoom setting for the display.
More...
#include <cvb/ui/ui.hpp>
Describes an zoom setting for the display.
- Examples
- Cvb/QtDisplayAdvanced.
◆ ZoomDescriptor() [1/2]
Constructor for a standard zoom descriptor.
- Parameters
-
[in] | id | Zoom identifier to set the factor. This does not work for CvbZoomID::Custom and CvbZoomID::Panorama. |
- Exceptions
-
Does | not throw any exception. |
◆ ZoomDescriptor() [2/2]
Constructor for a custom zoom descriptor.
- Parameters
-
[in] | customFactor | A custom zoom factor. The identifier will always be custom, even if, the numeric factor matches a known identifier. |
- Exceptions
-
Does | not throw any exception. |
◆ operator!=()
Compares to an other zoom descriptor.
- Parameters
-
[in] | zoomDescriptor | Other zoom descriptor. |
- Returns
- True if not equal, otherwise false.
- Exceptions
-
Does | not throw any exception. |
◆ operator==()
Compares to an other zoom descriptor.
- Parameters
-
[in] | zoomDescriptor | Other zoom descriptor. |
- Returns
- True if equal, otherwise false.
- Exceptions
-
Does | not throw any exception. |