知識社群
登入
中文(台灣)
English(US)
Q&A
線上人數:
597
CS101
社群功能
社群首頁
文件區
(27)
精華區
行事曆
活動
討論區
(11)
即時塗鴉牆
問卷
相簿
申請加入社群
文件分類
[
總覽
]
9901
(25)
e-tutor
(2)
社群資訊
訪客: 124807
文章: 27
討論: 11
公告: 0
容量: 剩餘
12 MB
(500 MB)
閱讀權限: 開放
分類:
電腦資訊 / 程式設計
版主: Solomon
副版主: 無
位置:
CS101
>
文件區
>
9901
Chapter 16 - Drawign in a Window Using the Mouse
(1:10:50)
Tweet
by Solomon, 2011-05-18 15:08, 人氣(5378)
嵌入
|
cc Media
|
轉檔資訊
更清晰的畫質或聲音,請點選(限 IE)
標題
1.
Chapter 16 (cont.)Drawing in a WindowUsing the Mouse
2.
Drawing Graphics in Practice
3.
Circle
4.
Rectangle
5.
Message from the Mouse
6.
Message from the Mouse
7.
Message from the Mouse
8.
Message from the Mouse
9.
Mouse Message Handlers
10.
OnMouseMove()
11.
nFlags
12.
nFlags
13.
Storing the Position of the Cursor
14.
Storing the Position of the Cursor
15.
m_FirstPoint & m_SecondPoint
16.
Defining Classes for Elements
17.
Defining Classes for Elements
18.
Add a New Class into Your Project
19.
Creating the CElement Class
20.
Creating the CLine Class
21.
Slide 16
22.
Storing a Temporary Element in the View
23.
m_pTempElement
24.
Check SketcherView.h
25.
Check SketcherView.h
26.
The CElement Class
27.
The CLine Class (in Elements.h)
28.
Implementation of the CLine Constructor (in Elements.cpp)
29.
Drawing a Line
30.
Drawing a Line
31.
Setting the Drawing Mode
32.
R2_NOTXORPEN
33.
Coding the OnMouseMove() Handler
34.
Coding the OnMouseMove() Handler
35.
CreateElement()
36.
CreateElement()
37.
Implementing CreateElement()
38.
GetElementType()
39.
Dealing with WM_LBUTTONUP
40.
Exercising Sketcher
41.
Exercising Sketcher
42.
Bounding Rectangles
43.
Bounding Rectangles
44.
Modify the CElement Class Definition
45.
Modify the CElement Class Definition
46.
GetBoundRect()
47.
Enlarge the Enclosing Rectangle by the Pen Width
48.
Calculating the Enclosing Rectangle for a Line
49.
Calculating the Enclosing Rectangle for a Line
50.
The CRectangle Class
51.
The CRectangle Class Constructor
52.
The CRectangle Class Constructor
53.
Drawing a Rectangle
54.
The CCircle Class
55.
Implementing the CCircle Class
56.
Implementing the CCircle Class
57.
The CCircle Class Constructor
58.
Drawing a Circle
59.
Rectangles & Circles
60.
CCurve Class
61.
CCurve Class
62.
CCurve Class Definition
63.
Constructor for a curve object
64.
Draw a curve
65.
Draw a curve
66.
Re-compute the bounding rectangle incrementally
67.
Add a segment to the curve
68.
Modify OnMouseMove() (P.987)
69.
Now you can draw the four elements
70.
Midterm Exam
71.
Capturing Mouse Message
72.
SetCapture()
73.
ReleaseCapture()
74.
CSketcherView::OnMouseMove()
... [more]
© 2010 FormosaSoft Corp.
http://www.powercam.com.tw
service@powercam.com.tw
All rights reserved.