Results 1 to 3 of 3

Thread: Basic Drawing with Connectors

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2012
    Posts
    1

    Basic Drawing with Connectors

    Aside from designing various graphical user interfaces I've never dabbled in proper graphics.

    I'm trying to create an application at the minute which needs a very basic drawing element. I need the ability to draw various lines that connect to each other i.e. two lines making an 'L' shape or four lines making an 'M'. It sounds like it should be easy to do but I've no idea where to start. Aside from that I need the ability to insert text over the top and of course export the image.

    Can you offer any tutorials or APIs that I should look at?

    My apologies for the rather vague question!

  2. #2
    Newbie Frequent Contributor
    Join Date
    Mar 2016
    Posts
    896

    Re: Basic Drawing with Connectors

    GUI toolkits usually have a canvas widget that allow drawing 2D shapes and text. Of course this can also be done with OpenGL, but you'd probably have to learn/do a lot more to get the same result.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    374

    Re: Basic Drawing with Connectors

    If all you need in the end is an image, why not use something like Photoshop or Illustrator? OpenGL programming seems like a hard way to go?
    Am I doing your homework for you?

Similar Threads

  1. Drawing an oscillator (very basic question)
    By Eric85629 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-01-2014, 09:42 AM
  2. Very basic drawing problem
    By Debbie in forum OpenGL: Basic Coding
    Replies: 17
    Last Post: 11-06-2011, 01:20 PM
  3. Replies: 1
    Last Post: 03-24-2010, 06:51 AM
  4. Basic Drawing objects technique
    By jos_t_tarigan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-24-2009, 01:34 PM
  5. Drawing basic Geometrics
    By Dwarfking in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-30-2000, 08:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean