Thread: Drawing

  1. #1
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269

    Drawing

    Is there a function that looks like this:

    drawline(x, y);


    I think the function explains itself...
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    No standard function.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    194
    Normally to draw a line you need 2 points, a starting point and an ending point.
    This function will depend on what operating system you are using.
    Is this DOS? Windows? Linux? Unix? MacOs?

    This is a nice generalized tutorial
    http://www.cfxweb.net/~aggrav8d/tutorials/line1.html
    Search for Bresenham's algorithm. It deals with drawing lines

  4. #4
    Barjor
    Guest
    Maybee you are thinking of MFC LineTo(Cpoint)
    ~barjor

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing HBITMAP into CWnd, Acquired from "screenshot"
    By DeusAduro in forum Windows Programming
    Replies: 6
    Last Post: 07-02-2009, 03:41 PM
  2. Slow drawing code
    By tjpanda in forum Windows Programming
    Replies: 5
    Last Post: 05-09-2008, 05:09 PM
  3. Line Drawing Algorithm
    By Axpen in forum Game Programming
    Replies: 15
    Last Post: 08-01-2005, 06:30 PM
  4. How to do double buffing with win32 drawing?
    By Josh Kasten in forum Windows Programming
    Replies: 2
    Last Post: 03-27-2004, 12:02 AM
  5. drawing minimaps and radar screens.
    By Eber Kain in forum Game Programming
    Replies: 4
    Last Post: 03-08-2002, 11:44 AM