网站首页  词典首页

请输入您要查询的函数:

 

术语 getaspectratiofilterex
释义 GetAspectRatioFilterEx
语法:
BOOL GetAspectRatioFilterEx(
__in HDC hdc,
__out LPSIZE lpAspectRatio
);
GetAspectRatioFilterEx功能
该GetAspectRatioFilterEx函数检索当前纵横比过滤器设置。
参数
hdc [in]
句柄设备上下文。
lpAspectRatio [out]
指针的规模结构,接收电流方面,比过滤器。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
宽高比为的宽度和指定的设备上的一个像素高的组成比例。
该系统提供了一个特殊的过滤器,纵横比筛选,选择那些针对特定的设备设计的字体。应用程序可以指定该系统应该只检索字体匹配通过调用SetMapperFlags指定的宽高比功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
字体和文字概述
字体和文本函数
SetMapperFlags
尺寸
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetAspectRatioFilterEx Function
The GetAspectRatioFilterEx function retrieves the setting for the current aspect-ratio filter.
Syntax
BOOL GetAspectRatioFilterEx(
__in HDC hdc,
__out LPSIZE lpAspectRatio
);
Parameters
hdc [in]
Handle to a device context.
lpAspectRatio [out]
Pointer to a SIZE structure that receives the current aspect-ratio filter.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The aspect ratio is the ratio formed by the width and height of a pixel on a specified device.
The system provides a special filter, the aspect-ratio filter, to select fonts that were designed for a particular device. An application can specify that the system should only retrieve fonts matching the specified aspect ratio by calling the SetMapperFlags function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Fonts and Text Overview
Font and Text Functions
SetMapperFlags
SIZE
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144849(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:27:00