Search:

Type: Posts; User: Gruff

Search: Search took 0.25 seconds.

  1. Replies
    41
    Views
    60,771

    Re: Very Simple Drawing Program

    Circles are actually easier to detect than lines.
    You derive the Distance of the cursor location to the circle center point.


    Dist = Hypotnuse(DeltaX, DeltaY)
    Gap = ABS(Dist-Radius)
    if...
  2. Replies
    41
    Views
    60,771

    Re: Very Simple Drawing Program

    Hope you don't mind JM.

    Alain:

    Selections routines entail searching through your list(of clsDrawingObjects)
    For line objects you generally want to use a closest point perpendicular to the...
Results 1 to 2 of 2



Click Here to Expand Forum to Full Width