Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
137 views
11 pages
Borland Graphics Interface
Using C++ to draw graphical elements and build graphical application
Uploaded by
Profvip Abotaleb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Borland Graphics Interface For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
137 views
11 pages
Borland Graphics Interface
Using C++ to draw graphical elements and build graphical application
Uploaded by
Profvip Abotaleb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Borland Graphics Interface For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Borland Graphics Interface For Later
You are on page 1
/ 11
Search
Fullscreen
Seis Ap Saeg ind Laleg [Sth Gly Leols figeg ads WS 1i6);1 Sill Ger Bore oe Gourse Si aVideo Modes = Logishl Video Adapter ) E3LU) aU foe (Vides Mode) eld eu ob 326 25h] BLS (52) pb py (Sr) ph eleeabar tgp bi,Cas Bolg casS Screzn J] dG] Bee Screen esolusan ePitels A\pe0 tga coh sae a SGroehs Med@ 4} Gis fus Teve Mote NG aelbs es Nn Cgehcflgl Vy deo Adapter | Moke Pest Colors] Macies Monochtene Orselag | Préapter (MDA) ‘ Sa | EE 1 CCAS 4 fl | eeadr Glor Grghics Adapter 3 320#200 cea leew 4 640420) DZ | CeAHT q G K( oO 640 *200| Ié Eon eee 4 | Growdag [6 FoR | EA mao 0 |é4oxKo! 2 jzariovon | | | Byom2e0} 16 VGRLO g | Video Crop hics | Q ledow tel tc VeAmen a | Aray Blopter CVGA) | 2 [e4on480 | GAH | 11a . | 5 | gp Torotes cag) 1 ,© VGA ard] Video Gophici Ana adapter; So alle as TS the Aryk Video adapter implemented as ASIC rather Yogic bkocks. a Z Application Specific Lndograded Cirmtth Bus interfacing, Comector ts called 15 -Pin Be Subvniniature UGA conned, [DA-/5] ‘ ED Scooeny O Bp o-s Main Grarnctorisst- [ome o| ye 28618 Video Ran. z 2 |6-Glor & 256-Color Modes, a Clock freq up te 28.3 Ai, a 2 Split Screen adUantoge. : CRT 1 F929 COMI gs eo Lm L el i Rate - Jo Clothe 22 I { ‘Sone Polarity - : 1 (Began elt) PAS Tek mode —-_ BOTS or 40425 Ft cel, i a i » Character 1 gal6 pikels. Charactor ba Bundingrh fot s = awe could define cur ~ 6Jo mg 2 eS Se A Aba bas € basil oy Gy ates HK Upper Goff R 4: Tote mmole > aa 2 Corner} - a 10 {Tam ARO, ee GSC] poscton (TROL He ayo | L , In Cenanl- Bo aeHo Columns 15,43 sr 50 Lines Seach cal) consists of a chayoctor & an attibute, ~» Charvocter 1S the d8played ASC character. > Diibte specifies Déler-lntensty — -—] (2. - Grophics. mode pixel,(2.2) | Geren 11 Wided ties piel: 2B gy 2 P pirat is asingle laenangg do: CRA leery Foal Giars le Ginos & Shapes. ; ervel 2,- All enclosed areas orth pattern, (639, 449) a Contr) colbr,-— of each pitalUy tele mde 3 we could etealde o pat of screan & ‘prowes with it Le SS 9 By Ouse (QF Ota aug 9/ 42, i ca Cihie au Crd ma 9 pL 5h | ee ET A (Me pple. Mbp) : Default Window fall Screcn tel Wind, Ze ay When inVsiing [inde] findro» : Bor determihe a spectfre ebay} LOL. C7 Area thd reypof the Sheen wil hot be touched ba any Dar tekt mode Cunchon directo] te $s Whdow, fevport Gephits mode SP Mgt be ACH of on Uitual Screenjy Hest ofthe Scredn Loutside FA2 Uleuper fl remains antouched, (Setiews ort ) Li} Plone es ene ee Uigupert ~ (uindow Jey
WBE Cie sened dicsteAe) (Far porter) fr . j . ( Gurent Code sezmnort {ll oe S65 51 jus pap we ied ale ony model JS Igoe LJ/BRA RS EB BS SS SRS SR eR RES a2 (Drawing g filling Functions} = You ‘an dvaw colored Ones, arc, Cire, ellipses , rectangles, pie shies, tose & three Jimensonal bars, Polsgens & regular on iyreqwlar Shopes, ~ Also Fill anvy looun ded Shape wrth one of 4A predefred patterns dr Apur OWN user defined shorn - 3 aus “cntnl the thickress & Style of Hh drowih Ono, Q& tha Qecation f& cP Chae Current posTtion. bar C ‘ale bard drowpoly Gilellipse ehhipse_ Fill pol jj ine | anesthe 4, dinowl KL , Uinovex feels Vine to : tall Meee| 3k Nes) Syl 8 jad LVi, thick or tj Settling style i ing Sry < Solid , dotted Selece a pie khned fill posters satfillstyle # define Your own fill patom > Set ll patern Mote the @ do a Geafied Qoertion using _move-te ~ 7 Ganent postion Aomre the O uth o Specified displ coment ustth Proverel getLnesetings + canent Qing Style & Hhictrey I cot fbr informacion about He. Bet cele ne rh lade gerbil pattems Gee the user delred illertor t ! I t t | I \ I | | | | | | | | | | | S“BBB BRB BB REE RRBEBRBR ERR RSE Pspect_tect retio Circles) Guy BT SEW piv case Selling Factor ye ete Seting Factor CW Lh gibT Let wih Al bgsely) a2] (3 Lalice m/.o opus ialpie9 DA Bsd oth beg factor pepevh He éllipse pibso / ' Scaling Qetaspeckinto(J, lade fect Sao ell ey Bp) eee Geto pectrotio(]. 3 Blab ese EPs cLaglte fel ped) getore @ords(). N-™ J; eeBGI First Lab [Abotaleb ].txt Question One: Draw two magenta lines and a red circle using CGA mode the background should be white. Question Two: In textmode specify two windows window one coordinates:(20,5,60,10) window two coordinates:(20,15,60,20) also frane both windows and the screen located in the region (1,1,80,25) Question Three: Build a textmode application which in the first window ask you to choose from three choices Either entering your name or your phone number or exiting. In the second window it should input your name and phone. Question Four: Draw a horizontal cylinder-inclined cylinder open cone and closed cone -toroid-half toroid Needed Functions Prototypes: int far getmaxx(void); int far getmaxy(void); void clrser(void);//conio.h void window(int left,int top,int right,int bottom);//conio.h Page 1BGI First Lab [Abotaleb ].txt int getche(void);//conio.h int putch(void);//conio.h highvideo(void);//conio.h lowvideo(void);//conio.h normvideo(void);//conio.h void textattr(int newattr)://conio.h void textcolor(int newcolor);//conio.h void textbackground(int newcolor);//conio.h setcolor setbkcolor circle line initgraph Be Page. 2
You might also like
CG Handwritten Notes For Btech Students (Computer Science)
PDF
No ratings yet
CG Handwritten Notes For Btech Students (Computer Science)
169 pages
Unit - I Introduction To Computer Graphics and Scan Conversion Algorithm
PDF
No ratings yet
Unit - I Introduction To Computer Graphics and Scan Conversion Algorithm
152 pages
CG Handwritten Notes For Btech Studentscomputer Science
PDF
No ratings yet
CG Handwritten Notes For Btech Studentscomputer Science
169 pages
CG Decode
PDF
100% (1)
CG Decode
93 pages
Buku Komp Grafik Opengl
PDF
100% (1)
Buku Komp Grafik Opengl
85 pages
RS/6000 Graphics Handbook: Laurent Vanel, Mike Carline, Shigeo Murohashi
PDF
No ratings yet
RS/6000 Graphics Handbook: Laurent Vanel, Mike Carline, Shigeo Murohashi
300 pages
Computer-Graphics NOTES PDF
PDF
No ratings yet
Computer-Graphics NOTES PDF
138 pages
CG Decode
PDF
100% (1)
CG Decode
93 pages
Computer Graphics & Multimedia: BTCS-503 Nikhil Chaturvedi
PDF
No ratings yet
Computer Graphics & Multimedia: BTCS-503 Nikhil Chaturvedi
36 pages
DSM-00058-01 AMIGOS Graphics Operating System Reference Manual 199004
PDF
No ratings yet
DSM-00058-01 AMIGOS Graphics Operating System Reference Manual 199004
205 pages
HTI - Computer Graphics Course - Lec
PDF
No ratings yet
HTI - Computer Graphics Course - Lec
30 pages
Image To PDF 20231029 18.57.23
PDF
No ratings yet
Image To PDF 20231029 18.57.23
57 pages
5th Sem Solved Assignment For Graphics and Multimedia Kuvempu University
PDF
No ratings yet
5th Sem Solved Assignment For Graphics and Multimedia Kuvempu University
10 pages
Computer Graphics Theory
PDF
No ratings yet
Computer Graphics Theory
36 pages
Getting Started With OpenGL Peter Grogono
PDF
No ratings yet
Getting Started With OpenGL Peter Grogono
77 pages
CGR Not
PDF
No ratings yet
CGR Not
19 pages
Drawing in C++
PDF
No ratings yet
Drawing in C++
39 pages
Computer Graphics: Dr. Jehad Q. O. Alnihoud Email: Phone: 3354
PDF
No ratings yet
Computer Graphics: Dr. Jehad Q. O. Alnihoud Email: Phone: 3354
25 pages
GR 08 ICT TM (2022)
PDF
No ratings yet
GR 08 ICT TM (2022)
2 pages
Vectrix VX Series Users Manual Jul83
PDF
No ratings yet
Vectrix VX Series Users Manual Jul83
48 pages
CG Mod 1
PDF
No ratings yet
CG Mod 1
65 pages
Cad Lab Maniual
PDF
No ratings yet
Cad Lab Maniual
65 pages
Unit 1 Notes
PDF
No ratings yet
Unit 1 Notes
14 pages
Digital Electronics
PDF
No ratings yet
Digital Electronics
7 pages
Unit1 CG
PDF
No ratings yet
Unit1 CG
13 pages
Marantz DP 870 Service Manual
PDF
No ratings yet
Marantz DP 870 Service Manual
32 pages
DocScanner 23-Apr-2024 5-19 PM
PDF
No ratings yet
DocScanner 23-Apr-2024 5-19 PM
14 pages
Screen Processing: Julius Bancud
PDF
No ratings yet
Screen Processing: Julius Bancud
27 pages
Unit 1 Basics of Computer Graphics
PDF
No ratings yet
Unit 1 Basics of Computer Graphics
15 pages
CGG Technical Publication
PDF
No ratings yet
CGG Technical Publication
66 pages
FIT Assignment
PDF
No ratings yet
FIT Assignment
12 pages
CG U1and2 Decode
PDF
No ratings yet
CG U1and2 Decode
38 pages
2M050: Computer Graphics: Jack Van Wijk Vanwijk@win - Tue.nl HG6.71 Modified by R. Cook 2011
PDF
No ratings yet
2M050: Computer Graphics: Jack Van Wijk Vanwijk@win - Tue.nl HG6.71 Modified by R. Cook 2011
43 pages
1890362420CG Lab Record-1
PDF
No ratings yet
1890362420CG Lab Record-1
69 pages
CH05
PDF
No ratings yet
CH05
28 pages
Visual Unit 1
PDF
No ratings yet
Visual Unit 1
11 pages
Module-1 (CGV) - Tiepdf
PDF
No ratings yet
Module-1 (CGV) - Tiepdf
26 pages
Borland Style Graphics: For Dev C++)
PDF
No ratings yet
Borland Style Graphics: For Dev C++)
38 pages
Sol Mod 1
PDF
No ratings yet
Sol Mod 1
59 pages
MPS Lab 8
PDF
No ratings yet
MPS Lab 8
16 pages
CG Assig 1
PDF
No ratings yet
CG Assig 1
9 pages
CGMT
PDF
No ratings yet
CGMT
26 pages
Mathematical Elements of Computer Graphics: Assignment On Unit 1
PDF
No ratings yet
Mathematical Elements of Computer Graphics: Assignment On Unit 1
22 pages
Vga Bios DOS
PDF
No ratings yet
Vga Bios DOS
12 pages
CGV Model Question Paper
PDF
No ratings yet
CGV Model Question Paper
48 pages
Anonftp Pub CBM Vic20 Manuals Super-Expander Super-Expander
PDF
No ratings yet
Anonftp Pub CBM Vic20 Manuals Super-Expander Super-Expander
9 pages
CG Assignment Ravindra Yadav 32
PDF
No ratings yet
CG Assignment Ravindra Yadav 32
17 pages
Computer Graphics 1stmodule
PDF
No ratings yet
Computer Graphics 1stmodule
34 pages
Computer Graphics: Comp Sci 3GC3 Winter 2010
PDF
No ratings yet
Computer Graphics: Comp Sci 3GC3 Winter 2010
68 pages
Unit 1
PDF
No ratings yet
Unit 1
21 pages
AMP Assignment 3
PDF
No ratings yet
AMP Assignment 3
23 pages
CG Cse 4th File
PDF
No ratings yet
CG Cse 4th File
23 pages
Graphics & Multimedia
PDF
No ratings yet
Graphics & Multimedia
42 pages
Group C Assignment 7 Man Walking in Rain
PDF
No ratings yet
Group C Assignment 7 Man Walking in Rain
3 pages
SweetFX Settings Batman Arkham City OmniFX Preset (Vibrant)
PDF
No ratings yet
SweetFX Settings Batman Arkham City OmniFX Preset (Vibrant)
8 pages
INITGRAPH : This Function Is Used To Initialize: Graphics
PDF
No ratings yet
INITGRAPH : This Function Is Used To Initialize: Graphics
10 pages
Delhi Technological University: Computer Graphics Assignment 1
PDF
No ratings yet
Delhi Technological University: Computer Graphics Assignment 1
8 pages