Is there an algorithm available to draw lines of variable thickness using GapiDraw. I see that GapiDraw supports only the DrawLine() function and this only draws lines of single thickness. I am looking for something similiar to the GDI functionality that creates a pen of a certain thickness then draws a line using the pen.
This is an easy thing to do when I want to draw a line of zero or no slope (i just draw parallel lines using DrawLine() of course), however when i need to draw thicker lines of variable slope, it becomes quite complex. I assume this has been done before though.
Thank you for any advice!
George