Search found 125 matches

by Everydaydiesel
Sun Sep 18, 2022 12:03 am
Forum: wxCode
Topic: compiling wxpdfdocument on linux
Replies: 11
Views: 12559

Re: compiling wxpdfdocument on linux

Hello, I hate to bug you but I seem to be having trouble on a new version of ubuntu. I would really appreicate any help you could give. I dont have FcPatternAddInteger anywhere in my code. The error is /usr/bin/ld: /usr/local/lib/libwxcode_gtk3u_pdfdoc-3.0.a(pdffontmanager.o): undefined reference to...
by Everydaydiesel
Sat Jan 22, 2022 6:28 pm
Forum: wxCode
Topic: compiling wxpdfdocument on linux
Replies: 11
Views: 12559

Re: compiling wxpdfdocument on linux

The build system of wxPdfDocument uses libtool. If you link against libwxcode_gtk3u_pdfdoc-3.0.la , all should work, since this libtool file contains references to all required dependencies like wxWidgets libraries and fontconfig library. Regards, Ulrich I am trying to install your library on a new...
by Everydaydiesel
Mon Jul 20, 2020 4:17 pm
Forum: C++ Development
Topic: Try Catch Not Catching - Converting String To Int
Replies: 3
Views: 913

Re: Try Catch Not Catching - Converting String To Int

I dont want it to throw any error. I just want to assign the return value -1 and then continue execution.

I have passed
"?" <-- actual data
"#143" <-- actual data

Its frustrating that it stops execution when it should be caught and suppressed
by Everydaydiesel
Mon Jul 20, 2020 3:51 pm
Forum: C++ Development
Topic: Try Catch Not Catching - Converting String To Int
Replies: 3
Views: 913

Try Catch Not Catching - Converting String To Int

Hello, This isnt really wxwigets but rather c++ related (the app i am developing is wxWidgets). You guys are a lot smarter then me so maybe you can tell me what is wrong. I have a bunch of strings some are alpha and some are alpha numeric and some are straight alpha. I want to try to convert the str...
by Everydaydiesel
Thu Apr 23, 2020 7:57 pm
Forum: C++ Development
Topic: C++ Parsing TimeZone From Date String
Replies: 8
Views: 2847

Re: C++ Parsing TimeZone From Date String

The api that I invoke returns a date in this similar format "2020-04-17T09:30:00-04:00" and I would like to put that into a unix/epoch form (in my time zone)
by Everydaydiesel
Thu Apr 23, 2020 7:09 pm
Forum: C++ Development
Topic: C++ Parsing TimeZone From Date String
Replies: 8
Views: 2847

Re: C++ Parsing TimeZone From Date String

Hello doublemax, You have helped me so much over the years and I thank you! The api returns the data "2020-04-17T09:30:00-04:00" but i could strip the extra : out of what it returns (I didnt write the api, I only invoke/consume) I will be the first to admit, I have alot to learn when its c...
by Everydaydiesel
Thu Apr 23, 2020 4:36 am
Forum: C++ Development
Topic: C++ Parsing TimeZone From Date String
Replies: 8
Views: 2847

Re: C++ Parsing TimeZone From Date String

This value is returned from the api "2020-04-17T09:30:00-04:00" which is EST time zone and I need to convert it to CST but I am unsure really how to do this with built in functions of C++ and/or wxwidgets There is some weird timezone / daylight savings time calculations that apparently mak...
by Everydaydiesel
Sun Apr 19, 2020 6:46 am
Forum: C++ Development
Topic: C++ Parsing TimeZone From Date String
Replies: 8
Views: 2847

C++ Parsing TimeZone From Date String

Hello I realize this is not wxWidgets specific but it is C++ and you guys are a lot smarter then I am. I have the following date that I am consuming from an api. string sToParse = "2020-04-17T09:30:00-04:00"; which should be in human form "Friday, April 17, 2020 08:30:00" central...
by Everydaydiesel
Sat Apr 18, 2020 6:48 am
Forum: General Development
Topic: Best Graphics Library For Drawing Text/Graphs On Huge Resolution
Replies: 4
Views: 1843

Re: Best Graphics Library For Drawing Text/Graphs On Huge Resolution

also that resolution is the equivalent of 16 (4x4) 1920x1080 monitors so I am concerned with refresh performance
by Everydaydiesel
Sat Apr 18, 2020 12:23 am
Forum: General Development
Topic: Best Graphics Library For Drawing Text/Graphs On Huge Resolution
Replies: 4
Views: 1843

Re: Best Graphics Library For Drawing Text/Graphs On Huge Resolution

its basically the stock market. I dont really have a frame rate but will need to 'redraw' or update regions of the screen as they come in. Updates could be as fast as 2x a second. It will just be a passive display.
by Everydaydiesel
Fri Apr 17, 2020 9:23 pm
Forum: General Development
Topic: Best Graphics Library For Drawing Text/Graphs On Huge Resolution
Replies: 4
Views: 1843

Best Graphics Library For Drawing Text/Graphs On Huge Resolution

Hello, I am working on designing an application that has a resolution of 7680x4320 (its 4 - 4k monitors put together) in a linux environment. The monitors will display very small 8pt font letters and have historical graph information. What is the best graphics library to use for this? I doubt having...
by Everydaydiesel
Mon Apr 06, 2020 9:39 pm
Forum: C++ Development
Topic: wxMemoryDC::getPixel returning null
Replies: 5
Views: 992

Re: wxMemoryDC::getPixel returning null

Thank you so much for the example.

That works. Thanks again for helping me. I really appreciate it
by Everydaydiesel
Mon Apr 06, 2020 8:08 pm
Forum: C++ Development
Topic: wxMemoryDC::getPixel returning null
Replies: 5
Views: 992

Re: wxMemoryDC::getPixel returning null

Thank you for the reply. GetPixels is returning false

I am not sure how to get the RGB of a X,Y pixel of a wxNativePixelData. Do you know how I would do this?


wxNativePixelData npd(m_bmpSelectedWord);
npd.GetPixels() // unsure how this works or if it is even right
by Everydaydiesel
Mon Apr 06, 2020 7:06 pm
Forum: C++ Development
Topic: wxMemoryDC::getPixel returning null
Replies: 5
Views: 992

wxMemoryDC::getPixel returning null

Hello, I recently updated my system (linux) and now wxMemoryDC::getPixel(x, y, wxColour) is returning null. I basically need to check and see if all the verticle pixels of an image are white. wxColour col; wxMemoryDC dc(m_bmpSelectedImg); for(int j = 0; j < m_bmpSelectedImg.GetHeight(); j++) { dc.Ge...
by Everydaydiesel
Mon Jun 03, 2019 4:16 pm
Forum: C++ Development
Topic: Drawing With 'Layers'
Replies: 10
Views: 1527

Re: Drawing With 'Layers'

Does it draw a line on yours? When I try it on mine it doesnt draw the red line.

build 2017-09-30, 18:21:54 wx3.0.3 (Linux, unicode) 64 bit