Search found 7 matches

by ees
Thu May 25, 2017 4:38 pm
Forum: wxCode
Topic: wxPDF only using raster operation wxCOPY
Replies: 1
Views: 1923

wxPDF only using raster operation wxCOPY

Hello,
I believe wxPDF is only using operation raster wxCOPY and not heeding the dc->SetLogicalFunction call. Would this be an easy fix? In the code below, dc is a wxPdfDC.

Code: Select all

 dc->SetLogicalFunction(wxOR);
Thanks,

Ed
by ees
Wed May 24, 2017 12:44 pm
Forum: wxCode
Topic: wxPDF using wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE
Replies: 2
Views: 2254

Re: wxPDF using wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE

Thanks Ulrich.

Ed
by ees
Tue May 23, 2017 4:51 pm
Forum: wxCode
Topic: PDF Polygons with cutouts
Replies: 7
Views: 3258

Re: PDF Polygons with cutouts

Sounds good.

Thanks Ulrich.

Ed
by ees
Tue May 23, 2017 1:33 pm
Forum: wxCode
Topic: wxPDF using wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE
Replies: 2
Views: 2254

wxPDF using wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE

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 w...
by ees
Tue May 23, 2017 12:11 pm
Forum: wxCode
Topic: PDF Polygons with cutouts
Replies: 7
Views: 3258

Re: PDF Polygons with cutouts

Thanks Ulrich,
Is there any kind of timetable? Or is it a low priority? (Which I would totally understand.)

Ed
by ees
Tue May 23, 2017 12:01 am
Forum: wxCode
Topic: PDF Polygons with cutouts
Replies: 7
Views: 3258

Re: PDF Polygons with cutouts

Hi, Yes, I'm using wxPDFDocument. I believe it is a wxPDFdc. It is the dc that gets passed in automatically to my Print routine. Here is some more code. This is all new to me so maybe I got something basic wrong. wxPrintData PrintData; write_pdf_file__load_print_data(pdf_file_p,&PrintData); // J...
by ees
Mon May 22, 2017 7:58 pm
Forum: wxCode
Topic: PDF Polygons with cutouts
Replies: 7
Views: 3258

PDF Polygons with cutouts

Hello, Is it a known issue that cutouts of polygons will not be written to a pdf? I know the following is not enough code to reproduce the problem, but I just want to give a general idea of what I am doing and ask whether or not it should work or if this is a known issue. All of this is legacy code,...