GetAspectRatioFilterEx

3.1

  BOOL GetAspectRatioFilterEx(hdc, lpAspectRatio)    
  HDC hdc;    
  SIZE FAR* lpAspectRatio;    

The GetAspectRatioFilterEx function retrieves the setting for the current aspect-ratio filter. 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 displaying 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 function.

Parameters

hDC

Identifies the device context that contains the specified aspect ratio.

lpAspectRatio

Pointer to a SIZE structure where the current aspect ratio filter will be returned.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

See Also

SetMapperFlags