- 博客(0)
- 资源 (2)
- 收藏
- 关注
c#绘制双曲线
c#绘制双曲线 采用双缓冲技术
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
2012-12-07
C#绘制抛物线
C# 抛物线
public partial class Form1 : Form
{
Bitmap oriBmp = null;
Bitmap oriBmp1 = null;
Bitmap bufferBmp = null;
double a, b, c;
float xx, yy;
public Form1()
{
InitializeComponent();
}
//绘制坐标系
private void Form1_Load(object sender, EventArgs e)
{
pictureBox1.Image = new Bitmap(400, 400);
Graphics g = Graphics .FromImage (pictureBox1.Image );
g.Clear(Color.White);
Pen blackPen = new Pen(Color.Black, 1);
g.TranslateTransform(200, 200);
2012-12-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人