OnDraw 里面CDC::SetPixel COLORREF SetPixel( int x, int y, COLORREF crColor );COLORREF SetPixel( POINT point, COLORREF crColor );CDC::SetLayout DWORD SetLayout( DWORD dwLayout );ParametersdwLayoutDevice context layout and bitmap control flags. It can be a combination of the following values.ValueMeaningLAYOUT_BITMAPORIENTATIONPRESERVED Disables any reflection for calls to CDC::BitBlt and CDC::StretchBlt. LAYOUT_RTL Sets the default horizontal layout to be right to left. LAYOUT_LTR Sets the default layout to be left to right.