Created
March 20, 2013 18:36
-
-
Save Rallaz/5207255 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* BitThickness | |
* For R13-R14, this is a BD. We are asserting that the version | |
* is not R13-R14; this value should be read by the user | |
* For R2000+, this is a single bit, If the bit is one, | |
* the thickness value is assumed to be 0.0, if not a BD follow | |
*/ | |
void dwgBuffer::getThickness(bool b_R2000_style) { | |
if ( b_R2000_style ) | |
/* If the bit is one, the thickness value is assumed to be 0.0.*/ | |
if ( getBit() == 1 ) | |
return 0.0; | |
/*R13-R14 or bit == 0*/ | |
return getBitDouble(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment