Go to the documentation of this file.
41 int black, white, blue;
96 if ( !(
cdText( im, 100, 100,
"Hello World" ) ) )
102 outf = fopen(
"cdsimple.cgm",
"wb" );
113 printf(
"I just created a simple CGM!!!\n" );
int cdSetTextAttrib(cdImagePtr im, int font, int color, int height)
cdImagePtr cdImageCreate(int sx, int sy)
int cdSetShapeFillAttrib(cdImagePtr im, int instyle, int incolor, int inhatch)
int cdImageCgm(cdImagePtr im, FILE *out)
int cdRectangle(cdImagePtr im, int x1, int y1, int x2, int y2)
int cdImageColorAllocate(cdImagePtr im, int r, int g, int b)
int cdSetEdgeVis(cdImagePtr im, int edvis)
int cdText(cdImagePtr im, int x, int y, const char *ts)
int cdImageDestroy(cdImagePtr im)