home *** CD-ROM | disk | FTP | other *** search
- /*
- *
- * Borland gives one the right to
- * ship copies of the .chr and .bgi
- * files with a graphics program.
- *
- * So here it is ...
- *
- */
-
- #include <graphics.h>
-
- void main(void)
- {
- int gd, gm, i;
-
- gd = DETECT;
- initgraph(&gd, &gm, "");
- moveto(5, 5);
- for (i=DEFAULT_FONT; i <= BOLD_FONT; ++i) {
- settextstyle( i, HORIZ_DIR, (i==2 ? 6 : 2));
- outtext( "Hello world !");
- moveto(5, gety()+textheight( "H")+5);
- }
- getch();
- closegraph();
- }
-
-