Trivial example:
Code: Select all
DrawingWand *dw = NULL;
PixelWand *pw = NULL;
dw = NewDrawingWand();
pw = NewPixelWand();
ClearPixelWand( pw );
PixelSetColor( pw, "#0000ff" );
ClearDrawingWand( dw );
DrawSetStrokeColor( dw, pw );
DrawSetStrokeWidth( dw, 1 );
DrawSetStrokeOpacity( dw, 1 );
DrawSetFillOpacity( dw, 1 );
DrawPoint( dw, x, y );
DrawPoint( dw, x+1, y );
DrawPoint( dw, x+2, y );
DrawLine( dw, x, y+10, x+2, y+10 );
MagickDrawImage( ffc_debug_image, dw );
Why isn't DrawPoint making blue pixels? Thanks.
ImageMagick 6.8.3-7
Cygwin environment on Windows 7.