代码搜索结果

找到约 5,749 项符合 RGB 的代码

untitled-24.txt

第2章在窗口中绘图53 LOGBRUSH fo; fo-lbstyle= BS—SOLID; fo.lbColor= RGB(0, 255, O); CPPfi PPP(PS_GEOMETRICIPS

untitled-36.txt

第2章在窗口中绘图65 表以取代当前选人的对象。前一种方法由下面的程序代码说明: CPen Pen(PS.SOLID,工, RGB(255, 0, 0》; CPen。poldPen= dc.Selectobject(&pen);

untitled-25.txt

54 MFC Windows程序设计(第2版) 所有用来创建画刷的CBrush构造函数都会产生资源异常问题,因而也就不能创建画刷了。 将阴影线索引和 COLORREF值传送给 CBrush的构造函数或调用 CBrush:: CreateHatch Brush都能创建一个阴影线画刷。语句 CBrush brush(HS.DIAGCROSS, RGB(255

字体对话框颜色.txt

CFontDialog弹出时颜色为黑色,如何改变呢? CFontDialog dlg; dlg.m_cf.rgbColors=RGB(0,0,255); dlg.DoModal();

xstatic.h

// xstatic.h : header file for CXstatic class // (c) Dialogic corp 1995, 1996 // #define RED RGB(255, 0, 0) #define GREEN RGB(0, 255, 0) #define BLUE RGB(0, 0, 255) #define BLACK RGB(0,

sample.ico

# # Example icon file # screen width 640 screen height 480 screen colors 16 screen background 0 screen map rgb 0 0 0 is . # Black rgb 0 0 170 is 1 # Blue rgb 0 170 0 is 2 # Green rg

color-settransform-empty.swf.trace

Test the that setTransform({}) does the correct thing rgb: 0 ra: 100 rb: 0 ga: 100 gb: 0 ba: 100 bb: 0 aa: 100 ab: 0 and again, but after setRGB(0x123456) rgb: 1193046 ra: 0 rb: 18 ga: 0 gb: 52 ba: 0

color-getters.swf.trace

Test the default values of Color getters rgb: 0 ra: 100 rb: 0 ga: 100 gb: 0 ba: 100 bb: 0 aa: 100 ab: 0

rgb-hsv.cpp

/****************************************************************************** * 下面两个函数实现rgb和hsv的互相转换 * r,g,b 的值在 0 到 1 之间 * h = [0,360], s = [0,1], v = [0,1] * if s == 0, then h = -1 (undefi

rgb2hsi.cpp

/******************************************************************** * 函数名称:rgb2hsi * 功能:实现rgb到hsi的转换 * 参数:hsi - 长度为3的双精度数组 * rgb - 长度为3的双精度数组 ************************************