UWVA#27155 Transparante contouren ook invisible maken. Voorkomt hopelijk dat ze via DWF-viewer zwart worden op de printer
svn path=/Slnkdwf/trunk/; revision=18564
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user