Announcement

Collapse
No announcement yet.

Drawing lines anchored to teh bottom left of the screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drawing lines anchored to teh bottom left of the screen

    Hi,

    Is there any way of draw lines that are effectively using the RELATIVETOLEFT and RELATIVETOBOTTOM params? I want to draw some stuff in that space and encapsulate it with bordering.
    Last edited by muthaf; 03-01-2004, 09:53 AM.

  • #2
    Muthaf:

    As you have probably realized, those flags do not work with the drawLine() functions. One thing you can do, however, is to use the drawText() functions in conjunction with the line-draw characters in the Terminal font to create borders, boxes, etc. It is admittedly a kludge but it does work.

    Chris

    Comment


    • #3
      Muthaf:

      Attached is a sample EFS with a drawBox function.

      Chris
      Attached Files

      Comment


      • #4
        Muthaf:

        As Alex just pointed out to me, there is an even easier way of doing it. Just use the drawTextPixel() function with the Text.FRAME flag to create the box at the size you desire. A much cleaner (and less processor intensive) way of doing it.

        Chris

        Comment


        • #5
          Fantastic, thanks for the help.

          Comment

          Working...
          X