How to draw 3D characters using Magik++?
Posted: 2007-02-02T08:28:01-07:00
I am trying to draw some 3D characters. I have tried a number of methods as described in Magik++ manual, but none of them work for me. The following is my testing code. Can someone help me? Thanks a lot.
Color border = "#D4DCF3";
Image image( "300x100", "transparent" ); //transparent white
image.penColor( Color("blue") );
image.font("Arial"); //Arial Courier-New
image.fontPointsize(37);
image.raise("25x25+0+0",false);
// image.shade(50,30,true);
// image.emboss(5,2);
image.annotate( "ImageMagick", CenterGravity);
image.write( "junk.gif" );
Color border = "#D4DCF3";
Image image( "300x100", "transparent" ); //transparent white
image.penColor( Color("blue") );
image.font("Arial"); //Arial Courier-New
image.fontPointsize(37);
image.raise("25x25+0+0",false);
// image.shade(50,30,true);
// image.emboss(5,2);
image.annotate( "ImageMagick", CenterGravity);
image.write( "junk.gif" );