Search found 79 matches

by Parduz
Mon May 04, 2015 2:42 pm
Forum: C++ Development
Topic: How to draw on a 24/32bpp image and convert it to a 16bpp bitmap on a 16bpp system?
Replies: 5
Views: 1360

Re: How to draw on a 24/32bpp image and convert it to a 16bpp bitmap on a 16bpp system?

dc.SetPen(wxPen(0x0000FF00,FMin->m_NeedleWidth)); What happens if you use this instead? dc.SetPen(wxPen( wxColour(0,255,0), FMin->m_NeedleWidth)); It works! :shock: Please let me say something before asking you some questions, in order to learn and understand: Now, all my colors (they are like "pro...
by Parduz
Mon May 04, 2015 1:28 pm
Forum: C++ Development
Topic: How to draw on a 24/32bpp image and convert it to a 16bpp bitmap on a 16bpp system?
Replies: 5
Views: 1360

Re: How to draw on a 24/32bpp image and convert it to a 16bpp bitmap on a 16bpp system?

Sorry for not have been clear enough. I already draw everything on wxMemoryDC. Perhaps it is better to copy some pseudocode: Constructor: BackImg = new Img(bSize,true); FaceImg = new Img(bSize,true); FBackBitmap = new Bmp(*BackImg,wxBITMAP_SCREEN_DEPTH); FFaceBitmap = new Bmp(*FaceImg,wxBITMAP_SCREE...
by Parduz
Mon May 04, 2015 8:57 am
Forum: C++ Development
Topic: How to draw on a 24/32bpp image and convert it to a 16bpp bitmap on a 16bpp system?
Replies: 5
Views: 1360

How to draw on a 24/32bpp image and convert it to a 16bpp bitmap on a 16bpp system?

I'm developing a component. derived from wxPanel, that draws a complex gauge instrument. Right now i'm using standard DC methods (arcs, lines, rectangles and text), but in the future i need to have antialiased lines and arcs using the Wu algorityhm, so the whole control will be drawn "pixel per pixe...
by Parduz
Fri Jan 30, 2015 2:04 pm
Forum: Compiler / Linking / IDE Related
Topic: Pls help with Cross-compiling from Windows to Arm-Linux
Replies: 0
Views: 850

Pls help with Cross-compiling from Windows to Arm-Linux

Hello from Italy (pls pardon my poor english). I'm trying to cross-compile the wxWidgets from a Win7/64 machine for the Beaglebone Black (ARM). I already have the Widgets compiled and working for windows, following this tutorial . I'm also able to compile terminal executables, thanks to this tutoria...