Index
$config, 281
$message, 178
64 bit, 46
A
ActiveX control
environment variables, 193
events, 178
extended API methods, 185
methods, 180
persistent properties, 178
properties, 174
security, 193
using from other applications, 173
ActiveX control API method
DropObject, 185
GlgGetMajorVersion, 185
GlgGetMinorVersion, 185
SaveImage, 184
SaveImageCustom, 184
SetBrowserObject, 185
ActiveX control environment variable
GLG_ACTIVEX_NON_SECURE_MODE, 193
GLG_ACTIVEX_PRINT_FILE, 193
GLG_ACTIVEX_SAVE_FILE, 193
ActiveX control event
HCallback, 179
Input, 178
Input2, 179
Ready, 179
Select, 179
Trace, 179
Trace2, 179
VCallback, 179
ActiveX control Extended API method
AddObjectAtExt, 186
AddObjectExt, 186
AddObjectToBottomExt, 186
AddObjectToTopExt, 186
CloneObjectExt, 187
ConstrainObjectExt, 187
ContainsObjectExt, 187
CopyObjectExt, 187
CreateObjectExt, 187
DeleteBottomObjectExt, 187
DeleteObjectExt, 187
DeleteTopObjectExt, 187
FindObjectExt, 187
GetDResourceExt, 188
GetDTagExt, 188
GetElementAsString, 187
GetElementExt, 187
GetIndexExt, 188
GetNamedObjectExt, 188
GetNumParents, 188
GetParentExt, 188
GetResourceObjectExt, 188
GetSizeExt, 189
GetSResourceExt, 188
GetSTagExt, 188
GetStringIndexExt, 188
GetTagObjectExt, 188
GetViewportExt, 189
GetXResourceExt, 189
GetXTagExt, 189
GetYResourceExt, 189
GetYTagExt, 189
GetZResourceExt, 189
GetZTagExt, 189
InverseExt, 189
IsDemoExt, 189
IterateExt, 189
LoadObjectExt, 189
LoadWidgetFromFileExt, 189
LoadWidgetFromObjectExt, 189
PrintExt, 190
ReferenceObjectExt, 190
ReleaseObjectExt, 191
ReorderElementExt, 191
ResetHierarchyExt, 191
SaveObjectExt, 191
SetDResourceExt, 191
SetDResourceIfExt, 191
SetDTagExt, 191
SetElementExt, 191
SetGResourceExt, 191
SetGResourceIfExt, 191
SetGTagExt, 191
SetResourceFromObjectExt, 191
SetResourceObjectExt, 191
SetSResourceExt, 192
SetSResourceFromDExt, 192
SetSResourceFromDIfExt, 192
SetSResourceIfExt, 192
SetSTagExt, 192
SetSTagFromDExt, 192
SetStartExt, 192
SetupHierarchyExt, 192
SetViewportExt, 192
SetXformExt, 192
SuspendObjectExt, 192
UnconstrainObjectExt, 192
UpdateExt, 192
ActiveX control method
AboutBox, 184
CreateSelectionExt, 184
CreateSelectionMessage, 185
CreateSelectionNamesExt, 184
CreateTagList, 181
ExportStrings, 183
ExportTags, 183
GetDResource, 180
GetSelectedName, 184
GetSelectionButton, 184
GetSResource, 180
GetSTag, 180
GetXResource, 181
GetXTag, 181
GetYResource, 181
GetZResource, 181
HasResourceObject, 181
HasTagName, 181
HasTagSource, 181
ImportStrings, 183
ImportTags, 183
Print, 183
SendMessage, 182
SendMessageStr, 183
SetDResource, 180
SetDTag, 180
SetGResource, 181
SetGTag, 181
SetSResource, 180
SetSResourceFromD, 180
SetSTag, 180
Update, 181
UpdateGlg, 181
ActiveX Control Properties, 174
using to set drawing resources, 176
ActiveX control property
DataURL, 174
DLinkName, 176
DLinkValue, 177
DrawingFile, 174
DrawingImageFile, 174
DrawingURL, 174
GLinkName, 177
GLinkValue, 177
HProperty0, 176
InputEnabled, 175
PrintFile, 175
SelectEnabled, 175
SetupDataURL, 174
SLinkName, 177
SLinkValue, 177
SupressErrors, 175
TraceEnabled, 175
UpdatePeriod, 175
UseMapURL, 175
UseOpenGL, 175
VProperty0, 176
alias object
creating, 110
animation
manipulating resources, 49
arc
creating, 105
array
creating, 108
ASCII format, 41
converting files, 266
attribute
constraining, 117
attribute object
modifying, 152
attribute objects
creating, 109
Automatic Referencing and Dereferencing, 156
AWT components, 282
C
C++ API, 158
call_data
input callback, 91
Motif input callback, 91
Motif selection callback, 90
selection callback, 89
trace callback, 92
callback
add before hierarchy setup, 31
adding, 30
removing, 31
timer, 31
callback data
see call_data
callback function, 87
example, 96
input, 91
prototype, 88
selection, 89
selection example, 90
trace, 92
callback functions, 42
callbacks
NumInit, 88
ValInit, 88
character string
clone, 74
creating array, 108
GlgConcatResNames, 51
GlgConcatStrings, 52
GlgCreateIndexedName, 52, 53
client
GLG process, 77
clock widget
message object, 293
clone
character string, 74
object, 119
code generation utility, 265
combination transformation
creating, 111
communication server, 77
example, 81
GLG Graphics Builder, 79
name, 78, 250
communication utilities, 84
communications functions
using, 79
concatenate transformation
creating, 113
example, 113
configuration resources, 281
connector object
creating, 105
constrained clone, 119
constraining attributes, 117
Constraint
Xt widget class, 18, 19
container
getting the size, 133
container object
adding to, 115
creating, 107, 109
current position, 116
deleting object from, 125
finding object in, 127
initializing current position, 147
traversing, 134
controlling a widget, 43
coordinate system conversion
screen to world, 145
world to screen, 151
copying
object (see also clone), 119
copying a string, 74
CreateWindow, 24
creating a widget, 41
cross-platform compatibility, 28
Custom Control, 24
creating, 25
example, 25
multiple, 38
OCX, 173
platform-independent substitute, 28
custom error handler, 48
custom event
input callback, 297, 299
D
data generation utility
writing a custom, 84
data objects
creating, 109
database record support
script commands, 257
datagen, 44, 250
DestroyWindow, 24
divide transformation
creating, 111
drawing
creating with a program, 99
generating using a script, 249
generating using Extended API, 249
initializing, 33, 34
loading a sub-section, 36
loading by object ID, 19
loading from a file, 174
loading from file, 35
loading from memory, 35
memory image, 19
printing, 63, 183
saving an image, 64
setting default, 38
using from MS Windows applications, 173
drawing compression, 265
drawing file
save formats, 41
drawing file conversion utility, 266
drawing file format
conversion utility, 266
drawing preparation, 42
dynamic data exchange, 78
dynamic resources, 20
dynamic typing
disabling, 152
E
editing an object, 148
entry point
application program, 29
environment variable
GLG_READ_ONLY_STRINGS, 69
environment variables
ActiveX control environment variables, 193
GLG_FONT_CHARSET, 283, 284
GLG_MAP_SERVER_USAGE, 283
GLG_MULTIBYTE_FLAG, 283
error handler, 68
error log, 48
error log file, 48
error processing, 48
event polling, 36
example
concatenate transformation, 113
creating a polygon, 107
input callback, 96, 97
inter-process communication, 81
matrix transformation, 114
selection callback, 94
selection callback function, 90
expose event, 49
extended API
function descriptions, 101
extended format, 42
converting files, 266
F
file conversion utility, 266
focus messages
propagating to Custom Control, 27
font brower widget
message object, 294
format
ASCII, 41
binary, 41
extended, 42
FormatD transformation
creating, 112
FormatS transformation
creating, 112
frame object
creating, 105
freeing a string, 56
FreeStringID, 185
full clone, 119
G
gcodegen, 19, 42, 45, 265
gconvert, 45
generating data, 250
Generic API, 28
function summary, 28
geometrical resource
query, 57
GetSelectedName, 179
GetSelectionButton, 179
GetStringID, 185
GLG, 48
GLG C++ Bindings, 155
GLG Generic API, 28
functions, 28
Library, 45
GLG Graphics Builder
server name, 79
GLG script, 255
GLG server
disconnecting, 80
GLG_ACTIVEX_NON_SECURE_MODE, 193
glg_control_window, 26
GLG_DIR environment variable, 48
GLG_DISABLE_CPLUS_EXTENDED_API, 158
glg_error.log, 48
GLG_FONT_CHARSET_FLAG, 283, 284
GLG_LOG_DIR environment variable, 48
GLG_MAP_SERVER_USAGE, 283
GLG_MULTIBYTE_FLAG, 283
GLG_READ_ONLY_STRINGS, 69
GlgAddCallback, 30
GlgAddObject, 115
GlgAddObjectAt, 115
GlgAddObjectToBottom, 115
GlgAddObjectToTop, 115
GlgAddTimeOut, 31
GlgAddWorkProc, 32
GlgApi.h, 30
GlgArrowShape, 281
GlgBean
Extended API methods, 210
GlgBean Extended API method
AddObject, 210
AddObjectToBottom, 210
AddObjectToTop, 210
CloneObject, 210
ConstrainObject, 212
ContainsObject, 211
CopyObject, 210
DeleteBottomObject, 211
DeleteObject, 210, 211
DeleteTopObject, 211
GetDResource, 213
GetElement, 211
GetIndex, 211
GetNamedObject, 211
GetNumParents, 213
GetParent, 213
GetResource, 212
GetResourceObject, 212
GetSize, 211
GetSResource, 213
GetStringIndex, 211
GetXResource, 213
GetYResource, 213
GetZResource, 213
Inverse, 213
IsDemo, 214
Iterate, 211
Print, 214
ReleaseObject, 212
ReorderElement, 211
SaveObject, 210
SetDResource, 213
SetGResource, 213
SetResourceFromObject, 214
SetSResource, 213
SetSResourceFromD, 214
SetStart, 211
SetXform, 212
SuspendObject, 212
UnconstrainObject, 212
Update, 213
GlgBean method
GetDrawingURL, 203
Bell, 208
CreateIndexedName, 208
GetAPILog, 204
GetDataURL, 203
GetDrawingObject, 203
GetDResource, 206
GetDTag, 206
GetFullPath, 210
GetHResource0, 205
GetHResource1, 205
GetHResource2, 205
GetHResource3, 205
GetHResource4, 205
GetIgnoreErrors, 206
GetJavaLog, 204
GetResourceLog, 204
GetSetupDataURL, 204
GetSResource, 206
GetSTag, 206
GetTraceHRef, 205
GetUpdatePeriod, 204
GetVResource0, 205
GetVResource1, 205
GetVResource2, 205
GetVResource3, 205
GetVResource4, 205
GetXResource, 206
GetXTag, 206
GetYResource, 206
GetYTag, 206
GetZResource, 206
GetZTag, 206
HasResourceObject, 206
HasTagName, 207
HasTagSource, 207
InitialDraw, 208
InputCallback, 209
IsDemo, 208
LoadObject, 208
LoadWidget, 208
Print, 208
PrintToJavaConsole, 202
ReadyCallback, 209
Reset, 207
ResetHierarchy, 208
SelectCallback, 209
SetAPILog, 204
SetDataURL, 203
SetDrawingObject, 203
SetDrawingURL, 203
SetDResource, 207
SetGResource, 207
SetGTag, 207
SetHResource0, 204
SetHResource1, 204
SetHResource2, 204
SetHResource3, 204
SetHResource4, 204
SetIgnoreErrors, 206
SetInputUpdate, 208
SetJavaLog, 204
SetResourceLog, 204
SetSetupDataURL, 203
SetSResource, 207
SetSResourceFromD, 207
SetSTag, 207
SetTraceHRef, 205
SetUpdatePeriod, 204
SetupHierarchy, 208
SetVResource0, 205
SetVResource1, 205
SetVResource2, 205
SetVResource3, 205
SetVResource4, 205
TraceCallback, 210
Update, 207
UpdateCallback, 209
GlgBean methods, 202
GlgBell, 32
GlgClass.cpp, 158
GlgClass.h, 158
GlgCloneObject, 119
GlgConcatResNames, 51
GlgConcatStrings, 52
GlgConstrainObject, 117
GlgContainsObject, 118
GlgControlC, 169
GlgControlWindowProc, 28
GlgCopyObject, 119
GlgCreateIndexedName, 52
GlgCreateInversedMatrix, 120
GlgCreateLink, 80
GlgCreateObject, 102
GlgCreatePointArray, 120
GlgCreateResourceList, 121
GlgCreateSelection, 124
GlgCreateSelectionMessage, 122
GlgCreateSelectionNames, 123
GlgCreateTagList, 53
GlgDeleteBottomObject, 125
GlgDeleteObject, 125
GlgDeleteObjectAt, 125
GlgDeleteThisObject, 127
GlgDeleteTopObject, 125
GlgDestroyLink, 80
GlgDropObject, 127
GlgEdgeData, 270
GlgEdgeEndNode, 270
GlgEdgeGraphics, 270
GlgEdgeStartNode, 270
GlgEdgeTemplate, 270
GlgEdgeType, 270
GlgError, 54
GlgExportStrings, 55
GlgExportTags, 55
GlgFindObject, 127
GlgFitObject, 128
GlgFree, 56
GlgGetBoxPtr, 129
GlgGetDrawingMatrix, 130
GlgGetDResource, 56
GlgGetDTag, 56
GlgGetElement, 130
GlgGetGResource, 57
GlgGetGTag, 57
GlgGetIndex, 130
GlgGetMajorVersion, 57
GlgGetMatrixData, 131
GlgGetMinorVersion, 57
GlgGetNamedObject, 131
GlgGetParent, 132
GlgGetResourceObject, 132
GlgGetSelectionButton, 58, 89
GlgGetSize, 133
GlgGetSResource, 58
GlgGetSTag, 58
GlgGetStringIndex, 133
GlgGetTagObject, 133
GlgGetWindowViewport, 26
GlgGISConvert, 59
GlgGISGetElevation, 60
GlgGraphAddEdge, 275
GlgGraphAddNode, 274
GlgGraphCreate, 272
GlgGraphCreateGraphics, 273
GlgGraphCreateRandom, 279
GlgGraphDefEdgeIcon, 271
GlgGraphDefNodeIcons, 270
GlgGraphDefViewportIcon, 271
GlgGraphDeleteEdge, 275
GlgGraphDeleteNode, 275
GlgGraphDestroy, 243, 272
GlgGraphDestroyGraphics, 273
GlgGraphDimensions, 271
GlgGraphEdge
java class, 241
GlgGraphEdge Macros, 270
GlgGraphEdgeArray, 271
GlgGraphEndTemperature, 271
GlgGraphError, 279
GlgGraphFindEdge, 277
GlgGraphFindNode, 277
GlgGraphFinished, 271
GlgGraphGetNodePosition, 276
GlgGraphGetUntangle, 278
GlgGraphGetViewport, 273
GlgGraphIncreaseTemperature, 278
GlgGraphIteration, 271
GlgGraphLayout
java class, 242
GlgGraphLayout Macros, 270
GlgGraphNode
java class, 240
GlgGraphNode Macros, 269
GlgGraphNodeArray, 271
GlgGraphNodesConnected, 277
GlgGraphPalette, 271
GlgGraphScramble, 279
GlgGraphSetDefaultPalette, 272
GlgGraphSetNodePosition, 276
GlgGraphSetPalette, 272
GlgGraphSetUntangle, 278
GlgGraphSpringIterate, 273
GlgGraphTerminate, 272
GlgGraphUnloadDefaultPalette, 273
GlgGraphUpdate, 274
GlgGraphUpdateRate, 271
GlgHasResourceObject, 60
GlgHasTagName, 61
GlgHasTagSource, 61
GlgImportStrings, 61
GlgImportTags, 62
GlgInit, 33, 34
GlgInitialDraw, 34
GlgIterate, 134
GlgLayoutObjects, 135
GlgLinkActive, 80
GlgLinkC, 168
GlgLoadObject, 137
GlgLoadObjectFromImage, 138, 265
GlgLoadWidgetFromFile, 35
GlgLoadWidgetFromImage, 35
GlgLoadWidgetFromObject, 36
GlgMain, 29
GlgMain.h, 29
GlgMainLoop, 36
GlgMoveObject, 138
GlgMoveObjectBy, 139
GlgNodeAnchor, 270
GlgNodeData, 269
GlgNodeDisplayPosition, 269
GlgNodeGraphics, 270
GlgNodeLinkArray, 270
GlgNodePosition, 269
GlgNodeTemplate, 270
GlgNodeType, 269
GlgObject Java class Extended API method
AddObject, 222
AddObjectToBottom, 222
AddObjectToTop, 222
CloneObject, 222
ConstrainObject, 224
ContainsObject, 222
CopyObject, 221
CreateInversedMatrix, 225
CreatePointArray, 228
CreateResourceList, 228
CreateSelection, 228
CreateSelectionMessage, 227
CreateSelectionNames, 227
DeleteBottomObject, 222
DeleteObject, 222
DeleteTopObject, 222
GetBox, 225
GetDrawingMatrix, 225
GetElement, 223
GetIndex, 223
GetNamedObject, 223
GetNumParents, 225
GetParent, 225
GetResource, 224
GetResourceObject, 224
GetSize, 223
GetStringIndex, 223
GetTagObject, 224
Inverse, 223
Iterate, 223
ReleaseObject, 225
ReorderElement, 223
SaveObject, 222
SetElement, 223
SetResource, 224
SetStart, 223
SetXform, 223
SuspendObject, 225
TransformPoint, 226, 227
UnconstrainObject, 225
GlgObject Java class Extended API methods, 221
GlgObject Java class method
AddListener, 220
Bell, 221
ConcatResNames, 217
CreateImageCustom, 217
CreateIndexedName, 217
CreateTagList, 219
ExportStrings, 216
ExportTags, 216
GetDResource, 217
GetDTag, 217
GetGResource, 218
GetGTag, 218
GetSResource, 218
GetStackTraceAsString, 221
GetSTag, 218
GISConvert, 219
GISGetElevation, 220
HasResourceObject, 219
HasTagName, 219
HasTagSource, 219
ImportStrings, 216
ImportTags, 216
Init, 220
InitialDraw, 215
LoadObject, 215
LoadWidget, 215
Lock, 221
NativePrint, 217
Print, 217
Rand, 221
Reset, 216
ResetHierarchy, 215
SendMessage, 216
SetBrowserObject, 221
SetDResource, 218
SetDTag, 218
SetErrorHandler, 221
SetGResource, 218
SetGTag, 218
SetImageSize, 221
SetResourceFromObject, 219
SetSResource, 218
SetSResourceFromD, 219
SetSTag, 218
SetSTagFromD, 219
SetupHierarchy, 214
Sync, 220
Terminate, 220
Unlock, 221
UnlockThread, 221
Update, 215
GlgObject Java class methods, 214
GlgObject Java class variables, 214
GlgObjectC, 159
GlgOnDrawMetafile, 62
GlgOnPrint, 63
GlgPositionObject, 139
GlgPrint, 63
GlgRand, 36
GlgReferenceObject, 140
GlgReleaseObject, 142
GlgRemoveTimeOut, 37
GlgRemoveWorkProc, 37
GlgReorderElement, 142
GlgReset, 64
GlgResetHierarchy, 37
GlgRotateObject, 143
GlgSaveImage, 64
GlgSaveImageCustom, 64
GlgSaveObject, 144
GlgScaleObject, 144
GlgScreenToWorld, 145
GlgSendMessage, 66
GlgSessionC, 158
GlgSetBrowserObject, 66
GlgSetDefaultViewport, 38
GlgSetDResource, 67
GlgSetDResourceIf, 67
GlgSetDTag, 67
GlgSetElement, 145
GlgSetGISZoom, 74
GlgSetGResourceIf, 68
GlgSetGTag, 68
GlgSetMatrixData, 146
GlgSetResourceObject, 146
GlgSetSResourceFromDIf, 71
GlgSetSResourceIf, 70
GlgSetSTag, 70
GlgSetSTagFromD, 71
GlgSetStart, 147
GlgSetupHierarchy, 38
GlgSetXform, 147
GlgSetZoom, 72, 182
GlgSleep, 38
GlgStrClone, 74
GlgSuspendObject, 148
GlgSwingUsage, 282
GlgSync, 81
GlgTerminate, 39
GlgTransformObject, 149
GlgTransformPoint, 150
GlgUnconstrainObject, 150
GlgUpdate, 75
GlgWinPrint, 75
GlgWorldToScreen, 151
GlgWrapperC, 171
glm_error.log, 48
GLM_LOG_DIR environment variable, 48
GlmConvert, 76
global configuration resources, 281
global resources
GlgCompressFormat, 281
GlgGridPolygon, 281
GlgPickResolution, 281
GlgPSLevel, 281
GlgSaveFormat, 281
GlgSearchPath, 282
Graph Layout
java package, 240
grid attributes
defining from a program, 281
group
adding to, 115
creating, 108
current position, 116
deleting object from, 125
finding object in, 127
getting the size, 133
initializing current position, 147
traversing, 134
GTK, 47
I
Image generation, 64
image object
creating, 106
input
callback function, 87
input callback, 91
adding, 31
browser, 295
button, 288
clock, 293
custom event, 297
example, 94, 96, 97
font browser, 294
knob, 288
list, 291
menu, 292
object selection, 299
option, 292
palette, 294
resource browser, 295
slider, 287
text, 290, 291
timer, 293
window event, 300
Interaction handlers
adding custom handlers from a program, 282
invoking the file conversion utility, 266
iterate
over members of a group, 134
J
Java
using with Swing and AWT, 282
Java applications, 41
Java bean, 195, 196
Java class
Attribute classes, 238
Data Value classes, 239
Glg objects classes, 230
Glg utility classes, 228
GlgArc, 231
GlgBean, 200
GlgCube, 229
GlgDataPoint, 238
GlgDataValue, 239
GlgDDataPoint, 238
GlgDDataValue, 239
GlgDynArray, 231
GlgFont, 231
GlgFontTable, 232
GlgFrame, 232
GlgFunction, 232
GlgGDataPoint, 238
GlgGDataValue, 239
GlgHistory, 233
GlgImage, 233
GlgJBean, 200
GlgJLWBean, 200
GlgMarker, 234
GlgMatrix, 240
GlgObject, 214
GlgParallelogram, 234
GlgPoint, 228, 229
GlgPolygon, 235
GlgPolyline, 235
GlgPolySurface, 234
GlgReference, 235
GlgScreen, 235
GlgSDataPoint, 238
GlgSDataValue, 239
GlgSeries, 236
GlgSpline, 236
GlgSquareSeries, 237
GlgTag, 237
GlgText, 237
GlgTraceData, 230
GlgViewport, 237
GlgXform, 238
Java interface
GlgErrorHandler, 200
GlgInputListener, 198
GlgSelectListener, 198
GlgTraceListener, 198
L
libglg, 45
libglg_x11, 47
linear data
generating, 253
linear transformation
creating, 111
link
using, 77
link ID, 77
linking
MS Windows, 47
static, 47
under X Windows, 45
list
creating, 108
list transformation
creating, 111
list widget
message object, 291
load drawing file, 137
load drawing from memory, 138
loading a widget into memory, 42
loading drawing files, 41
loading from memory image
creating the image, 265
logging errors, 48
M
main loop, 36
marker
creating, 106
matrix
invert, 120
matrix transformation
creating, 112
example, 114
invert matrix, 120
query matrix, 130
memory image
creating, 265
memory management
freeing unused memory, 56
reference count, 101
menu widget
message object, 292
message object, 93, 285
browser, 295
button, 288
clock, 293
custom event, 297
font browser, 294
input callback data, 91
knob, 288
list, 291
menu, 292
object selection, 299
option, 292
palette, 294
resource browser, 295
slider, 287
text, 290, 291
timer, 293
window event, 300
messages
propagating with Custom Control, 27
MFC
OnPrint method, 62, 63
Motif
selection callback, 90
Motif input callback, 91
Motif wrapper widget, 18
mouse buttons, 58
move transformation
creating, 112
MS Windows
printing, 75
O
object
adding to container, 115
align and layout operations, 135
bounding box, 129
copying, 119
creation, 102
deleting from container, 125
dereferencing, 127
editing, 148
example, 107
find parent, 132
finding, 127
loading from file, 137
loading from memory, 138
parent, 132
release, 142
saving to file, 144
selection, 123, 124
setting width and height, 135
unconstraining, 150
object hierarchy
creating, 22
resetting, 37
setting up, 38
object ID, 19, 51
obtaining, 23, 26
object selection
input callback, 299
OpenGL libraries, linking with, 45
optimization
inter-process communication, 78
option widget
message object, 292
P
palette messages
propagating to Custom Control, 27
palette widget
message object, 294
pan, 72
parallelogram
creating, 106
parent object, 132
path transformation
creating, 113
pick resolution
defining from a program, 281
polygon
as container, 115, 116
creating, 106
polyline
creating, 106
polysurface
creating, 106
PostScript, 63
setting level from a program, 281
printing
drawing, 63, 64
program entry point, 29
programming tools, 45
programming utilities, 44
R
random data
generating, 253
random number generation, 36
range transformation
creating, 111
read-only strings mode, 69
reference count, 101
decrementing, 127
incrementing, 140
reference object
creating, 109
release object, 142
remote procedure calls, 79
resetting a widget, 64
resource
composite name, 51
configuration, 281
create list, 121
enumerated name, 52
existence check, 60
geometrical, 57
query object ID, 132
querying, 180
scalar, query, 56
scalar, setting, 67
setting, 152, 180
setting initial value, 25
string, query, 58, 62, 63
update values, 75
resource browser widget
message object, 295
setting an object to browse, 66
resources
affecting hierarchy, 43
wrapper widget, 19
wrapper widget summary, 22
rotate transformation
creating, 112
S
save format
conversion utility, 266
enabling compression from a program, 281
specifying from a program, 281
save formats, 41
saving object to file, 144
scalar resource
query, 56
setting, 66, 67
scalar transformation
creating, 111
scale transformation
creating, 112
scriping, 249
script, 255
script commands, 255
add_copy, 263
add_field, 257
add_new, 263
create, 261
create_record, 257
delete, 264
delete_record, 258
drop, 261
end_read, 258
get_tag, 259
get_value, 259
GLG Graphics Builder, 255
load_object, 260
print, 256
read_one_record, 258
read_records, 258
reference, 261
select_container, 260
select_element, 260
select_object, 260
set_resource_object, 260
set_tag, 256
set_value, 255
sync, 256
update, 256
Search path
setting from a program, 282
Secure mode, 193
security
ActiveX control security, 193
selecting named objects, 123
selecting objects, 124
selection callback, 89
adding, 31
example, 90, 94
multiple viewports, 31
query, 58
series
creating, 108
server
checking connection, 80
connecting, 80
example, 81
name, 78
synchronizing, 81
server name, 250
GLG Graphics Builder, 79
shallow clone, 120
shear transformation
creating, 112
sine function
generating data, 253
sleep, 38
slider widget
message object, 287
square series
creating, 108
stdafx.h, 158
stochastic simulation, 36
stopwatch widget
message object, 293
string
copying, 74
freeing, 56
string array
creating, 108
string manipulation
GlgConcatResNames, 51
GlgConcatStrings, 52
GlgCreateIndexedName, 52
string resource
query, 58
string tag
query, 58
strong clone, 120
strong typing
enabling, 152
supplying animation data, 250
suspending
application program, 38
suspension
for editing, 148
release, 142
Swing components, 282
T
tag
animating with data, 253
existence check, 61
geometrical, 57
query by tag name or tag source, 133
scalar, query, 56
scalar, setting, 67
tag list query
GlgCreateTagList, 53
text object
creating, 106
text widget
message object, 290, 291, 293
threshold transformation
creating, 111
timer callback, 31
removing, 37
timer ID, 31
timer procedure
adding, 31
timer transformation
creating, 111
timer widget
message object, 293
tools, 45
trace callback, 124
trace callbacks, 92
transfer transformation
creating, 112
transformation
adding and deleting, 147
all object points, 149, 227
creating, 110
fitting an object, 128
moving an object by a vector, 138
moving an object by distance, 139
positioning an object, 139
rotating an object, 143
scaling an object, 144
single point, 150
transformation matrix
invert, 120
query, 130
translation transformation
creating, 112
V
V resources, 43
viewport
as container, 115, 116
communication server, 77
creating, 108
handle, 51
server, 77
server name, 78, 81
viewport handle, 26
obtaining, 23, 26
W
weak clone, 120
widget
controlling, 43
creating, 41
destroying, 39
displaying, 42
initial drawing, 34
initializing, 33
loading from file, 35
loading from memory, 35
loading from object, 36
loading into memory, 42
pan, 72
printing, 63, 64
resetting, 64
update, 75
using from MS Windows applications, 173
zoom, 72
window procedure, 28
example, 27
work procedure
adding, 32
removing, 37
Wrapper, 17
wrapper See Custom Control
Wrapper Widget, 17
wrapper widget, 18
callback resources, 21
creating, 18
destroying, 24
dynamic resources, 20
multiple, 38
platform-independent substitute, 28
resource summary, 23
resources, 19
sequence of events, 22
setting drawing resources, 20
writable strings mode, 69
X
X resources
using to set drawing resources, 21
XglgGetWidgetViewport, 18, 23
XmManager, 18, 19
Xt wrapper widget, 18
XtCreateWidget, 18
XtDestroyWidget, 18, 24
XtError, 48
XtNglgDrawingFile, 19
XtNglgDrawingImage, 19
XtNglgDrawingObject, 19
XtNglgHResource0, 20
XtNglgImageSize, 19
XtNglgVResource0, 20
XtSetArgs, 20
XtSetErrorHandler, 48