2D Graphics (for UI) Topic is solved

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
vbCrLf
In need of some credit
In need of some credit
Posts: 5
Joined: Sun Oct 05, 2008 4:42 pm

2D Graphics (for UI)

Post by vbCrLf »

Hello,
I'm new to wxWidgets, and I'm really impressed how easy it is.
I want to create node based UI (something like http://www.cebasusa.com/TP3/Images/UI_Image1.jpg or http://gwt.org.ua/media/images/2008-3/odbui-help1.jpg). So, how do I draw 2D graphics? Like text, lines, shapes and images?
And most important - cross-platform (Windows, Linux and Mac).

Thanks!
Ori Lahav.
Romas
I live to help wx-kind
I live to help wx-kind
Posts: 176
Joined: Mon Jun 16, 2008 11:07 am
Location: Kaunas

Post by Romas »

Hello,

There are two ways I know:

1. Enforce existing libraries to do it for your (wxArt2D, and there is a project for UML drawing, but I cannot remember its name)
2. Write your own 2d engine to handle all user input to your 2d graphics.

In either way, your program written with wxWidgets will be cross-platform. There might be some cross-platform related issues, but I think you'll find the way :) Anyway, no phylosophy here, for drawing 2d stuff use wxDC class, it gives everything you need.
GeraldG
Experienced Solver
Experienced Solver
Posts: 85
Joined: Mon May 16, 2005 12:30 pm

wxShapeFramework

Post by GeraldG »

Post Reply