PtLine
![]() |
![]() |
![]() |
![]() |
PtLine
A line
Class hierarchy:
PtWidget --> PtBasic --> PtGraphic --> PtLine
For more information, see the diagram of the widget hierarchy.
PhAB icon:
Public header:
<photon/PtLine.h>
Description:
You can use PtLine to create line primitives.

A PtLine widget.
A line is defined by the origin and two points:
- Pt_ARG_ORIGIN
- Origin for the line's coordinate space.
- Pt_ARG_POINTS
- The line's start and end points. If you don't set these points, no line is rendered.
For more information, see PtGraphic.
Inherited resources:
If the widget modifies an inherited resource, the "Default override" column indicates the new value. This modification affects any subclasses of the widget.
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)