Drawing a curve with varying thickness. How?
Hi,
I need to draw a curve with the thickness changing as function of some
variable. How can I do this in C#, using GDI or DirectX?
Any help would be very much appreciated. Thanks.
# 1 Re: Drawing a curve with varying thickness. How?
The SetWidth() function of ID3DXLine interface will let you control the thickness.
ID3DXLine::SetWidth Method
Specifies the thickness of the line.
Syntax
HRESULT SetWidth(
FLOAT fWidth);
Parameters
fWidth [in] Describes the line width.
masd at 2007-11-10 3:49:13 >
