| Library | File | Frames | Expand |
| pfcDisplayList2D_ptr | CreateDisplayList2D (xint Id, pfcScreenTransform_ptr Transform, pfcDisplayListener_ptr Action) | |
| Creates a two-dimensional display list | ||
| pfcDisplayList3D_ptr | CreateDisplayList3D (xint Id, pfcDisplayListener_ptr Action) | |
| Creates a three-dimensional display list entity | ||
| void | DrawArc2D (pfcPoint3D_ptr Center, xreal Radius, pfcVector3D_ptr StartDirection, pfcVector3D_ptr EndDirection) | |
| Draws an arc on the screen | ||
| void | DrawCircle (pfcPoint3D_ptr Center, xreal Radius) | |
| Draws a circle on the screen | ||
| void | DrawLine (pfcPoint3D_ptr Endpoint) | |
| Draws a line on the screen from the last pen position specified to the position specified by the Endpoint argument. The last pen position is specified using this same function previously times or by pfcDisplay::SetPenPosition(pfcPoint3D_ptr) | ||
| void | DrawPolygon2D (pfcPoint2Ds_ptr Vertices, optional pfcStdColor FillColor) | |
| Draws two-dimensional polygon on the screen. | ||
| void | DrawPolyline (pfcPoint3Ds_ptr Points) | |
| Draws a series of connected line segments on the screen. | ||
| void | DrawText2D (pfcPoint3D_ptr StartPoint, xrstring TextLine) | |
| Draws text on the screen | ||
| pfcFont_ptr | GetCurrentFont () | |
| void | SetCurrentFont (pfcFont_ptr value) | |
| The current font used for text graphics in Creo Parametric. | ||
| pfcStdColor | GetCurrentGraphicsColor () | |
| void | SetCurrentGraphicsColor (pfcStdColor value) | |
| The standard color used to display new graphics. | ||
| pfcGraphicsMode | GetCurrentGraphicsMode () | |
| void | SetCurrentGraphicsMode (pfcGraphicsMode value) | |
| The mode used to display graphics (i.e. normal or complement). | ||
| pfcFont_ptr | GetDefaultFont () | |
| The default font for this session of Creo Parametric. | ||
| optional pfcFont_ptr | GetFontById (xint Id) | |
| Creates a font object given a Creo Parametric font integer id. | ||
| optional pfcFont_ptr | GetFontByName (xrstring Name) | |
| Returns a font object given a Creo Parametric font name. | ||
| xreal | GetRotationAngle () | |
| void | SetRotationAngle (xreal value) | |
| The rotation angle of created text graphics (default is 0). | ||
| xreal | GetSlantAngle () | |
| void | SetSlantAngle (xreal value) | |
| The slant angle of created text graphics (default is 0). | ||
| xreal | GetTextHeight () | |
| void | SetTextHeight (xreal value) | |
| The text height of created text graphics. | ||
| xreal | GetWidthFactor () | |
| void | SetWidthFactor (xreal value) | |
| The width-to-height ratio for created text graphics. | ||
| void | Invalidate (pfcModel_ptr Model) | |
| Invalidates the display list of the model singalling that a repaint is needed. | ||
| void | ResetTextAttributes () | |
| Resets the Creo Parametric text attributes to use the default settings | ||
| void | SetPenPosition (pfcPoint3D_ptr NewPosition) | |
| This method enables you to move to a point without producing any graphical output. This method is used when drawing lines using pfcDisplay::DrawLine(pfcPoint3D_ptr) | ||
| pfcDisplayList2D_ptr | CreateDisplayList2D | (xint Id, pfcScreenTransform_ptr Transform, pfcDisplayListener_ptr Action) |
|
Creates a two-dimensional display list Two dimensional display list operations in Creo Parametric are not currently supported. This method is reserved for future activation.
|
| void | Invalidate | (pfcModel_ptr Model) |
|
Invalidates the display list of the model singalling that a repaint is needed. Exceptions thrown (but not limited to): pfcXToolkitInvalidType - The specified model is not a part, assembly, or drawing. pfcXToolkitNotExist - The function cannot find the window associated with the object.
|
| void | DrawArc2D | (pfcPoint3D_ptr Center, xreal Radius, pfcVector3D_ptr StartDirection, pfcVector3D_ptr EndDirection) |
|
Draws an arc on the screen All points are in logical screen cordinates
|
| void | DrawPolygon2D | (pfcPoint2Ds_ptr Vertices, optional pfcStdColor FillColor) |
|
Draws two-dimensional polygon on the screen. Exceptions thrown (but not limited to): pfcXToolkitLineTooLong - You specified more than 100 points.
|
| void | DrawText2D | (pfcPoint3D_ptr StartPoint, xrstring TextLine) |
|
Draws text on the screen If no text attributes are set before this method call the program uses the default text attributes for Creo Parametric. Set the text attributes using the attributes on the pfcDisplay object. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The font specified in a previous call to ProtText*CurrentSet() was not found.
|
| pfcDisplayList3D_ptr | CreateDisplayList3D | (xint Id, pfcDisplayListener_ptr Action) |
|
Creates a three-dimensional display list entity
|
| void | DrawCircle | (pfcPoint3D_ptr Center, xreal Radius) |
|
Draws a circle on the screen Center point and orientation is in the coordinate system of the current object. For example, if the current object is a part, the point must be in the part's coordinate system. If the current object is an assembly, the point must be in the assembly's coordinate system. If the current object is a two dimensional model, circle will be normal to the screen.
|
| void | DrawLine | (pfcPoint3D_ptr Endpoint) |
|
Draws a line on the screen from the last pen position specified to the position specified by the Endpoint argument. The last pen position is specified using this same function previously times or by pfcDisplay::SetPenPosition(pfcPoint3D_ptr) These points are in the coordinate system of the current object. For example, if the current object is a part, the points must be in the part's coordinate system. If the current object is an assembly, the points must be in the assembly's coordinate system.
|
| void | SetPenPosition | (pfcPoint3D_ptr NewPosition) |
|
This method enables you to move to a point without producing any graphical output. This method is used when drawing lines using pfcDisplay::DrawLine(pfcPoint3D_ptr) This point is in the coordinate system of the current object. For example, if the current object is a part, the point must be in the part's coordinate system. If the current object is an assembly, the point must be in the assembly's coordinate system.
|
| void | DrawPolyline | (pfcPoint3Ds_ptr Points) |
|
Draws a series of connected line segments on the screen. These points are in the coordinate system of the current object. For example, if the current object is a part, the points must be in the part's coordinate system. If the current object is an assembly, the points must be in the assembly's coordinate system. The total number of points should be less than 200.
|
| pfcFont_ptr | GetDefaultFont | () |
|
The default font for this session of Creo Parametric. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The function could not find a font name for the specified font identifier.
|
| pfcFont_ptr | GetCurrentFont | () |
| void | SetCurrentFont | (pfcFont_ptr value) |
|
The current font used for text graphics in Creo Parametric. Exceptions thrown (but not limited to): pfcXToolkitNotFound - This means either:
|
| optional pfcFont_ptr | GetFontById | (xint Id) |
|
Creates a font object given a Creo Parametric font integer id. The correspondance between font names and integer identifiers stays constant for a given Creo Parametric session, but may be different for different sessions. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The function could not find a font name for the specified font identifier.
|
| optional pfcFont_ptr | GetFontByName | (xrstring Name) |
|
Returns a font object given a Creo Parametric font name. The correspondance between font names and integer identifiers stays constant for a given Creo Parametric session, but may be different for different sessions. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The function could not find a font identifier for the specified font name.
|
| xreal | GetTextHeight | () |
| void | SetTextHeight | (xreal value) |
|
The text height of created text graphics. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The attributes were not set.
|
| xreal | GetRotationAngle | () |
| void | SetRotationAngle | (xreal value) |
|
The rotation angle of created text graphics (default is 0). Exceptions thrown (but not limited to): pfcXToolkitNotFound - The attributes were not set.
|
| xreal | GetSlantAngle | () |
| void | SetSlantAngle | (xreal value) |
|
The slant angle of created text graphics (default is 0). Exceptions thrown (but not limited to): pfcXToolkitNotFound - The attributes were not set.
|
| xreal | GetWidthFactor | () |
| void | SetWidthFactor | (xreal value) |
|
The width-to-height ratio for created text graphics. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The attributes were not set.
|
| void | ResetTextAttributes | () |
|
Resets the Creo Parametric text attributes to use the default settings
|
| pfcGraphicsMode | GetCurrentGraphicsMode | () |
| void | SetCurrentGraphicsMode | (pfcGraphicsMode value) |
|
The mode used to display graphics (i.e. normal or complement).
|
| pfcStdColor | GetCurrentGraphicsColor | () |
| void | SetCurrentGraphicsColor | (pfcStdColor value) |
|
The standard color used to display new graphics. Exceptions thrown (but not limited to): pfcXToolkitNoChange - The current color is the same as the new color.
|