Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6601307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:44:09+00:00 2026-05-25T18:44:09+00:00

I am starting a new project (Windows application), which needs a simple graphical interface.

  • 0

I am starting a new project (Windows application), which needs a simple graphical interface. The graphics are not the main point of the application, the algorithms behind them are, so I’d like to spend as little time as possible thinking about graphics.

I need to draw simple shapes, connect them with lines, and label both the shapes and the edges. My ideal API would look something like

 n1 = Rectangle(width, height, center1);
 n1->label("Node1");
 n2 = Circle(radius, center2);
 l = Line(n1->rightEdge()->midpoint()), (n2->center()-Point(n2->radius,0));
 l->label("pathway",BELOW);

I know I could certainly use a low-level library to build up to this level of abstraction. But I’d rather not, if it has already been done. Does a graphics library with this level of abstraction exist? I’d be equally happy with C/C++. C# would be an option too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:44:10+00:00Added an answer on May 25, 2026 at 6:44 pm

    Due to the general ease of writing that kind of high-level system, given a low-level drawing API, you generally don’t see this kind of 2D scene graph library. The kind where there are explicit objects in the scene, and you move the objects around on the level of objects.

    The closest I can think of is the way WPF handles drawing, where you create graphics objects and attach them to windows. And that’s .NET only.

    Everything else, whether Cairo, AGG, Direct2D, etc are all immediate drawing APIs. There are no “objects” that you manipulate or attach labels to. You simply draw stuff in a location. If you want to move something, you have to draw the stuff in that new location.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm starting a new project which involves developing an interface for a machine that
I'm starting a new project here (Windows Forms). What's the best option today for
I'm starting new project. The client interface is based on GWT (and GXT) I
I'm starting a new project. It will run on devices running Windows CE, Windows
I've been thinking about starting a new graphics project and I want to use
I'm starting a new project on Rails3 and my question is about which plugin
We're starting a new project and are trying to decide to use either Windows
How to improve our productivity when starting new project using Delphi? For me, I
Starting a new project and would like to use one of the MVC framworks.
Starting a new project using EJB 3 / JPA, mainly stateless session beans and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.