Search found 119 matches

by rsb
Mon Jul 09, 2018 7:31 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 100

Re: Printing to Adobe PDF using wxPrinter

We were using a special cursor that somehow effected the printer output. Once we disabled it, the Adobe printer output worked
fine. Not sure why this effected the output of the printer, but it fixed our problem.
by rsb
Sat Jul 07, 2018 9:49 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 100

Printing to Adobe PDF using wxPrinter

Hello, We're having a problem printing to Adobe PDF using wxPrinter. Printing to other PDF printers like Bullzip PDF works fine. Has anyone complained about getting a corrupt PDF file when using Adobe PDF. I noticed one post that mentioned something similar. https://forums.wxwidgets.org/viewtopic.ph...
by rsb
Fri Jun 08, 2018 2:05 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 314

Re: True Type Text Disappears with Filled Arcs (Linux Only)

Is this the best way to reset the stipple mask? wxBrush brush = dc->GetBrush() ; brush.SetStipple(wxNullBitmap) ; Also, Is there a problem drawing arcs with a stipple mask. We draw circles, polygons and arcs with a stipple mask essentially the same way. The circles and polygons work perfectly but th...
by rsb
Thu Jun 07, 2018 6:50 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 314

Re: True Type Text Disappears with Filled Arcs (Linux Only)

Yes, it was text after outline and I reversed it and it now works. I would think it would be the other way around.

Thanks!
by rsb
Thu Jun 07, 2018 6:12 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 314

True Type Text Disappears with Filled Arcs (Linux Only)

Hello, This is an obscure problem but I thought I would ask in case it was a know issue with wxWidgets. We have a panel where we display true type text inside a border outline, the outline consists of arc and line objects. The arc objects are displayed using a stipple mask. The border outline can be...
by rsb
Fri May 25, 2018 9:23 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 232

Re: Mirrored Text

Thank you.
by rsb
Fri May 25, 2018 6:39 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 232

Re: Mirrored Text

We're not drawing inside a paint event handler so I couldn't use the first option.

The second worked well when mirroring around the x or y axis.

How would the second option work for text displayed at a 45 degree rotation
or anything other than 0, 90, 180, 270.

Thanks.
by rsb
Thu May 24, 2018 8:39 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 232

Re: Mirrored Text

Thank you both, I'll try and let you know.
by rsb
Thu May 24, 2018 7:41 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 232

Mirrored Text

Is there a way to draw mirrored text to a wxDC object.

I tried the wxMirrorDC class but it didn't work. I also tried the SetLayoutDirection method and
it didn't work either.

Thank you.

Using:
- wxWidgets 3.1.0
- Window 7 Professional
- Visual Studio 2015.
by rsb
Tue Dec 05, 2017 10:27 pm
Forum: C++ Development
Topic: wxPostScriptPrinter
Replies: 0
Views: 386

wxPostScriptPrinter

Hello, I'm trying to use the wxPostScriptPrinter class to create a postscript file. We're using the wxPrinter and the wxPdfPrinter classes to print and they both work well. We're using the wxPostScriptPrinter class in the same framework as the other two. The wxPostScriptPrinter class does create a p...
by rsb
Thu Nov 02, 2017 11:36 pm
Forum: C++ Development
Topic: Transparent fill pattern using a Stipple brush on a Printer
Replies: 2
Views: 212

Re: Transparent fill pattern using a Stipple brush on a Printer

Hello,

wxPdfDocument: 0.9.5

Printers:
HP LaserJet 5SI
Bullzip PDF printer
Adobe PDF

Thanks.
by rsb
Thu Nov 02, 2017 5:22 pm
Forum: C++ Development
Topic: Transparent fill pattern using a Stipple brush on a Printer
Replies: 2
Views: 212

Transparent fill pattern using a Stipple brush on a Printer

We're using a stipple brush defined from a bitmap with a mask to display a fill pattern. The fill pattern displays transparently on a panel or on a printer using wxPdfDocument (wxPdfDC), but using wxPrinter (wxPrinterDC) it's doesn't. It has a solid background color. Is this a shortcoming of the wxP...
by rsb
Tue Oct 31, 2017 6:09 pm
Forum: Platform Related Issues
Topic: Gtk Warning on Linux when setting a bit mask
Replies: 2
Views: 325

Gtk Warning on Linux when setting a bit mask

When reading a .png file into our application to use as a stipple brush, we get the following warning on Linux. Same code on Windows but no warning. Gtk - WARNING ** : Attempt to draw a drawable with depth 24 to a drawable with depth 1 Any idea what could cause this? Also, the stipple pattern looks ...
by rsb
Fri Oct 27, 2017 2:20 pm
Forum: C++ Development
Topic: Setting Printer Options
Replies: 4
Views: 350

Re: Setting Printer Options

We're past this problem now. We have a similar application that used GDI to print and it didn't have the same problem. It took into account the unprintable area of the printer. Once we included this in our existing code the problem went away. Here's the code we used to determine the unprintable area...

Go to advanced search