This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofRectangle.h File Reference
Go to the source code of this file.
Classes | |
class | ofRectangle |
A class representing a 2D rectangle. More... | |
Enumerations | |
enum | ofAspectRatioMode { OF_ASPECT_RATIO_IGNORE = 0 , OF_ASPECT_RATIO_KEEP = 1 , OF_ASPECT_RATIO_KEEP_BY_EXPANDING = 2 } |
Used to represent the available rectangle aspect ratio scaling modes. More... | |
enum | ofAlignVert { OF_ALIGN_VERT_IGNORE = 0x0000 , OF_ALIGN_VERT_TOP = 0x0010 , OF_ALIGN_VERT_BOTTOM = 0x0020 , OF_ALIGN_VERT_CENTER = 0x0040 } |
Used to represent the available vertical rectangle alignment modes. More... | |
enum | ofAlignHorz { OF_ALIGN_HORZ_IGNORE = 0x0000 , OF_ALIGN_HORZ_LEFT = 0x0001 , OF_ALIGN_HORZ_RIGHT = 0x0002 , OF_ALIGN_HORZ_CENTER = 0x0004 } |
Used to represent the available horizontal rectangle alignment modes. More... | |
enum | ofScaleMode { OF_SCALEMODE_FIT = 0 , OF_SCALEMODE_FILL = 1 , OF_SCALEMODE_CENTER = 2 , OF_SCALEMODE_STRETCH_TO_FILL = 3 } |
Used to represent the available rectangle scaling modes. More... | |
Enumeration Type Documentation
◆ ofAlignHorz
enum ofAlignHorz |
Used to represent the available horizontal rectangle alignment modes.
- See also
- ofRectangle
◆ ofAlignVert
enum ofAlignVert |
Used to represent the available vertical rectangle alignment modes.
- See also
- ofRectangle
◆ ofAspectRatioMode
enum ofAspectRatioMode |
Used to represent the available rectangle aspect ratio scaling modes.
- See also
- ofRectangle
◆ ofScaleMode
enum ofScaleMode |
Used to represent the available rectangle scaling modes.
ofScaleMode can usually be interpreted as a concise combination of an ofAspectRatioMode, an ofAlignVert and an ofAlignHorz.