Category Graphics and model display, Object ProDisplist2d

Function ProDisplist2dDisplay


Description
Displays the 2-D display list using the specified transformation matrix.
Replacement in Object TOOLKIT: pfcDisplayList2D::Display
Synopsis
#include <ProDisplist.h>
ProErrorProDisplist2dDisplay(
int id
/* (In)
The identifier of the display list to be drawn.
*/
ProMatrix transform
/* (In)
The transformation matrix to be used with the display list. This matrix should be similar to the one used when creating the display list (that is, only translation and scaling can be changed).
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully displayed the 2-D display list.
PRO_TK_NOT_EXISTThe display list is empty.
PRO_TK_E_NOT_FOUNDThe function could not find a display list with the specified identifier.
PRO_TK_CANT_OPENThe use of display lists is disabled.
PRO_TK_ABORTThe display was aborted.
PRO_TK_NOT_VALIDThe specified display list is invalid.
PRO_TK_INVALID_ITEMThere is an invalid item in the display list.
PRO_TK_GENERAL_ERRORThe specified display list is already in the process of being displayed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Display Lists
  3. User Interface: Basic Graphics: Display Lists

Sample Code References:

  1. pt_examples ( TestDisplist.c )
  2. pt_examples ( TestDisplist.c )
  3. pt_examples ( UtilTree.c )