CDC::GetAspectRatioFilter

Retrieves the setting for the current aspect-ratio filter.

CSize GetAspectRatioFilter( ) const;

Return Value

A CSize object representing the aspect ratio used by the current aspect ratio filter.

Remarks

The aspect ratio is the ratio formed by a device's pixel width and height. Information about a device's aspect ratio is used in the creation, selection, and display of fonts. Windows provides a special filter, the aspect-ratio filter, to select fonts designed for a particular aspect ratio from all of the available fonts. The filter uses the aspect ratio specified by the SetMapperFlags member function.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SetMapperFlags

CSize Class

Other Resources

CDC Members