Shop OBEX P1 Docs P2 Docs Learn Events
Graphics.spin opaque characters — Parallax Forums

Graphics.spin opaque characters

softexsoftex Posts: 27
edited 2009-02-04 18:42 in Propeller 1
I'm having reasonable success creating decent-looking text output using graphic.spin with the vector fonts, but to erase intermittent data (like the seconds on a clock, say) I'm using the low-tech method of writing a box with the background color (white) over the data. Is there any way to write "opaque" characters in the first place, so the intermittent data does not have to be cleared?

-Dave

Comments

  • BaggersBaggers Posts: 3,019
    edited 2009-02-04 10:59
    Hi Dave,
    You can either clear the area like you're doing, OR you can draw bitmapped characters to that area [noparse]:D[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • softexsoftex Posts: 27
    edited 2009-02-04 16:24
    Thanks Baggers,

    I just wanted to hear from someone who is much more up-to-speed on this than I am, that I wasn't missing something obvious. By tightening my clearing code I got it working in a more flexible manner, and the vector fonts are looking much better than I thought they would and are, of course, scalable - which is what I was after.

    -D
  • BaggersBaggers Posts: 3,019
    edited 2009-02-04 18:42
    Ah right, then if scalability is what you're after, then go vectors D:
    you could scale bitmapped text, but it isn't as clean as the scaled vectors.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
Sign In or Register to comment.