Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic EmbossEffects Question (Read 1302 times)
tblue
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Jul 23rd, 2007
EmbossEffects Question
Jul 25th, 2008 at 6:02am
Print Post  
1. set diagram symbol "EnableEmbossEffects = 'true'" and use 'EffectsProvider'.
I tried change the color to 'white' using 'Shape' function.
But In this case, becasue of grey color effect, it failed to change color to white.
Please tell me how to change diagram symbol color to white in this effect condition.
If you can't suggest normal method, I want to know how to use 'r,g,b combination' to resolve thi problem.

2. When I opened diagram once saved, the setting-value was not exsactly same as that saved.
It seemed 'EnableEmbossEffects' value was not saved.
Is there any solution to resovle this problem?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: EmbossEffects Question
Reply #1 - Jul 25th, 2008 at 10:51am
Print Post  
1. The emboss effect applies a filter on the entire surface of the node, which causes the node color to appear dimmed. When you set a white color to an embossed node, it looks darker. Currently, this cannot be avoided using the built-in emboss effect. You might try implementing your own IEffectsProvider.GenerateEmboss(Diagram diagram, GraphicsPath path) method that would not change the interior of nodes.

2. This value is not saved in diagram files, but you can restore it to your application's setting after calling LoadFromFile.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint