graphix

Help Contents graphix
geomex graphix.vector

graphix

Module:    Elica Graphix Library
File name: Graphix.eli
DLL name:  Graphix.dll
Modified:  May 17, 2000
Author:    Pavel Christov Boychev
Version:   5.0
E-mail:    pavel@elica.net

Copyright © 1999-2000 Elica Group

This module provides basic functions to draw a set of objects. These objects are aimed to be used either standalone or within other, user-defined objects.

This module creates the domain "graphix".

Attributes an object can have:

color (rgb)	color of point, line segment, monocolored polygon
x (number)	red color component
y (number)	green color component
z  (number)	blue color component
width (number)	width of point or line

smooth (boolean)	draft(="False) or precise(="True) drawing
stipple (number)	magnification number for 1D pattern
pattern (word)	1D pattern 16-bit mask for line
pattern (list)	2D pattern 32x32-bit mask for polygon
lighting (boolean)  "true or "false . If "true lighting effects are computed.
shininess (number)  OpenGL shininess. range: 0..128
specularity  (number)  OpenGL`s specularity of the material
precision (number)	(relative) number of points to construct an object
mode (number)	draw object as points(=0), lines(=1), polygons(=2)
texture (word)	name of texture BMP file
scale (number)	texture scale factor
spin (number)	texture spin angle (degrees)
smooth (boolean)	draft(="False) or precise(="True) texture drawing
range		range for isogons
fromangle (number)	starting angle
toangle (number)	ending angle
mode (number)	arc (=0); sector (=1) or pie(=2)
light (boolean)	no lighting(=False) or lighting effects(=True)
hollow (boolean)	full objects(=False) with hole(=True)
normal (number)	normal's direction and length (affects lighting) not for polygons
normal (vector)	normal's direction and length (affects lighting) for polygons
multicolor (boolean)	turn on vertex color for polygons

graphix

Examples:

References:

geomex graphix.vector