diff --git a/SlnkDWFImpl/SLNKContourImpl.cpp b/SlnkDWFImpl/SLNKContourImpl.cpp index 0596776..2ed3b63 100644 --- a/SlnkDWFImpl/SLNKContourImpl.cpp +++ b/SlnkDWFImpl/SLNKContourImpl.cpp @@ -653,9 +653,15 @@ WT_Result CSLNKContourImpl::serialize(WT_File & file, BOOL solidOnly, BOOL forFi // - poly2Map heeft namelijk een poly nodig // - voor als we ruimte willen aanwijzen want de point-in werkt later op polygons + if (m_Color.rgba().m_rgb.a==0) + { // Op zich redundant bij 100% transparant maar sommige + WT_Visibility(WD_False).serialize(file); // printerdrivers maken anders de polygon zwart + } file.desired_rendition().color() = m_Color; // Set the color for the polygon WT_Polygon my_poly( count(), points(), WD_False); my_poly.serialize(file); + if (m_Color.rgba().m_rgb.a==0) + WT_Visibility(WD_True).serialize(file); #if 0 WT_RGBA32 rgba[3]; WT_RGBA32 clr(this.m_Color.rgba());