You will need to set the properties of the DXDraw.Surface.Pen and .Brush first. Also you should call DXDraw.Surface.Release after you have finished using the canvas. Generally, it is best to use something like this:Originally Posted by theWaver
[pascal]with DXDraw.Surface.Canvas do try
Pen.Color := clRed;
// more stuff
finally
Release;
end;[/pascal]
Bookmarks