Drawing Filled Area

Types

A3DDrawingFilledAreaData

A3DEDrawingFilledAreaMode

Fields

kA3DDrawingFiledAreaModeOR

kA3DDrawingFiledAreaModeAND

kA3DDrawingFiledAreaModeXOR

Functions

A3DStatus

A3DDrawingFilledAreaGet

A3DStatus

A3DDrawingFilledAreaCreate

Detailed Description

group a3d_drawing_filledarea

Entity type is kA3DTypeDrawingFilledArea.

Version

5.0

Type Documentation

enum A3DEDrawingFilledAreaMode

Enumerations for drawing filled area mode for use in the A3DDrawingFilledAreaData structure.

In case of intersecting, or self-intersecting boundaries, A3DEDrawingFilledAreaMode is used to determine the fill area.

Version

5.0

For example, in case of two intersecting square boundaries, three different fill areas can be obtained like in the next picture. ../_images/drawing_fillmode.png

Values:

enumerator kA3DDrawingFiledAreaModeOR

Use OR operator.

enumerator kA3DDrawingFiledAreaModeAND

Use AND operator.

enumerator kA3DDrawingFiledAreaModeXOR

Use XOR operator.

Function Documentation

A3DStatus A3DDrawingFilledAreaGet(const A3DDrawingFilledArea *pDrwFilledArea, A3DDrawingFilledAreaData *pData)

Populates the A3DDrawingFilledAreaData structure.

Version

5.0

Parameters:
  • pDrwFilledArea[in] The drawing filled area entity.

  • pData[out] Data of the drawing filled area.

Return values:
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus A3DDrawingFilledAreaCreate(const A3DDrawingFilledAreaData *pData, A3DDrawingFilledArea **ppDrwFilledArea)

Creates an A3DDrawingFilledArea from A3DDrawingFilledAreaData structure.

Version

5.0

Parameters:
  • pData[in] The input drawing filled area data

  • ppDrwFilledArea[out] The drawing filled area entity

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INTERVAL_INCONSISTENT_DATA

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure