28
28
throw e; \
29
29
}
30
30
31
- // ! Calculate arbitary axis
31
+ // ! Calculate arbitrary axis
32
32
/* !
33
- * Calculate arbitary axis for apply extrusions
33
+ * Calculate arbitrary axis for apply extrusions
34
34
* @author Rallaz
35
35
*/
36
36
void DRW_Entity::calculateAxis ( DRW_Coord extPoint )
@@ -65,9 +65,9 @@ void DRW_Entity::calculateAxis( DRW_Coord extPoint )
65
65
extAxisY.unitize ();
66
66
}
67
67
68
- // ! Extrude a point using arbitary axis
68
+ // ! Extrude a point using arbitrary axis
69
69
/* !
70
- * apply extrusion in a point using arbitary axis (previous calculated)
70
+ * apply extrusion in a point using arbitrary axis (previously calculated)
71
71
* @author Rallaz
72
72
*/
73
73
void DRW_Entity::extrudePoint ( DRW_Coord extPoint, DRW_Coord *point )
@@ -881,11 +881,11 @@ void DRW_Ellipse::applyExtrusion()
881
881
{
882
882
calculateAxis ( extPoint );
883
883
extrudePoint ( extPoint, &secPoint );
884
- double intialparam = staparam;
884
+ double initialparam = staparam;
885
885
if ( extPoint.z < 0 . )
886
886
{
887
887
staparam = M_PIx2 - endparam;
888
- endparam = M_PIx2 - intialparam ;
888
+ endparam = M_PIx2 - initialparam ;
889
889
}
890
890
}
891
891
}
@@ -1139,7 +1139,7 @@ bool DRW_3Dface::parseDwg( DRW::Version v, dwgBuffer *buf, duint32 bs )
1139
1139
invisibleflag = has_no_flag ? ( int )NoEdge : buf->getBitShort ();
1140
1140
}
1141
1141
drw_assert ( invisibleflag >= NoEdge );
1142
- drw_assert ( invisibleflag <= AllEdges );
1142
+ drw_assert ( invisibleflag <= AllEdges ); // #spellok
1143
1143
1144
1144
QgsDebugMsg ( QString ( " base:%1 sec:%2 third:%3 fourth:%4 invisibleFlag:%5" )
1145
1145
.arg ( QString ( " %1,%2,%3" ).arg ( basePoint.x ).arg ( basePoint.y ).arg ( basePoint.z ) )
@@ -1633,7 +1633,7 @@ bool DRW_Text::parseDwg( DRW::Version version, dwgBuffer *buf, duint32 bs )
1633
1633
duint8 data_flags = 0x00 ;
1634
1634
if ( version > DRW::AC1014 ) // 2000+
1635
1635
{
1636
- data_flags = buf->getRawChar8 (); /* DataFlags RC Used to determine presence of subsquent data */
1636
+ data_flags = buf->getRawChar8 (); /* DataFlags RC Used to determine presence of subsequent data */
1637
1637
1638
1638
QgsDebugMsg ( QString ( " data_flags:%1" ).arg ( data_flags, 0 , 16 ) );
1639
1639
@@ -1681,11 +1681,11 @@ bool DRW_Text::parseDwg( DRW::Version version, dwgBuffer *buf, duint32 bs )
1681
1681
1682
1682
if ( version > DRW::AC1014 ) // 2000+
1683
1683
{
1684
- if ( !( data_flags & 0x04 ) ) /* Oblique ang RD 51 present if !(DataFlags & 0x04) */
1684
+ if ( !( data_flags & 0x04 ) ) /* Oblique angle RD 51 present if !(DataFlags & 0x04) */
1685
1685
{
1686
1686
oblique = buf->getRawDouble ();
1687
1687
}
1688
- if ( !( data_flags & 0x08 ) ) /* Rotation ang RD 50 present if !(DataFlags & 0x08) */
1688
+ if ( !( data_flags & 0x08 ) ) /* Rotation angle RD 50 present if !(DataFlags & 0x08) */
1689
1689
{
1690
1690
angle = buf->getRawDouble ();
1691
1691
}
@@ -1697,21 +1697,21 @@ bool DRW_Text::parseDwg( DRW::Version version, dwgBuffer *buf, duint32 bs )
1697
1697
}
1698
1698
else // 14-
1699
1699
{
1700
- oblique = buf->getBitDouble (); /* Oblique ang BD 51 */
1701
- angle = buf->getBitDouble (); /* Rotation ang BD 50 */
1700
+ oblique = buf->getBitDouble (); /* Oblique angle BD 51 */
1701
+ anglele = buf->getBitDouble (); /* Rotation angle BD 50 */
1702
1702
height = buf->getBitDouble (); /* Height BD 40 */
1703
1703
widthscale = buf->getBitDouble (); /* Width factor BD 41 */
1704
1704
}
1705
1705
1706
- QgsDebugMsg ( QString ( " thickness:%1, Oblique ang :%2, Width:%3, rotation:%4, height:%5" )
1706
+ QgsDebugMsg ( QString ( " thickness:%1, Oblique angle :%2, Width:%3, rotation:%4, height:%5" )
1707
1707
.arg ( thickness ).arg ( oblique ).arg ( widthscale ).arg ( angle ).arg ( height )
1708
1708
);
1709
1709
1710
1710
text = sBuf ->getVariableText ( version, false ); /* Text value TV 1 */
1711
1711
1712
1712
QgsDebugMsg ( QString ( " text string:%1" ).arg ( text.c_str () ) );
1713
1713
1714
- // textgen, alignH, alignV always present in R14-, data_flags set in initialisation
1714
+ // textgen, alignH, alignV always present in R14-, data_flags set in initialization
1715
1715
if ( !( data_flags & 0x20 ) ) /* Generation BS 71 present if !(DataFlags & 0x20) */
1716
1716
{
1717
1717
textgen = buf->getBitShort ();
@@ -1807,7 +1807,7 @@ bool DRW_MText::parseDwg( DRW::Version version, dwgBuffer *buf, duint32 bs )
1807
1807
DRW_UNUSED ( ext_ht );
1808
1808
/* Extents wid BD Undocumented and not present in DXF or entget The extents
1809
1809
rectangle, when rotated the same as the text, fits the actual text image on
1810
- the screen (altough we've seen it include an extra row of text in height). */
1810
+ the screen (although we've seen it include an extra row of text in height). */
1811
1811
double ext_wid = buf->getBitDouble ();
1812
1812
DRW_UNUSED ( ext_wid );
1813
1813
/* Text TV 1 All text in one long string (without '\n's 3 for line wrapping).
0 commit comments