网站首页  词典首页

请输入您要查询的函数:

 

术语 modifyworldtransform
释义 ModifyWorldTransform
语法:
BOOL ModifyWorldTransform(
__in HDC hdc,
__in const XFORM *lpXform,
__in DWORD iMode
);
ModifyWorldTransform功能
该ModifyWorldTransform函数更改为设备使用指定的模式中世界的改造。
参数
hdc [in]
一个句柄,设备上下文。
lpXform [in]
一个对的XForm结构,用来修改给定设备上下文改造世界的指针。
iMode的 [in]
指定如何转换数据修改当前世界的改造。此参数必须是下列值之一。
ValueMeaning
MWT_IDENTITYResets通过使用单位矩阵当前世界的改造。如果这个模式被指定,的XForm结构指向lpXform被忽略。
MWT_LEFTMULTIPLYMultiplies由结构中的XForm当前的数据转换。 (在的XForm结构的数据成为左被乘数,以及当前转型的数据变得被乘数的权利。)
MWT_RIGHTMULTIPLYMultiplies由结构中的XForm当前的数据转换。 (在的XForm结构的数据变得被乘数的权利,以及当前转型中的数据将成为左被乘数。)
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该ModifyWorldTransform函数将失败,除非指定的设备环境的图形模式已成立以前调用SetGraphicsMode功能GM_ADVANCED。同样,不可能重置设备上下文的GM_COMPATIBLE的默认模式图形模式,除非改变了世界第一个被重置为默认的身份变换调用SetWorldTransform或ModifyWorldTransform。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
坐标空间和转换概述
坐标空间与变换函数
GetWorldTransform
SetWorldTransform
SetGraphicsMode
的XForm
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==ModifyWorldTransform Function
The ModifyWorldTransform function changes the world transformation for a device context using the specified mode.
Syntax
BOOL ModifyWorldTransform(
__in HDC hdc,
__in const XFORM *lpXform,
__in DWORD iMode
);
Parameters
hdc [in]
A handle to the device context.
lpXform [in]
A pointer to an XFORM structure used to modify the world transformation for the given device context.
iMode [in]
Specifies how the transformation data modifies the current world transformation. This parameter must be one of the following values.
ValueMeaning
MWT_IDENTITYResets the current world transformation by using the identity matrix. If this mode is specified, the XFORM structure pointed to by lpXform is ignored.
MWT_LEFTMULTIPLYMultiplies the current transformation by the data in the XFORM structure. (The data in the XFORM structure becomes the left multiplicand, and the data for the current transformation becomes the right multiplicand.)
MWT_RIGHTMULTIPLYMultiplies the current transformation by the data in the XFORM structure. (The data in the XFORM structure becomes the right multiplicand, and the data for the current transformation becomes the left multiplicand.)

Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The ModifyWorldTransform function will fail unless graphics mode for the specified device context has been set to GM_ADVANCED by previously calling the SetGraphicsMode function. Likewise, it will not be possible to reset the graphics mode for the device context to the default GM_COMPATIBLE mode, unless world transform has first been reset to the default identity transform by calling SetWorldTransform or ModifyWorldTransform.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Coordinate Spaces and Transformations Overview
Coordinate Space and Transformation Functions
GetWorldTransform
SetWorldTransform
SetGraphicsMode
XFORM
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145060(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 9:24:40