Reference » Window classes » MWindow » HighQuality

Elgrint::MWindow::HighQuality property

Declaration (see MWindow.h):

void setHighQuality(bool newVal); inline bool isHighQuality();

Description

Specifies the quality of the painting functions. Inherited property. Initial value is (see Details).

Return type: bool

Details

If HighQuality is true, then all the painting functions use more sophisticated anti-aliasing and/or interpolation methods for drawing lines, shapes, text, and images. High quality drawings look better but work noticeably slower.

The property is inherited, i.e. the initial value is set to getParent().isHighQuality() during construction, and, by default, changing this property for a given window changes it to the same value in all descendants of this window (this behavior can be overridden - see OnNotice). The Example shows how to change this property in all windows at the same time.

The default HighQuality value for the screen window (and thus for all windows) is false.

Remarks

Example

Let us know

Please Contact us to report any errors on this page, or to suggest any improvements.

Miranor Home | About Miranor | About Elgrint | Create account | Login | Account settings | Contact Us | Privacy Policy | Site map

© Copyright 2014 by Miranor. All rights reserved. By using this site you agree to the Terms of Use.

Page last updated on August 10th, 2014.