37 int black, white, blue;
65 if ( !(
cdText( im, 20, 100,
"Hello World" ) ) )
83 if ( !(
cdText( im, 20, 100,
"Goodbye World" ) ) )
88 outf = fopen(
"cdmulti.cgm",
"wb" );
99 printf(
"I just created a multi picture CGM!!!\n" );
int cdImageCgm(cdImagePtr im, FILE *out)
int cdCgmNewPic(cdImagePtr im, int sticky)
int cdSetTextAttrib(cdImagePtr im, int font, int color, int height)
int cdImageColorAllocate(cdImagePtr im, int r, int g, int b)
int cdText(cdImagePtr im, int x, int y, const char *ts)
int cdImageDestroy(cdImagePtr im)
cdImagePtr cdImageCreate(int sx, int sy)