术语 | createdibpatternbrushpt |
释义 | CreateDIBPatternBrushPt 语法: HBRUSH CreateDIBPatternBrushPt( __in const VOID *lpPackedDIB, __in UINT iUsage ); CreateDIBPatternBrushPt功能 该CreateDIBPatternBrushPt函数创建一个合乎逻辑的画笔具有的设备无关的位图(DIB)指定的模式。 参数 lpPackedDIB [in] 一个拥挤的DIB的BITMAPINFO结构中,立即组成由一个定义位图的像素的字节数组遵循的指针。 iUsage [in] 指定是否BITMAPINFO结构的成员bmiColors包含一个有效的颜色表,如果是,无论是在此颜色表中的条目载有明确的红,绿,蓝(RGB)值或调色板索引。该iUsage参数必须是下列值之一。 ValueMeaning DIB_PAL_COLORSA提供色表和一组16包括进入设备的断章取义,把刷子是被选中的逻辑调色板位索引。 DIB_RGB_COLORSA颜色表提供,并包含文字RGB值。 返回值 如果函数成功,返回值确定一个逻辑画笔。 如果函数失败,返回值为NULL。 备注 画笔是一个位图,该系统使用的涂料填充形状的内部。 应用程序创建后,通过调用CreateDIBPatternBrushPt一刷,可以选择到任何设备的情况下通过调用SelectObject函数画笔。 当您不再需要刷,调用DeleteObject函数将其删除。 ICM的:没有颜色的画笔创作完成。然而,色彩管理时执行画笔是ICM的选择到一个启用的设备上下文。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 Brushes 概述 Brush 函数 BITMAPINFO CreateDIBPatternBrush CreateHatchBrush CreatePatternBrush CreateSolidBrush DeleteObject GetBrushOrgEx SelectObject SetBrushOrgEx 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==CreateDIBPatternBrushPt Function The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB). Syntax HBRUSH CreateDIBPatternBrushPt( __in const VOID *lpPackedDIB, __in UINT iUsage ); Parameters lpPackedDIB [in] A pointer to a packed DIB consisting of a BITMAPINFO structure immediately followed by an array of bytes defining the pixels of the bitmap. iUsage [in] Specifies whether the bmiColors member of the BITMAPINFO structure contains a valid color table and, if so, whether the entries in this color table contain explicit red, green, blue (RGB) values or palette indexes. The iUsage parameter must be one of the following values. ValueMeaning DIB_PAL_COLORSA color table is provided and consists of an array of 16-bit indexes into the logical palette of the device context into which the brush is to be selected. DIB_RGB_COLORSA color table is provided and contains literal RGB values. Return Value If the function succeeds, the return value identifies a logical brush. If the function fails, the return value is NULL. Remarks A brush is a bitmap that the system uses to paint the interiors of filled shapes. After an application creates a brush by calling CreateDIBPatternBrushPt, it can select that brush into any device context by calling the SelectObject function. When you no longer need the brush, call the DeleteObject function to delete it. ICM: No color is done at brush creation. However, color management is performed when the brush is selected into an ICM-enabled device context. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWingdi.h (include Windows.h) LibraryGdi32.lib DLLGdi32.dll See Also Brushes Overview Brush Functions BITMAPINFO CreateDIBPatternBrush CreateHatchBrush CreatePatternBrush CreateSolidBrush DeleteObject GetBrushOrgEx SelectObject SetBrushOrgEx Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd183493(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。