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 » Example: TextToSvgPath - Draw + Paint (Unified Draw-Paint Call - cannot call 'Color')
icon5.gif  Example: TextToSvgPath - Draw + Paint [message #59141] Wed, 09 November 2022 13:44 Go to previous message
UltimatePP
Messages: 3
Registered: November 2022
Junior Member
Hi folks, absolute newbie here.

I'm picking apart the example projects while combing through the documentation, this is the best way for me to learn, but I've exhausted all options and feel calling on the forum is my best bet.

Within the example project TextToSvgPath's "main.cpp", line 6 and 7 call the colour for the background and text, respectively. I've gone through every module under both Draw and Paint to see if I could find, at the very least, the colours described. I eventually found them listed in two (I think) places last night, one being "Draw.h" where they are listed. They are mentioned in the documentation for Draw as well, but I can't seem to find the referenced RGB values to adjust them. Painter lists colour values in "SvgUtil.cpp" along with RGB values, but the colour is not being fetched from there so I cannot make additions or adjustments to that list for use.

In this instance where Draw/Paint is used, how would I call a specific RGB value as opposed to S/Black or S/Blue, for example? What would the syntax be? I've tried calling Color, but it seems that Color itself is not used to establish RGB for Draw/Paint in the fashion I assumed it would (not a call operator).

Thanks in advance for any response, I'll definitely keep tinkering in the meantime.
 
Read Message icon5.gif
Read Message
Read Message
Read Message icon10.gif
Previous Topic: Some Questions
Next Topic: A couple of noob questions
Goto Forum:
  


Current Time: Sun May 12 01:05:37 CEST 2024

Total time taken to generate the page: 0.06032 seconds