Changeset View
Changeset View
Standalone View
Standalone View
src/output.h
Context not available. | |||||
184 | * Returns a rectangle containing the currently set output position and | 184 | * Returns a rectangle containing the currently set output position and | ||
---|---|---|---|---|---|
185 | * size. | 185 | * size. | ||
186 | * | 186 | * | ||
187 | * The geometry also reflects current orientation (i.e. if current mode | 187 | * The geometry reflects current orientation (i.e. if current mode | ||
188 | * is 1920x1080 and orientation is @p KScreen::Output::Left, then the | 188 | * is 1920x1080 and orientation is @p KScreen::Output::Left, then the | ||
189 | * size of the returned rectangle will be 1080x1920. | 189 | * size of the returned rectangle will be 1080x1920) and current scale | ||
190 | * (i.e. if scale is 1.5 then geometry() of an output with mode 1920x1080 | ||||
191 | * will be 2880x1620). | ||||
190 | * | 192 | * | ||
191 | * This property contains the current settings stored in the particular | 193 | * This property contains the current settings stored in the particular | ||
192 | * Output object, so it is updated even when user changes current mode | 194 | * Output object, so it is updated even when user changes current mode, | ||
193 | * or orientation without applying the whole config/ | 195 | * orientation or scale without applying the whole config/ | ||
194 | */ | 196 | */ | ||
195 | QRect geometry() const; | 197 | QRect geometry() const; | ||
196 | 198 | | |||
Context not available. |