U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Display transparent paper
Re: Display transparent paper [message #58050 is a reply to message #58049] Sun, 30 January 2022 00:09 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
If I want to change the background to something I specify, I just
draw.DrawRect(arect, acolor);

without this, the text will be drawn on whatever the current background is. Is this the transparent background you meant? So do nothing, you get a transparent background.

As for font.
Draw::DrawText(int x, int y, const String& text, Font font = StdFont(),...)

Just specify the font you intended there.

HTH,
Lance
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Generic questions about graphic
Next Topic: Synchronize to Github
Goto Forum:
  


Current Time: Thu May 14 10:40:44 GMT+2 2026

Total time taken to generate the page: 0.00673 seconds