C#으로 구현한 그림판
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
해당 자료는 8페이지 까지만 미리보기를 제공합니다.
8페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

C#으로 구현한 그림판 에 대한 보고서 자료입니다.

목차

[Painter]
 [Canvas]
 [obj]
 [Properties]
 Painter.csproj
 Program.cs
 UserPainter.cs
 UserPainter.Designer.cs
 UserPainter.resx
Painter.sln
Painter.suo



265KB

본문내용

Canvas.cs




using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.Drawing.Drawing2D;

namespace CanvasNameSpace
{
  ///
  /// 그리기 사용자 컨트롤
  ///

  public partial class Canvas : UserControl
  {
    #region 맴버변수
    ///
    /// 마우스 드래그 시작, 끝
    ///

    private Point DragStartPosition, DragEndPosition;
    ///
    /// 곡선 그리기 중간점 1, 2
    ///

    private Stack RoundLinePoint = new Stack( );
    ///
    /// 그리기 기능 열거체
    /// ( None, Pencil, Brush, Eraser, Fill, Line, RoundLine, Rectangle, Ellipse )
    ///

    public enum TypeDraw { None = 0, Pencil, Brush, Eraser, Fill, Line, RoundLine, RectangleLine, Rectangle, Ellipse, FillRectangle, FillEllipse };
    ///
    ///
    ///

    public enum TypeBrush { SolidBrush = 0, HatchBrush, TextureBrush };
    ///
    /// 그리기 펜
    ///

    private Pen CanvasPen;
    ///
    /// 채우기 브러쉬
    ///

    private Brush CanvasBrush;
    ///
    /// 단일 채우기 브러시
    ///

    private SolidBrush CanvasSolidBrush;
    ///
    /// 해치 브러시
    ///

    private HatchBrush CanvasHatchBrush;
    ///
    /// 이미지 브러시
    ///

    private TextureBrush CanvasTextureBrush;
    ///
    /// 그려진 도형을 갖는 스텍
    ///

    private Queue Shapes = new Queue( );

키워드

C#,   그림판,   Painter,   Canvas
  • 가격5,000
  • 페이지수24페이지
  • 등록일2012.07.29
  • 저작시기2010.3
  • 파일형식압축파일(zip)
  • 자료번호#759758
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니