Modules | Data Structures | Functions

Modules

 Bit Field for Behavior on Graphics
 
 Display Style
 
 RGB Color
 
 Line Pattern
 
 Material
 
 Picture
 
 Dotting Pattern
 
 Hatching Pattern
 
 Solid Pattern
 
 Vectorized Picture Pattern
 
 Textures
 

Data Structures

struct  A3DGraphicsData
 Graphics data. More...
 

Functions

A3DStatus A3DGraphicsGet (const A3DGraphics *pGraphics, A3DGraphicsData *pData)
 Populates the A3DGraphicsData structure. More...
 
A3DStatus A3DGraphicsCreate (const A3DGraphicsData *pData, A3DGraphics **ppGraphics)
 Creates a A3DGraphics from A3DGraphicsData structure. More...
 

Detailed Description

Graphics data exists only on entities that have the base type A3DRootBaseWithGraphics.

Graphics data is stored as a set of arrays in the global object A3DGlobalData. Graphics data includes the following attributes:

To process a graphical attribute for an entity, consider whether the attribute is expressed as an explicit value or as an index that reference global attributes, as described in the following steps:

  1. Use the Miscellaneous Cascaded Attributes feature to obtain an A3DGraphStyleData structure for the entity. (You can also use the A3DGraphicsGet function to obtain graphic data for the entity; however, it does not resolve inheritance settings.)
  2. For A3DGraphStyleData members that contain attribute values (instead of indexes), use the values as is.
  3. For A3DGraphStyleData members that contain indexes (patterns or colors), obtain the value from the current default global settings or from the appropriate global array.

Function Documentation

A3DStatus A3DGraphicsGet ( const A3DGraphics pGraphics,
A3DGraphicsData pData 
)
A3DStatus A3DGraphicsCreate ( const A3DGraphicsData pData,
A3DGraphics **  ppGraphics 
)