Dec 072017
 
Graphics tool box for Turbo C.
File CGRAPHIX.ZIP from The Programmer’s Corner in
Category C Source Code
Graphics tool box for Turbo C.
File Name File Size Zip Size Zip Type
4X6.FON 285 270 deflated
AXIS.C 5871 1724 deflated
BASEADDR.ASM 690 385 deflated
BASEADDR.C 263 214 deflated
BEZIER.C 1694 772 deflated
CATXT.C 1211 543 deflated
CAXIS.C 498 317 deflated
CBEZIER.C 1348 660 deflated
CCIR.C 791 416 deflated
CDISP.C 391 261 deflated
CFLOWD.C 3295 1036 deflated
CFNDWRLD.C 1076 568 deflated
CGRAPHIX.DOC 1232 640 deflated
CHATCH.C 794 399 deflated
CHC.C 477 312 deflated
CHIST.C 772 468 deflated
CINTERP.C 1366 665 deflated
CIRCSEGM.C 4137 1469 deflated
CLEARSC.C 230 194 deflated
CLINS.C 645 355 deflated
CLINST.C 664 364 deflated
CMOVPOLY.C 2691 787 deflated
CMOVWIND.C 1478 620 deflated
COPYSCRE.C 360 253 deflated
CPIE.C 1145 574 deflated
CPIEHIST.C 2073 838 deflated
CPNTS.C 361 263 deflated
CPOLY.C 869 515 deflated
CPOLYAX.C 905 531 deflated
CSLTEST.C 571 345 deflated
CSQRS.C 494 324 deflated
CSTXT.C 814 421 deflated
DBLINT.C 369 254 deflated
DISPLAYC.C 772 434 deflated
DP.ASM 1498 705 deflated
DP.C 643 395 deflated
DRAWSTRA.C 917 481 deflated
ERROR.MSG 569 297 deflated
FILBLOCK.ASM 966 473 deflated
FINDWRLD.C 1163 552 deflated
GRAPHIX.C 4040 1447 deflated
HATCH.C 1768 665 deflated
HISTOGRM.C 2976 1046 deflated
IABS.C 165 147 deflated
INKEY.C 243 193 deflated
INVERTSC.ASM 503 277 deflated
INVERTSC.C 344 259 deflated
KASPECT.C 353 242 deflated
KCLIPPIN.C 2330 723 deflated
KCLREOL.C 749 428 deflated
KCOLOR.C 290 205 deflated
KDRAWBOR.C 777 401 deflated
KDRAWCIR.C 1132 520 deflated
KDRAWLN.C 1609 645 deflated
KDRAWPT.C 640 350 deflated
KDRAWSQR.C 1886 598 deflated
KDRAWSYM.C 1601 471 deflated
KDRAWTXT.C 2995 1099 deflated
KERROR.C 1770 765 deflated
KGOTOXY.C 413 293 deflated
KHARDCPY.C 2207 963 deflated
KHEADER.C 2101 735 deflated
KINIT.C 2944 1103 deflated

Download File CGRAPHIX.ZIP Here

Contents of the CGRAPHIX.DOC file



These programs are the functional equivalent of Borland's Turbo
Graphix programs for the IBM CGA (B&W hi-res graphics) but written for
the CI-C86 C compiler. The translation was performed as I absolutely
had to use large model structures for a specific application.

Documentation has not been included. The Turbo Graphix program is
relatively inexpensive and I would suggest strongly that if you wish
to use these programs that you purchase a copy of the program for the
documentation. However be careful - Pascal is a strongly typed
language and performs type conversions when calling functions. C does
not perform such conversions and you will get garbage if you do not
pass parameters correctly.

I have used the Turbo Graphix package for a couple of projects. It is
sufficient some of the time for the 'quick look' type of work. This
version operates only in the 2-colour high resolution mode on the IBM
CGA or EGA or functional equivalents. The Turbo Graphix package
itself also supports the Hercules card, and there have been some
extensions for the very high-resolution mode of the EGA.

Somewhere along the line I will perform a more extensive rewriting of
this mode to allow colour, etc.



 December 7, 2017  Add comments

Leave a Reply