| lcPaint_PenCreate | Home |
|
HANDLE lcPaint_PenCreate ( HANDLE hLcWnd, int Id, COLORREF Color, double Width, int PenStyle ); |
| hLcWnd | |||||||||||||
| Handle to LiteCAD graphics window. | |||||||||||||
| Id | |||||||||||||
| Pen Identifier. | |||||||||||||
| Color | |||||||||||||
| Line color (COLORREF type). | |||||||||||||
| Width | |||||||||||||
| Line width (drawing's units). | |||||||||||||
| PenStyle | |||||||||||||
|
Pen style. Used only for zero line width. If the line width is not zero then
line is always solid. Can be one of the following values:
| |||||||||||||
|
Handle to the created pen. If the function fails, the return value is NULL. |
Visible line width depends on window property LC_PROP_WND_LWMODE :
|
| lcPaint_PenSelect, lcPaint_PenSelectID |