Category Graphics and model display, Object ProGraphics

Function ProGraphicsModeSet


Description
Sets the drawing mode.
Replacement in Object TOOLKIT: pfcDisplay::CurrentGraphicsMode
Synopsis
#include <ProGraphic.h>
ProErrorProGraphicsModeSet(
ProDrawMode new_mode
/* (In)
The new drawing mode
*/
ProDrawMode* old_mode
/* (Out)
The previous mode
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the value.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Setting Line Styles for Creo Toolkit Graphics

Sample Code References:

  1. pt_examples ( TestGraphics.c )
  2. pt_examples ( TestGraphics.c )
  3. pt_userguide ( UgGraphPolyLineDrawUtil.c )