Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I want draw a polyline with the width of 3 pixels. But the following codes didn't work. Can any body tell me how to do it?

IGRAPHICS_SetPointSize( pApp->m_pGraphics, 3);
IGRAPHICS_SetStrokeStyle(pApp->m_pGraphics,
STROKE_SOLID);
IGRAPHICS_DrawPolyline( pApp->m_pGraphics, &rPolyline );

HLU, did you ever figure out how to do this? I'm having a similar problem with DrawPolyline. There doesn't appear to be a way to set the line width drawn with this method.

HLU, did you ever figure out how to do this? I'm having a similar problem with DrawPolyline. There doesn't appear to be a way to set the line width drawn with this method.

IGRAPHICS_SetPointSize() only applies to individual points drawn to the screen, it doesn't affect lines.

IGRAPHICS_SetPointSize() only applies to individual points drawn to the screen, it doesn't affect lines.

So...There's no way to set the line width for DrawPolyline?

So...There's no way to set the line width for DrawPolyline?

Correct.

Correct.