网站首页  词典首页

请输入您要查询的函数:

 

术语 offsetviewportorgex
释义 OffsetViewportOrgEx
语法:
BOOL OffsetViewportOrgEx(
__in HDC hdc,
__in int nXOffset,
__in int nYOffset,
__out LPPOINT lpPoint
);
OffsetViewportOrgEx功能
该OffsetViewportOrgEx函数修改为设备使用指定的Level和垂直偏移范围内口的起源。
参数
hdc [in]
一个句柄,设备上下文。
nXOffset [in]
横向偏移,设备单位。
nYOffset [in]
垂直偏移,设备单位。
lpPoint [out]
一个POINT结构的指针。以前的视口的起源,在设备的单位,被放置在此结构。如果lpPoint为NULL,则视前不会返回原籍。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
新的原产地是目前起源之和的Level和垂直偏移。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
坐标空间和转换概述
坐标空间与变换函数
GetViewportOrgEx
OffsetWindowOrgEx
SetViewportOrgEx
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==OffsetViewportOrgEx Function
The OffsetViewportOrgEx function modifies the viewport origin for a device context using the specified horizontal and vertical offsets.
Syntax
BOOL OffsetViewportOrgEx(
__in HDC hdc,
__in int nXOffset,
__in int nYOffset,
__out LPPOINT lpPoint
);
Parameters
hdc [in]
A handle to the device context.
nXOffset [in]
The horizontal offset, in device units.
nYOffset [in]
The vertical offset, in device units.
lpPoint [out]
A pointer to a POINT structure. The previous viewport origin, in device units, is placed in this structure. If lpPoint is NULL, the previous viewport origin is not returned.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The new origin is the sum of the current origin and the horizontal and vertical offsets.
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
GetViewportOrgEx
OffsetWindowOrgEx
SetViewportOrgEx
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162748(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:30:36