转自原文 用ZedGraph控件作图圆 用ZedGraph控件绘制圆各位: 我想利用第三方控ZedGraph在WinForm窗体中绘制图形如,圆,填充圆,只是简单的圆图形,但一直没有找到相应的方法,网上的资料都是些绘制图表,拆线,圆饼类.对我有些不太适用. 现求教各位.谢谢.主要是看重此软件的缩放功能,实时性比较好,因为我是做工业UI的. Add an EllipseItem to the graph, then add the following code to your ReSize
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Typ
// WinThreadTest.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "WinThreadTest.h" #include <windows.h> #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR
计算机图形学课程作业-----画圆 Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim G As Graphics = PictureBox1.CreateGraphics() Dim Br As SolidBrush = New SolidBrush(Color.Blue) Dim x0