@@ -3551,11 +3551,11 @@ void QgsDxfExport::writeFilledCircle( const QString &layer, const QColor& color,
3551
3551
3552
3552
void QgsDxfExport::writeFilledCircle ( const QString &layer, const QColor& color, const QgsPointV2 &pt, double radius )
3553
3553
{
3554
- writeGroup ( 0 , " HATCH" ); // Entity type
3554
+ writeGroup ( 0 , " HATCH" ); // Entity type
3555
3555
writeHandle ();
3556
3556
writeGroup ( 330 , mBlockHandle );
3557
3557
writeGroup ( 100 , " AcDbEntity" );
3558
- writeGroup ( 8 , layer ); // Layer name
3558
+ writeGroup ( 8 , layer ); // Layer name
3559
3559
writeGroup ( color ); // Color (0 by block, 256 by layer)
3560
3560
writeGroup ( 100 , " AcDbHatch" );
3561
3561
@@ -3566,26 +3566,23 @@ void QgsDxfExport::writeFilledCircle( const QString &layer, const QColor& color,
3566
3566
writeGroup ( 70 , 1 ); // Solid fill flag (solid fill = 1; pattern fill = 0)
3567
3567
writeGroup ( 71 , 0 ); // Associativity flag (associative = 1; non-associative = 0)
3568
3568
3569
-
3570
3569
writeGroup ( 91 , 1 ); // Number of boundary paths (loops)
3571
3570
3572
- writeGroup ( 92 , 7 ); // Boundary path type flag (bit coded): 0 = Default; 1 = External; 2 = Polyline 4 = Derived; 8 = Textbox; 16 = Outermost
3573
- writeGroup ( 72 , 2 );
3571
+ writeGroup ( 92 , 3 ); // Boundary path type flag (bit coded): 0 = Default; 1 = External; 2 = Polyline 4 = Derived; 8 = Textbox; 16 = Outermost
3572
+ writeGroup ( 72 , 1 );
3574
3573
writeGroup ( 73 , 1 ); // Is closed flag
3575
3574
writeGroup ( 93 , 2 ); // Number of polyline vertices
3576
3575
3577
- writeGroup ( 0 , QgsPointV2 ( QgsWKBTypes::PointZ , pt.x () - radius, pt.y () ) );
3576
+ writeGroup ( 0 , QgsPointV2 ( QgsWKBTypes::Point , pt.x () - radius, pt.y () ) );
3578
3577
writeGroup ( 42 , 1.0 );
3579
3578
3580
- writeGroup ( 0 , QgsPointV2 ( QgsWKBTypes::PointZ , pt.x () + radius, pt.y () ) );
3579
+ writeGroup ( 0 , QgsPointV2 ( QgsWKBTypes::Point , pt.x () + radius, pt.y () ) );
3581
3580
writeGroup ( 42 , 1.0 );
3582
3581
3583
3582
writeGroup ( 97 , 0 ); // Number of source boundary objects
3584
3583
3585
- writeGroup ( 75 , 1 ); // Hatch style: 0 = Hatch "odd parity" area (Normal style), 1 = Hatch outermost area only (Outer style), 2 = Hatch through entire area (Ignore style)
3584
+ writeGroup ( 75 , 0 ); // Hatch style: 0 = Hatch "odd parity" area (Normal style), 1 = Hatch outermost area only (Outer style), 2 = Hatch through entire area (Ignore style)
3586
3585
writeGroup ( 76 , 1 ); // Hatch pattern type: 0 = User-defined; 1 = Predefined; 2 = Custom
3587
- writeGroup ( 47 , 0.0059696789328105 ); // Pixel size
3588
-
3589
3586
writeGroup ( 98 , 0 ); // Number of seed points
3590
3587
}
3591
3588
0 commit comments