Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Change ANTI_ALIAS value fro text (Read 6009 times)
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Change ANTI_ALIAS value fro text
Jun 7th, 2007 at 7:55am
Print Post  
I'm looking for a way to paint the text of the Boxes with ANTI_ALIAS_OFF and the rest of the drawing with ANTI_ALIAS_ON.
I've looked if I can bypass the text draw method and plant these RenderHints, but as far as I can see - only solution is to use CustomDraw.Full and write everything myself (including the text drawing).

Is there another way to achieve it?

Thanks!
Yoav
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Change ANTI_ALIAS value fro text
Reply #1 - Jun 7th, 2007 at 10:13am
Print Post  
I guess we can add an AntiAliasText property, and you will just set it to false to achieve that.

Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Change ANTI_ALIAS value fro text
Reply #2 - Jun 7th, 2007 at 10:16am
Print Post  
If you could - that would be great.
Thanks,
yoav
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Change ANTI_ALIAS value fro text
Reply #3 - Jun 11th, 2007 at 7:03am
Print Post  
This version adds a public void setTextAntiAlias(SmoothingMode antiAlias) method to FlowChart.

http://www.mindfusion.org/_temp/JDiagram.jar

The Overview tracking rectangle should work better as well.

Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Change ANTI_ALIAS value fro text
Reply #4 - Jun 11th, 2007 at 7:44am
Print Post  
It looks great! And I saw you solved most of the Overview rectangle issues (if not all...).
Grin Thanks!
Yoav

BTW - how can I get a registered version of the Jar once you make such changes? Do I need to send an email to your support?

Thanks again,
Yoav
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Change ANTI_ALIAS value fro text
Reply #5 - Jun 11th, 2007 at 9:14am
Print Post  
I will send you a private message on the forum with a download link to the source code and the licensed jar.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Change ANTI_ALIAS value fro text
Reply #6 - Jun 11th, 2007 at 9:28am
Print Post  
You should now see a "Hey, ymoran00, you have 1 message" line at the top of the forum page. The link is there Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint