Difference: CDColorSetDashLine (1 vs. 2)

Revision 22012-02-22 - JeanNeron

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

.COLOR SET DASH LINE

Sets the dash line pattern for the "current" Color Object.

Revision 12011-11-16 - JeanNeron

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

.COLOR SET DASH LINE

Sets the dash line pattern for the "current" Color Object.


Usage:

      PASS         <dash_line_pattern>        FIELD            SHARE? N
      GOSUB    0CD .COLOR SET DASH LINE
      *        Check for error
      IF       0CD .COLOR SET DASH LINE       NE



Description:

Sets the dash line pattern for the "current" Color Object.

A dash line color is a dynamic color that switches on and off periodically. When it is used to draw a line, the line will appear as a dash line.

The style of the dash line is defined by <dash_line_pattern>, which is a 4-byte integer. A value of PPQQRRSS (in hex) means the first PP pixels are turned on, followed by QQ pixels turned off, followed by RR pixels turned on, followed by SS pixels turned off, and then restart from PP again.

You can also pass the following constants:

dashline (same as 0x00000505), dotline (same as 0x00000202), dotdashline (same as 0x05050205), altdashline (same as 0x 0A050505)

See ColorSpec for more information on working with colors.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-11-16

 
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