Difference: CDChartSetTextAntiAliasMode (1 vs. 3)

Revision 32012-02-19 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorBaseChartRoutines"
 

.CHART SET TXT AA MODE

This subroutine sets the anti aliasing mode for text on the "current" chart spec.

Revision 22011-11-10 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.CHART SET TXT AA MODE

Line: 9 to 9
 
      PASS         <text_aa>        FIELD            SHARE? N
      GOSUB    0CD .CHART SET TXT AA MODE
      *        Check for error

Changed:
<
<
IF 0CD .CHART SET TXT AA MODE NE
>
>
IF 0CD .CHART SET TXT AA MODE NE
 

Description:

This subroutine controls whether anti-alias is used when drawing text.

Revision 12011-09-23 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.CHART SET TXT AA MODE

This subroutine sets the anti aliasing mode for text on the "current" chart spec.


Usage:

      PASS         <text_aa>        FIELD            SHARE? N
      GOSUB    0CD .CHART SET TXT AA MODE
      *        Check for error
      IF       0CD .CHART SET TXT AA MODE     NE

Description:

This subroutine controls whether anti-alias is used when drawing text.

Valid values are:

noantialias, no antialias, no anti-alias: Disables anti-alias when drawing text.

antialias, anti alias, anti-alias: Always use anti-alias when drawing text.

autoantialias, auto antialias, auto anti-alias: Automatically determine if anti-alias should be used for the text. This is the default. Currently, Chart Director will anti-alias only large or bold fonts. For small fonts, assuming it is of high quality, anti-alias is unnecessary. This is because high quality fonts are normally designed to be sharp and clear at low resolution. Anti-aliasing will blur the fonts and make them look worse. However, for complicated fonts (e.g. some fonts with oriental characters), or for lower quality fonts (e.g. some freeware fonts), anti-alias may be necessary. In this case, it may be needed to force anti-aliasing of all fonts using anti alias mode.

The parameter is optional, if blank or not passed, auto anti aliasing will be turned on.

To set anti aliasing for shapes, see .CHART SET SHAPE AA.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2011-09-23

META TOPICMOVED by="JeanNeron" date="1316815826" from="Main.CDChartSetShapeAntiAlias" to="Main.CDChartSetTextAntiAliasMode"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback