Gray and Dithered Bitmap Functions

来源:互联网 发布:淘宝退货率在哪看 编辑:程序博客网 时间:2024/06/05 03:13

Gray Bitmap Functions

MFC provides two functions for giving a bitmap the appearance of a disabled control.

Original Vs Gray Interface

AfxDrawGrayBitmap

Draws a gray version of a bitmap.

AfxGetGrayBitmap

Copies a gray version of a bitmap.

Dithered Bitmap Functions

MFC also provides two functions for replacing a bitmap's background with a dithered pattern.

Dither Bitmap Sample

AfxDrawDitheredBitmap

Draws a bitmap with a dithered background.

AfxGetDitheredBitmap

Copies a bitmap with a dithered background.