Cogl.Output¶
- Subclasses:
None
Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Cogl.Output¶
- Bases:
- Abstract:
No
- get_height()¶
- Returns:
the height of the output in pixels
- Return type:
Gets the height of the output in pixels.
New in version 1.14.
- get_mm_height()¶
- Returns:
the height of the output in millimeters. A value of 0 indicates that the height is unknown
- Return type:
Gets the physical height of the output. In some cases (such as as a projector), the value returned here might correspond to nominal resolution rather than the actual physical size of the output device.
New in version 1.14.
- get_mm_width()¶
- Returns:
the height of the output in millimeters. A value of 0 indicates the width is unknown
- Return type:
Gets the physical width of the output. In some cases (such as as a projector), the value returned here might correspond to nominal resolution rather than the actual physical size of the output device.
New in version 1.14.
- get_refresh_rate()¶
- Returns:
the refresh rate of the output device. A value of zero indicates that the refresh rate is unknown.
- Return type:
Gets the number of times per second that the output device refreshes the display contents.
New in version 1.14.
- get_subpixel_order()¶
- Returns:
the order of subpixel components for the output device
- Return type:
For an output device where each pixel is made up of smaller components with different colors, returns the layout of the subpixel components.
New in version 1.14.
- get_width()¶
- Returns:
the width of the output in pixels
- Return type:
Gets the width of the output in pixels.
New in version 1.14.
- get_x()¶
- Returns:
the X position of the output as a pixel offset from the left side of the screen coordinate space
- Return type:
Gets the X position of the output with respect to the coordinate system of the screen.
New in version 1.14.