[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

GENERALIZED DRAWING PRIMITIVE (PHOP,*,STOP,*)

Purpose

Use Generalized Drawing Primitive to specify a two-dimensional generalized drawing primitive (GDP) element and insert it into the open structure following the element pointer or replace the element pointed at by the element pointer with a Generalized Drawing Primitive structure element, depending on the current edit mode.

There are no GDP identifiers currently defined by the graPHIGS API. Therefore, when the graPHIGS API encounters this type of element, it does not display the primitive nor does it generate an error. However, GDPs are available through the GPxxxx subroutines. See The graPHIGS Programming Interface: Subroutine Reference for details.

Language Bindings

C

pgdp (point_list, gdp_id, gdp_data)

Input Parameters

const Ppoint_list *point_list
List of points.

Pint gdp_id
GDP identifier.

const Pgdp_data *gdp_data
GDP data record.

FORTRAN

PGDP (n, pxa, pya, primid, ldr, datrec)

Input Parameters

integer n
Number of points (>=0).

real pxa (*)
x coordinates of points in MC.

real pya (*)
y coordinates of points in MC.

integer primid
GDP identifier.

integer ldr
Dimension of the GDP data record array.

character*80 datrec(ldr)
GDP data record.

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • None


  • [ Previous | Next | Contents | Glossary | Home | Search ]