网站首页  词典首页

请输入您要查询的函数:

 

术语 createfontindirectex
释义 CreateFontIndirectEx
语法:
HFONT CreateFontIndirectEx(
__in const ENUMLOGFONTEXDV *penumlfex
);
CreateFontIndirectEx功能
该CreateFontIndirectEx函数指定一个逻辑字体在指定的结构特征。字体随后可以被选定为任何设备上下文的当前字体。
参数
penumlfex [in]
指针的ENUMLOGFONTEXDV结构,定义了多个主字体的特点。
请注意,这个函数会忽略ENUMLOGFONTEXDV elfDesignVector成员。
返回值
如果函数成功,返回值是处理新的ENUMLOGFONTEXDV结构。
如果函数失败,返回值是零。没有扩展的错误信息是可用。
备注
该CreateFontIndirectEx函数创建一个与该ENUMLOGFONTEXDV结构中指定的特点,逻辑字体。当此字体选择使用SelectObject函数,GDI的字体映射器试图匹配与现有的物理字体逻辑字体。如果它未能找到完全匹配,它提供了一种替代的特征匹配尽可能要求的许多特点。
当您不再需要的字体,调用DeleteObject函数将其删除。
对于CreateFont,CreateFontIndirect字体映射器,并CreateFontIndirectEx承认英文和本地化的字体名称,不论语言环境。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode和ANSI namesCreateFontIndirectExW(Unicode)和CreateFontIndirectExA(ANSI)的
参见
字体和文字概述
字体和文本函数
CreateFont
CreateFontIndirect
EnumFonts
EnumFontFamilies
EnumFontFamiliesEx
ENUMLOGFONTEXDV
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CreateFontIndirectEx Function
The CreateFontIndirectEx function specifies a logical font that has the characteristics in the specified structure. The font can subsequently be selected as the current font for any device context.
Syntax
HFONT CreateFontIndirectEx(
__in const ENUMLOGFONTEXDV *penumlfex
);
Parameters
penumlfex [in]
Pointer to an ENUMLOGFONTEXDV structure that defines the characteristics of a multiple master font.
Note, this function ignores the elfDesignVector member in ENUMLOGFONTEXDV .
Return Value
If the function succeeds, the return value is the handle to the new ENUMLOGFONTEXDV structure.
If the function fails, the return value is zero. No extended error information is available.
Remarks
The CreateFontIndirectEx function creates a logical font with the characteristics specified in the ENUMLOGFONTEXDV structure. When this font is selected by using the SelectObject function, GDI's font mapper attempts to match the logical font with an existing physical font. If it fails to find an exact match, it provides an alternative whose characteristics match as many of the requested characteristics as possible.
When you no longer need the font, call the DeleteObject function to delete it.
The font mapper for CreateFont , CreateFontIndirect , and CreateFontIndirectEx recognizes both the English and the localized typeface name, regardless of locale.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode and ANSI namesCreateFontIndirectExW (Unicode) and CreateFontIndirectExA (ANSI)
See Also
Fonts and Text Overview
Font and Text Functions
CreateFont
CreateFontIndirect
EnumFonts
EnumFontFamilies
EnumFontFamiliesEx
ENUMLOGFONTEXDV
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183501(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 13:24:30