Announcement

Collapse
No announcement yet.

Question on Graphic Set Position.

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

  • Question on Graphic Set Position.

    Or maybe it's just a case of brain-lock.

    In a pure graphics environment, I need to place text on the graphic screen not unlike LOCATE row, col.

    As I understand it, Graphic Set Pos "locates" in pixels.

    The question is: How can I use font size to calculate where to locate text so as not to squeeze the text too tightly or space too far apart?

    TIA

    BTW: I did look for this but maybe I used the wrong search terms.
    There are no atheists in a fox hole or the morning of a math test.
    If my flag offends you, I'll help you pack.

  • #2
    Mel,

    I think you need to use GRAPHIC TEXT SIZE. "This allows you to easily calculate the appropriate print position, particularly when using a proportional font."

    ====================================================
    "Any man who is under 30 and not a liberal,
    has not heart;
    and any man who over 30, and is not a conservative,
    has no brains."
    Sir Winston Churchill (1874-1965)
    ====================================================
    Last edited by Gösta H. Lovgren-2; 6 Feb 2009, 10:23 PM.
    It's a pretty day. I hope you enjoy it.

    Gösta

    JWAM: (Quit Smoking): http://www.SwedesDock.com/smoking
    LDN - A Miracle Drug: http://www.SwedesDock.com/LDN/

    Comment


    • #3
      It suddenly dawned on 'ol lead-head here that I was using:

      col * FontWidth

      instead of

      col + fontWidth

      Duhhhhh.....
      There are no atheists in a fox hole or the morning of a math test.
      If my flag offends you, I'll help you pack.

      Comment

      Working...
      X