Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Tue Apr 29 16:08:04 CEST 2025

Total time taken to generate the page: 0.00597 seconds