SlideShare a Scribd company logo
2-D GRAPHICS
| 2D graphics using C/C++
| Explore graphics.h
| We use TC
| Download TC and Dosbox (if windows 7/8).
| Install Dosbox.
y Run Dosbox
y Extract TC in easy path such as C:TC
y Now mount C:TC in Dosbox
y mount c c:
y Or mount c c:TC
2-D SHAPES
x
 ¡
¢
£
¤
¥
¦
§
¨
©

¥


¥




¥



§




¥



¦
§




¥

¨
§
¦
¥

!
x
#
$%

'
$
¢
%
£
¤
¥
¦
(
¥


¥
©


¥


¥




¥




§




¥



¦
§




¥

¨
§
¦
¥

!
x
)
$
¡
¢
'%
£
¤
¥
¦
©
¥
¨
©


¥



¥



¥

¨
§
¦
¥

!
x
0
'
'
$
#

%
£
¤
¥
¦



¥
(



¥


¥



¥



§





¥



¦
§




¥


¨
§
¦
¥


¥


¨
§
¦
¥

!
x
1
$2
%
£
¤
¥
¦

¥


¥



3

¥


3

¥


4

¥



4
!
x
5%
¢
67
¡
£
¤
¥
¦


©

¤
¨

¥


¥



¥



§





¥



¦
§




¥


¨
§
¦
¥


¥


¨
§
¦
¥

!
x
8
%
¢
69
2
@
'%
£
¤
¥
¦
¨

©

§




¥


A


¥


¤
(

¥


¨
¥

B


¥

C
¤


¤
D
!

x
E
9
¡
£
¤
¥
¦
C
§
¨

¥


A


¥


¤
(

¥

¨
¥

B


¥

C
¤


¤
D
!
2-D SHAPES WITH TC
F
GH
I
PQ
RS
TU
V
W
X
Y
G
I
`a
Yb
F
GH
I
PQ
RS
T
I
c
H
G
c
a
Yb
d
W
GH
e
f
g
GH
h
U
R
i
p
q
r
q
s
rt
U
d
t
P
S
u
h
i
v
w
w
t
h
c
X
i
v
w
w
t
V
G
U
Y
h
i
x
w
w
t
y
c
h
h
c
d
i
x
w
w
t
€
i

w
w
t
‚
i
v
ƒ
w
t
V
W
R
GQ
`
i
ƒ
w„
GH
G
h
U
V
W
X
Y
e…
U
R
t
…
U
d
t
†
s‡
ˆ
ˆ‰

‘
†
f
„
V
S
I
h
W
H
U
P
S
e
P
S
u
h
t
h
c
X
t
V
G
U
Y
ht
y
c
h
h
c
d
f
„
I
G
V
I
P
S
e
€
t
‚
t
V
W
R
GQ
`
f
„
y
W
V
e
P
S
u
h
’

w
w
t
h
c
X
t
V
G
U
Y
h
’

w
w
t
y
c
h
h
c
d
f
„
P
GH
S
e
P
S
u
h
“
v
w
t
h
c
X
’
v
ƒ
w
t
P
S
u
h
’
”
v
w
t
h
c
X
’
v
ƒ
w
f
„
S
P
P
G
X
`
S
e
€
t
‚
’
x
w
w
t
w
t

•
w
t
v
w
w
t
ƒ
w
f
„
c
Q
h
h
S
€
h
€
‚
e
P
S
u
h
’
v
w
w
t
h
c
X
’

x
ƒ
t
†
–
‚
—
G
V
`
h
s

V
W
X
Y
G
I
`
˜
V
c
U
V
W
d
†
f
„
U
S
h
I
Y
e
f
„
I
P
c
`
S
U
V
W
X
Y
e
f
„
™
d
ef
™
g
w„
h
2-D SHAPES WITH TC
2-D SHAPES WITH TC
2-D SHAPES WITH TC
2-D SHAPES WITH TC
2-D SHAPES WITH TC

More Related Content

More from alldesign

Vb lecture
Vb lectureVb lecture
Vb lecture
alldesign
 
Vb lecture notes
Vb lecture notesVb lecture notes
Vb lecture notes
alldesign
 
Color model
Color modelColor model
Color model
alldesign
 
Computer graphics circle
Computer graphics   circleComputer graphics   circle
Computer graphics circle
alldesign
 
Getstart graphic
Getstart graphicGetstart graphic
Getstart graphic
alldesign
 
Image types,raster and vector graphics
Image types,raster and vector graphicsImage types,raster and vector graphics
Image types,raster and vector graphics
alldesign
 
Image types,raster and vector graphics
Image types,raster and vector graphicsImage types,raster and vector graphics
Image types,raster and vector graphics
alldesign
 
Graphics display devices
Graphics display devicesGraphics display devices
Graphics display devices
alldesign
 
Circles graphic
Circles graphicCircles graphic
Circles graphic
alldesign
 
Cg applications
Cg applicationsCg applications
Cg applications
alldesign
 
Types of cards
Types of cardsTypes of cards
Types of cards
alldesign
 
External types of hardware
External types of hardwareExternal types of hardware
External types of hardware
alldesign
 
Devices of computer
Devices of computerDevices of computer
Devices of computer
alldesign
 
Internal computer hardware
Internal computer hardwareInternal computer hardware
Internal computer hardware
alldesign
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
alldesign
 
Types of slots
Types of slotsTypes of slots
Types of slots
alldesign
 
Application of computer graphic
Application of computer graphicApplication of computer graphic
Application of computer graphic
alldesign
 
What is computer graphics
What is computer graphicsWhat is computer graphics
What is computer graphics
alldesign
 
Types of rom
Types of romTypes of rom
Types of rom
alldesign
 
Types of ram
Types of ramTypes of ram
Types of ram
alldesign
 

More from alldesign (20)

Vb lecture
Vb lectureVb lecture
Vb lecture
 
Vb lecture notes
Vb lecture notesVb lecture notes
Vb lecture notes
 
Color model
Color modelColor model
Color model
 
Computer graphics circle
Computer graphics   circleComputer graphics   circle
Computer graphics circle
 
Getstart graphic
Getstart graphicGetstart graphic
Getstart graphic
 
Image types,raster and vector graphics
Image types,raster and vector graphicsImage types,raster and vector graphics
Image types,raster and vector graphics
 
Image types,raster and vector graphics
Image types,raster and vector graphicsImage types,raster and vector graphics
Image types,raster and vector graphics
 
Graphics display devices
Graphics display devicesGraphics display devices
Graphics display devices
 
Circles graphic
Circles graphicCircles graphic
Circles graphic
 
Cg applications
Cg applicationsCg applications
Cg applications
 
Types of cards
Types of cardsTypes of cards
Types of cards
 
External types of hardware
External types of hardwareExternal types of hardware
External types of hardware
 
Devices of computer
Devices of computerDevices of computer
Devices of computer
 
Internal computer hardware
Internal computer hardwareInternal computer hardware
Internal computer hardware
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
Types of slots
Types of slotsTypes of slots
Types of slots
 
Application of computer graphic
Application of computer graphicApplication of computer graphic
Application of computer graphic
 
What is computer graphics
What is computer graphicsWhat is computer graphics
What is computer graphics
 
Types of rom
Types of romTypes of rom
Types of rom
 
Types of ram
Types of ramTypes of ram
Types of ram
 

Recently uploaded

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

Graphics c