搜索资源列表
CORE 图形系统
- Graph with no options takes pairs of points (two numbers per line) from the given file (or standard input) as x- and y- values and plots them on the screen, connected by straight lines. A string surrounded by quotes \"...\" may follow a pair
C_LIB
- 消息中有什么? 是否觉得一个消息记录中的信息像希腊语一样?如果是这样,那么看一看下面的解释: hwnd 32位的窗口句柄。窗口可以是任何类型的屏幕对象,因为Win32能够维护大多数可视对象的句柄(窗口、对话框、按钮、编辑框等)。 message 用于区别其他消息的常量值,这些常量可以是Windows单元中预定义的常量,也可以是自定义的常量。 wParam 通常是一个与消息有关的常量值,也可能是窗口或控件的句柄。 lParam 通常是一个指向内存中
jisuanjituxing
- 根据多边形区域的填充原理可以推广到圆域的填充,由于圆的特殊属性,即可根据任何欲填充的像素点与圆心的距离是否大于或小于半径来判断是否在圆内或圆外,具体实现程序如下; 利用中点画圆算法实现边界程序: void CArea_FillData::MidpointCircle(int xc, int yc, int r, int color) {//画八分之一的圆 int x,y,d x=0 y=r d=1-r WholeCircle(xc,yc,x,y,color
cutedraw1
- 画图工具L c R G NONE End Enum Dim graph As Graphic Private Type Lnode’定义一个节点类型来 保存每个图形的信息 Sx As Single Sy As Single Tx As Single Ty As Single Bch As Graphic Color As Long End Type 画图:直线,圆跟矩形都用Line方法来实现,封装在Public Sub-drawing tools c R L G NONE End Enum Di
DrawArc
- WINCE下的画圆弧算法,输入参数为hdc,x0,y0,r,a,b。x0,y0为圆心坐标,r为半径,a为起始角度(逆时针),b为b和a之间的夹角(逆时针)。采用离散的算法。-WINCE under an arc algorithm, the input parameters for hdc, x0, y0, r, a, b. x0, y0 as the center coordinates, r is the radius, a starting angle (counterclockwise)