Thread: Drawing

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


    Is there a function that looks like this:

    drawline(x, y);

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

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

  3. #3
    Registered User
    Join Date
    Dec 2001
    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
    Search for Bresenham's algorithm. It deals with drawing lines

  4. #4
    Maybee you are thinking of MFC LineTo(Cpoint)

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