Login  Register

Re: RS_GraphicView::setPenForEntity

Posted by dxli on Nov 14, 2015; 9:21pm
URL: https://forum.librecad.org/RS-GraphicView-setPenForEntity-tp5712586p5712587.html

it's the way of saying "true" for the preprocessor.

"#if TRUE" may read better, but the "TRUE" is usually defined as 1 by macro.

ravas wrote
What is the point of "#if 1"
and the #else block?