Results 1 to 4 of 4

Thread: TPA help

  1. #1
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default TPA help

    would somebody plz tell me when and how and what good is
    SCAR Code:
    SortTPAFrom
    function.
    thank you for your time.

  2. #2
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    SCAR Code:
    {*******************************************************************************
    procedure SortTPAFrom(var a: TPointArray; const From: TPoint);
    Description: Sorts the TPointArray a from the point From.
    Closest one to the point is [0], second closest is [1] etc.
    *******************************************************************************}

    i for example use this when i'm walking and there are two of the same symbol. so i sort the tpa from where i know the symbol will be +/-, to make sure i get the symbol i want.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  3. #3
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cud u explain more plzz

  4. #4
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    srry for double posting but i need this help plzzzzzzz

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •