Thanks, but I don't think the solution quite fits.
To explain further, multiple shapes (without a border colour) are drawn on to the canvas (similar to the blue area in the attached example)
What I want to be able to do is draw a 1-pixel black border over the outer-most blue pixels from the resulting shape.
Main Topics
Browse All Topics





by: rfwoolfPosted on 2009-07-31 at 06:16:29ID: 24988461
If you're simply drawing ON the Canvas, then this should be no problem. You can use pens, and by referring to the pixels you can draw lines as you like - you could have 4 proceduresL
DrawTop
DrawLeft
DrawRight
DrawBottom
Then you would call each shape, e.g.
DrawTop(Shape1)
DrawLeft(Shape1)
DrawBottom(Shape1)
On the other hand, if you want to draw OUTSIDE the Canvas of the shape, then you are drawing on the TForm's Canvas, that can be a little complicated.