Specifies the source device context.
指定源设备顶下文。
Releases the handle to the device context.
释放设备上下文的句柄。
These are all attributes that are part of the device context.
这些都是作为关联设备一部分的属性。
Now let's create a memory device context and select a new bitmap.
现在,让我们创建一个内存设备上下文,然后选择一个新的位图。
GDI draws lines using the current pen selected in the device context.
gdi用当前选进关联设备的画笔绘制直线。
Do not delete a brush that is currently selected in a device context.
不要删除当前选进关联设备的画刷。
To use this pen, you "select" the pen handle into the device context.
为了使用该画笔,你将画笔句柄“选”尽关联设备。
Retrieves the device context into which the current bitmap is selected.
得到选入当前位图的设备描述表。
The line width and this line style are not attributes of the device context.
线宽和线的风格不是关联设备的属性。
You should always restore the object that you replaced in the device context.
你只要在设备环境中替换了某一对象,你都应该恢复它。
If a brush is used, it is the selected brush in the destination device context.
如果用到画刷,应使用目标设备上下文中选定的画刷。
Later on, you deselect the pen object from the device context and destroy the object.
稍后,你从关联设备取消画笔对象并销毁该对象。
In the default device context, the current position is initially set to the point (0, 0).
在缺省的关联设备中,当前位置被初始地设置为点(0,0)。
When we are through with the font, we should restore the old font back into the device context.
当我们不使用这个字体的时候,我们应该在设备环境中恢复它以前的字体。
The current pen selected in the device context is considered an attribute of the device context.
选进关联设备的当前画笔被认为是关联设备的属性。
The device context contains many "attributes" that determine how the GDI functions work on the device.
关联设备包含许多确定gdi函数如何在设备上工作的属性。
Draws the specified text at the specified location, using the specified device context, color, and font.
使用指定的设备上下文、颜色和字体在指定位置绘制指定文本。
For all Set functions, there are Get functions that let you obtain the current device context attributes.
对于所有的set函数,有让你获得当前关联设备属性的的Get函数。
All attributes of the device context have default values that are set when the device context is obtained.
关联设备的所有属性有缺省值,当关联设备被获得时它们被设置。
When a memory device context is created, GDI automatically selects a 1-by-1 monochrome stock bitmap for it.
当内存设备环境创建后,GDI会自动为它装载一个黑白位图。
Provides the size, in pixels, of the specified text drawn with the specified font in the specified device context.
提供在指定的装置内容中以指定的字型绘制之文字的大小 (以像素为单位)。
Later in this chapter, we'll look at the DEVCAPS1 program, which obtains other, more general, device context information.
在本章后面,我们将看到DEVCAPS 1程序,它获得其它更一般的关联设备信息。
Because the bitmap is compatible with the device, a memory DC is also sometimes referred to as a compatible device context.
由于位图是与设备共存,内存设备环境有些时候被称之为共存设备环境。
Creates a memory-device context that is compatible with another device context. You can use it to prepare images in memory.
创建内存设备上下文,与另一个设备上下文匹配。可以用它在内存中准备图像。
Environment context, device context and user context were researched to promote computing systems' initiative and intelligence.
利用环境上下文、设备上下文、用户上下文提高计算系统主动性和智能性。
GDI output functions can be used with a memory device context only if a bitmap has been created and selected into that context.
GDI的输出函数只有当内存设备环境上有了位图画布之后,才能进行输出。
Although these functions are considered to be part of GDI, unlike most GDI functions they do not require a handle to a device context.
尽管这些函数被认为是GDI的一部分,但是并不像大多数gdi函数,它们不需要关联设备句柄。
Draws the specified text within the specified bounds using the specified device context, font, color, back color, and formatting instructions.
使用指定的装置内容、字型、色彩和格式化指示,在指定的界限之内绘制指定的文字。
Functions that get (or create) and release (or destroy) a device context as we saw in earlier chapters, you need a handle to a device context in order to draw.
获得(或创建)和释放(或销毁)关联设备的函数-正如我们在前几章看到的,你需要关联设备的句柄以便绘制。
Functions that set and get attributes of the device context an "attribute" of the device context determines various details regarding how the drawing functions work.
设置和获得关联设备属性的函数-关联设备的“属性”确定关于绘图函数如何工作的各种细节。
应用推荐