wxPDF using wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE
Posted: Tue May 23, 2017 1:33 pm
Hello,
Is it a known issue in wxPDF that the wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE flag is not working? The results to the display in my application are correct, but the objects in the PDF are always solid fill, as if it is always using wxBRUSHSTYLE_SOLID. The dc in the following code is a wxPdfDC when writing a pdf.
Thanks,
Ed
Is it a known issue in wxPDF that the wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE flag is not working? The results to the display in my application are correct, but the objects in the PDF are always solid fill, as if it is always using wxBRUSHSTYLE_SOLID. The dc in the following code is a wxPdfDC when writing a pdf.
Code: Select all
wxPen pen = dc->GetPen();
pen.SetStyle( wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE );
wxBrush brush = dc->GetBrush();
brush.SetStyle( wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE );
Ed