< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Structures | Functions
Line Pattern

Data Structures

struct  A3DGraphLinePatternData
 Line Pattern data. More...
 

Functions

A3DStatus A3DGlobalGetGraphLinePatternData (const A3DUns32 uiIndexLinePattern, A3DGraphLinePatternData *pData)
 Populates the A3DGraphLinePatternData structure. More...
 
A3DStatus A3DGlobalInsertGraphLinePattern (const A3DGraphLinePatternData *pData, A3DUns32 *puiIndexLinePattern)
 Creates a line pattern from A3DGraphLinePatternData structure in global data. More...
 

Detailed Description

Entity type is kA3DTypeGraphLinePattern. This structure contains an array of doubles defining the basic sequence used to describe a line pattern. The dash is defined as number pairs, where the first number specifies the length of the line and the second number specifies the length of the space. The pair is repeated.

If additional number pairs are provided, they are added to the sequence before the pattern is repeated.

Line and space lengths can be defined by using the current units (typically millimeters) or as proportions.

Here are some examples:

Function Documentation

A3DStatus A3DGlobalGetGraphLinePatternData ( const A3DUns32  uiIndexLinePattern,
A3DGraphLinePatternData pData 
)
A3DStatus A3DGlobalInsertGraphLinePattern ( const A3DGraphLinePatternData pData,
A3DUns32 puiIndexLinePattern 
)