Mir
|
Interface to the layout of the display outputs. More...
#include <display_layout.h>
Public Member Functions | |
virtual | ~DisplayLayout ()=default |
virtual void | clip_to_output (geometry::Rectangle &rect)=0 |
Clips a rectangle to the output it is in. More... | |
virtual void | size_to_output (geometry::Rectangle &rect)=0 |
Makes a rectangle take up the whole area of the output it is in. More... | |
virtual bool | place_in_output (graphics::DisplayConfigurationOutputId id, geometry::Rectangle &rect)=0 |
Places a rectangle in an particular output if the display is known, otherwise does nothing. More... | |
Protected Member Functions | |
DisplayLayout ()=default | |
DisplayLayout (DisplayLayout const &)=delete | |
DisplayLayout & | operator= (DisplayLayout const &)=delete |
Interface to the layout of the display outputs.
|
virtualdefault |
|
protecteddefault |
|
protecteddelete |
|
pure virtual |
Clips a rectangle to the output it is in.
[in,out] | rect | the rectangle to clip |
|
protecteddelete |
|
pure virtual |
Places a rectangle in an particular output if the display is known, otherwise does nothing.
[in] | id | the id of the output to place the rectangle in |
[in,out] | rect | the rectangle to place |
|
pure virtual |
Makes a rectangle take up the whole area of the output it is in.
[in,out] | rect | the rectangle to make fullscreen |
Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 13:49:26 UTC 2017