|
| GlgObject | GlgAddAnnotation (GlgObject object, char *resource_name, GlgObject annotation, double position_x, double position_y, GlgBoolean add_box) |
| | Adds an annotation to a chart object. More...
|
| |
| GlgObject | GlgAddAttachmentPoint (GlgObject object, double dx, double dy, double dz) |
| | Adds an attachment point to a reference object and returns the added point. More...
|
| |
| void | GlgAddCallback (GlgObject viewport, GlgCallbackType type, GlgCallbackProc callback, GlgAnyType client_data) |
| | Adds a callback function to a viewport. More...
|
| |
| GlgBoolean | GlgAddDataSampleNode (GlgObject plot, GlgDataSampleNode *node, GlgBoolean quick_mode) |
| | Adds a data sample node directly to a plot's data buffer. More...
|
| |
| void | GlgAddHandler (char *handler_name, GlgHandler func) |
| | Registers a custom interaction handler. More...
|
| |
| GlgBoolean | GlgAddObject (GlgObject container, GlgAnyType object, GlgAccessType access_type, GlgPositionModifier pos_modifier) |
| | A generic function for adding an object to a container. More...
|
| |
| GlgBoolean | GlgAddObjectAt (GlgObject container, GlgObject object, GlgLong index) |
| | Adds an object at the specified position inside the container. More...
|
| |
| GlgBoolean | GlgAddObjectToBottom (GlgObject container, GlgObject object) |
| | Adds an object at the end of the container. More...
|
| |
| GlgBoolean | GlgAddObjectToTop (GlgObject container, GlgObject object) |
| | Adds an object at the beginning of the container. More...
|
| |
| GlgObject | GlgAddPlot (GlgObject object, char *resource_name, GlgObject plot) |
| | Adds a plot line to a chart object. More...
|
| |
| GlgObject | GlgAddTimeLine (GlgObject object, char *resource_name, GlgObject time_line, double time_stamp) |
| | Adds a vertical time line to a chart object. More...
|
| |
| GlgLong | GlgAddTimeOut (GlgAppContext context, GlgLong interval, GlgTimerProc callback, GlgAnyType client_data) |
| | Adds an interval timer in a platform-independent way. More...
|
| |
| GlgLong | GlgAddWorkProc (GlgAppContext context, GlgWorkProc work_proc, GlgAnyType client_data) |
| | Adds a work procedure in a platform-independent way. More...
|
| |
| void * | GlgAlloc (GlgLong size) |
| | Allocates memory using the Toolkit's memory allocator. More...
|
| |
| GlgBoolean | GlgArrayAddAt (GlgObject object, GlgAnyType elem, GlgLong add_index) |
| | Insert an element at the specified position in the Simple Array. More...
|
| |
| GlgBoolean | GlgArrayAddToBottom (GlgObject object, GlgAnyType elem) |
| | Add an element at the end of the Simple Array. More...
|
| |
| GlgBoolean | GlgArrayAddToTop (GlgObject object, GlgAnyType elem) |
| | Add an element at the beginning of the Simple Array. More...
|
| |
| GlgObject | GlgArrayCreate (GlgLong init_size, GlgLong increment) |
| | Creates a Simple Array object. More...
|
| |
| GlgBoolean | GlgArrayDeleteAt (GlgObject object, GlgLong delete_index) |
| | Deletes an element at the specified position in the Simple Array. More...
|
| |
| GlgBoolean | GlgArrayDeleteFirst (GlgObject object) |
| | Deletes the first element of the Simple Array. More...
|
| |
| GlgBoolean | GlgArrayDeleteLast (GlgObject object) |
| | Deletes the last element of the Simple Array. More...
|
| |
| void | GlgArrayFlush (GlgObject object, GlgLong size) |
| | Set the size of a Simple Array. More...
|
| |
| GlgAnyType | GlgArrayGetElement (GlgObject object, GlgLong index) |
| | Returns the element at the specified position in a Simple Array. More...
|
| |
| GlgLong | GlgArrayGetIndex (GlgObject object, GlgAnyType elem) |
| | Returns the index of the first occurrence of an element in the Simple Array. More...
|
| |
| GlgLong | GlgArrayGetSize (GlgObject object) |
| | Queries the size of a Simple Array. More...
|
| |
| GlgBoolean | GlgArraySetElement (GlgObject object, GlgLong elem_index, GlgAnyType elem) |
| | Sets the value of an element at the specified position in a Simple Array. More...
|
| |
| void | GlgBell (GlgObject viewport) |
| | Produces an audio bell in a platform-independent way. More...
|
| |
| void | GlgChangeObject (GlgObject object, char *resource_path) |
| | Sends a change message to an object without actually changing the object's properties. More...
|
| |
| GlgBoolean | GlgClearDataBuffer (GlgObject object, char *resource_name) |
| | Clears accumulated data samples of a real-time chart or one of its plots. More...
|
| |
| GlgObject | GlgCloneObject (GlgObject object, GlgCloneType clone_type) |
| | Creates a specialized copy (clone) of an object. More...
|
| |
| char * | GlgConcatResNames (char *resource_name1, char *resource_name2) |
| | Creates a composite resource path from two components. More...
|
| |
| char * | GlgConcatStrings (char *string1, char *string2) |
| | Concatenates two character strings. More...
|
| |
| GlgBoolean | GlgConfigureWindow (GlgObject object, GlgLong x, GlgLong y, GlgLong width, GlgLong height, GlgConfigureMask mask, GlgObject parent) |
| | Sets the size and/or position of a viewport's window. More...
|
| |
| GlgBoolean | GlgConstrainObject (GlgObject from_attribute, GlgObject to_attribute) |
| | Constrains an attribute or a point of an object to an attribute or a point of another object. More...
|
| |
| GlgBoolean | GlgContainsObject (GlgObject container, GlgObject object) |
| | Checks if object belongs to a container. More...
|
| |
| GlgLong CALLBACK | GlgControlWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| | Windows only: Passes messages to the GLG Custom Control. More...
|
| |
| GlgObject | GlgConvertViewportType (GlgObject object) |
| | Converts a viewport to a light viewport, or a light viewport to a viewport. More...
|
| |
| GlgObject | GlgCopyObject (GlgObject object) |
| | Creates a copy of an object. More...
|
| |
| GlgObject | GlgCreateAlarmList (GlgObject object) |
| | Creates and returns a list of alarms defined in the drawing. More...
|
| |
| GlgObject | GlgCreateChartSelection (GlgObject object, GlgObject plot, double x, double y, double dx, double dy, GlgBoolean screen_coord, GlgBoolean include_invalid, GlgBoolean x_priority) |
| | Selects a chart's data sample closest to the specified position and returns a message object containing the selected sample's information. More...
|
| |
| GlgDataSampleNode * | GlgCreateDataSampleNode (GlgObject plot, GlgBoolean extended) |
| | Creates a data sample node structure to be used with the GlgAddDataSampleNode function. More...
|
| |
| char * | GlgCreateIndexedName (char *template_name, GlgLong resource_index) |
| | Creates a string with a name of an enumerated resource. More...
|
| |
| GlgObject | GlgCreateInversedMatrix (GlgObject matrix) |
| | Inverts a matrix object. More...
|
| |
| GlgObject | GlgCreateMessage (GlgObject viewport) |
| | Creates a GLG message object that may be sent by an interaction handler to a parent handler or a parent's Input callback via GlgSendMessageToParent. More...
|
| |
| GlgObject | GlgCreateObject (GlgObjectType type, char *name, GlgAnyType param1, GlgAnyType param2, GlgAnyType param3, GlgAnyType param4) |
| | Creates a GLG object of a specified type. More...
|
| |
| GlgObject | GlgCreatePointArray (GlgObject object, GlgControlPointType type) |
| | ADVANCED: Creates and returns an array containing all control points of an object. More...
|
| |
| char * | GlgCreateRelativePath (char *base_path, char *filename, GlgBoolean return_null_if_not_found, GlgBoolean check_if_exists) |
| | Creates a filepath relative to the specified base path and provides options for checking if the path points to an existing file. More...
|
| |
| GlgObject | GlgCreateResourceList (GlgObject object, GlgBoolean list_named_res, GlgBoolean list_def_attr, GlgBoolean list_aliases) |
| | Returns a list of an object's resources. More...
|
| |
| char * | GlgCreateResourcePath (GlgObject object, GlgObject parent) |
| | Returns a relative resource path that can be used to access the object as a resource of the parent object. More...
|
| |
| GlgObject | GlgCreateSelection (GlgObject top_vp, GlgRectangle *rectangle, GlgObject selected_vp) |
| | Returns a list of the objects intersecting a given rectangle. More...
|
| |
| GlgObject | GlgCreateSelectionMessage (GlgObject top_vp, GlgRectangle *rectangle, GlgObject selected_vp, GlgSelectionEventType selection_type, GlgLong button) |
| | Searches for an Action object that would be activated by the user interaction event. More...
|
| |
| GlgObject | GlgCreateSelectionNames (GlgObject top_vp, GlgRectangle *rectangle, GlgObject selected_vp) |
| | Returns a list of names of objects intersecting a given rectangle. More...
|
| |
| GlgObject | GlgCreateTagList (GlgObject object, GlgBoolean unique_tag_sources) |
| | Creates and returns a list of data tags defined in the drawing. More...
|
| |
| char * | GlgCreateTooltipString (GlgObject object, double x, double y, double dx, double dy, char *format) |
| | Creates and returns a chart or axis tooltip string corresponding to the specified position in screen coordinates. More...
|
| |
| GlgBoolean | GlgDeleteAnnotation (GlgObject object, char *resource_name, GlgObject annotation, double position_x, double position_y) |
| | Deletes an annottion from a chart. More...
|
| |
| GlgBoolean | GlgDeleteBottomObject (GlgObject container) |
| | Deletes an object from the bottom of the container. More...
|
| |
| GlgBoolean | GlgDeleteObject (GlgObject container, GlgAnyType object, GlgAccessType access_type, GlgPositionModifier pos_modifier) |
| | A generic function for deleting an object from a container. More...
|
| |
| GlgBoolean | GlgDeleteObjectAt (GlgObject container, GlgLong index) |
| | Deletes an object from the specified position in the container. More...
|
| |
| GlgBoolean | GlgDeletePlot (GlgObject object, char *resource_name, GlgObject plot) |
| | Deletes a plot line from a chart. More...
|
| |
| GlgBoolean | GlgDeleteTags (GlgObject object, GlgTagType tag_type_mask) |
| | Deletes all object's data tags or all object's public properties. More...
|
| |
| GlgBoolean | GlgDeleteThisObject (GlgObject container, GlgObject object) |
| | Finds and deletes an object from a container. More...
|
| |
| GlgBoolean | GlgDeleteTimeLine (GlgObject object, char *resource_name, GlgObject time_line, double time_stamp) |
| | Deletes a time line from a chart. More...
|
| |
| GlgBoolean | GlgDeleteTopObject (GlgObject container) |
| | Deletes an object from the beginning of the container. More...
|
| |
| void | GlgDialogInitialDraw (GlgObject object, GlgObject parent) |
| | Displays a GLG drawing as a floating dialog for the first time after it has been created or loaded. More...
|
| |
| void | GlgDialogSetupHierarchy (GlgObject object, GlgObject parent) |
| | Provides an explicit request to set up the object hierarchy of a drawing displayed in a dialog window. More...
|
| |
| void | GlgDropObject (GlgObject object) |
| | Decrements an object's reference count. More...
|
| |
| GlgBoolean | GlgEnableAttachmentPoints (GlgBoolean state) |
| | Controls the use of attachment points to determine object extents when the objects are aligned. More...
|
| |
| void | GlgError (GlgErrorType type, char *message) |
| | Displays error and information messages using the currently installed error handler. More...
|
| |
| GlgBoolean | GlgExportPostScript (GlgObject object, char *file, double x, double y, double width, double height, GlgBoolean portrait, GlgBoolean stretch, GlgBoolean center) |
| | Generates a PostScript output of the current state of the viewport's graphics. More...
|
| |
| GlgLong | GlgExportStrings (GlgObject object, char *filename, GlgLong separator1, GlgLong separator2) |
| | Writes all text strings defined in the drawing to a string translation file. More...
|
| |
| GlgLong | GlgExportTags (GlgObject object, char *filename, GlgLong separator1, GlgLong separator2) |
| | Writes tag names and tag sources of all data tags defined in a drawing to a tag translation file. More...
|
| |
| char * | GlgFindFile (char *filename, char *path, GlgBoolean check_glg_path) |
| | Searches for a file, first in the current directory, then in the specified directory and then in the GLG search path. More...
|
| |
| GlgObject | GlgFindObject (GlgObject container, GlgAnyType object, GlgSearchType search_type, GlgAnyType reserved) |
| | A generic find function that finds an object in a container. More...
|
| |
| GlgBoolean | GlgFindObjects (GlgObject object, GlgFindObjectsData *data) |
| | Finds either one or all parents or children of the specified object that match the supplied search criteria. More...
|
| |
| GlgBoolean | GlgFitObject (GlgObject object, GlgCoordType coord_type, GlgCube *box, GlgBoolean keep_ratio) |
| | Fits an object to the specified rectangular area. More...
|
| |
| void | GlgFlush (GlgObject container, GlgLong size) |
| | Set the size of the container object. More...
|
| |
| void | GlgFree (void *ptr) |
| | Frees memory used to store character strings or allocated using GlgAlloc. More...
|
| |
| void | GlgFreeDataSampleNode (GlgObject plot, GlgDataSampleNode *node) |
| | Returns a data sample node to the plot cache for reuse, if possible. More...
|
| |
| PlatformDependent | GlgGenerateImage (GlgObject object, char *resource_name, PlatformDependent image) |
| | Creates and returns an image of the current state of the viewport's graphics. More...
|
| |
| PlatformDependent | GlgGenerateImageCustom (GlgObject object, char *resource_name, PlatformDependent image, GlgLong x, GlgLong y, GlgLong width, GlgLong height, GlgLong gap) |
| | Creates an image of the specified rectangular region of the viewport's graphics. More...
|
| |
| GlgObject | GlgGetAction (GlgObject object, GlgActionType action_type, GlgTriggerType trigger_type, GlgLong button, GlgArmedStateType armed_state, GlgDoubleClickStateType double_click_state, char *action, char *subaction, GlgBoolean enabled_only) |
| | Returns the first found action with the matching parameters attached to the object. More...
|
| |
| GlgObject | GlgGetAlarmObject (GlgObject object, char *alarm_label, GlgBoolean single_alarm, GlgLong reserved) |
| | Returns an alarm object with a specified alarm label, or a list of alarms matching the specified alarm label pattern. More...
|
| |
| GlgCube * | GlgGetBoxPtr (GlgObject object) |
| | Returns an object's bounding box extent in screen coordinates. More...
|
| |
| GlgBoolean | GlgGetChartDataExtent (GlgObject object, char *resource_name, GlgMinMax *min_max, GlgBoolean x_extent, GlgBoolean visible_only) |
| | Queries the minimum and maximum extent of the data accumulated in a chart or in one of its plots in the specified X or Y direction. More...
|
| |
| GlgDataType | GlgGetDataType (GlgObject data_object) |
| | Returns a data object's data type. More...
|
| |
| char * | GlgGetDir (char *path) |
| | Returns the directory portion of the specified path. More...
|
| |
| GlgObject | GlgGetDrawingMatrix (GlgObject object) |
| | ADVANCED: Returns transformation matrix used to draw the object. More...
|
| |
| GlgBoolean | GlgGetDResource (GlgObject object, char *resource_name, double *value) |
| | Returns the current value of a D (double) resource. More...
|
| |
| GlgBoolean | GlgGetDTag (GlgObject object, char *tag_source, double *value) |
| | Returns the current value of a D (double) tag. More...
|
| |
| GlgObject | GlgGetElement (GlgObject container, GlgLong index) |
| | Returns the object at the specified position in a container. More...
|
| |
| char * | GlgGetExePath (void) |
| | Returns the path of the program's executable. More...
|
| |
| GlgBoolean | GlgGetGResource (GlgObject object, char *resource_name, double *x_value, double *y_value, double *z_value) |
| | Returns the current value of a G (geometrical or color) resource. More...
|
| |
| GlgBoolean | GlgGetGTag (GlgObject object, char *tag_source, double *x_value, double *y_value, double *z_value) |
| | Returns the current value of a G (geometrical or color) tag. More...
|
| |
| void * | GlgGetHandlerData (GlgObject viewport) |
| | Retrieves stored data used by a custom handler instance. More...
|
| |
| GlgLong | GlgGetIndex (GlgObject container, GlgObject object) |
| | Returns index of the first occurrence of an object in a container. More...
|
| |
| GlgObject | GlgGetLegendSelection (GlgObject object, double x, double y) |
| | Returns the plot object corresponding to the legend item at the specified position, if any. More...
|
| |
| GlgBoolean | GlgGetLParameter (char *name, GlgLong *value) |
| | Queries a value of a global parameter. More...
|
| |
| GlgLong | GlgGetMajorVersion (void) |
| | Returns the library's major version number. More...
|
| |
| void | GlgGetMatrixData (GlgObject matrix, GlgMatrixData *matrix_data) |
| | ADVANCED: Queries matrix coefficients. More...
|
| |
| GlgLong | GlgGetMinorVersion (void) |
| | Returns the library's minor version number. More...
|
| |
| GlgBoolean | GlgGetModifierState (GlgModifierType modifier) |
| | Provides a cross-platform way to query the state of the Control and Shift keys, as well as the type of the mouse click: a single or double click. More...
|
| |
| GlgObject | GlgGetNamedObject (GlgObject container, char *name) |
| | Finds an object with the specified name inside the container of GLG objects and returns it. More...
|
| |
| GlgObject | GlgGetNamedPlot (GlgObject object, char *resource_name, char *plot_name) |
| | Given a name of a chart's plot, returns the plot's object ID. More...
|
| |
| GlgAnyType | GlgGetNativeComponent (GlgObject object, char *resource_name, GlgComponentQueryType type) |
| | ADVANCED: Returns an ID of a native windowing system component used to render the viewport. More...
|
| |
| GlgDataSample * | GlgGetNodeDataSample (GlgDataSampleNode *node) |
| | Returns the node's data sample. More...
|
| |
| void * | GlgGetObjectData (GlgObject object) |
| | Retrieves application data attached to the object via GlgSetObjectData. More...
|
| |
| char * | GlgGetObjectName (GlgObject object) |
| | Returns an object's name. More...
|
| |
| GlgObjectType | GlgGetObjectType (GlgObject object) |
| | Returns an object's type. More...
|
| |
| GlgObject | GlgGetObjectViewport (GlgObject object, GlgBoolean heavy_weight, GlgBoolean self) |
| | Returns parent viewport of a drawable GLG object. More...
|
| |
| GlgObject | GlgGetParent (GlgObject object, GlgLong *num_parents) |
| | ADVANCED: Returns an object's parent object, if one exists, or an array of all parents for constrained data objects. More...
|
| |
| GlgObject | GlgGetParentViewport (GlgObject object, GlgBoolean heavy_weight) |
| | Returns parent viewport of a drawable GLG object. More...
|
| |
| GlgLong | GlgGetRefCount (GlgObject object) |
| | Returns an object's reference count. More...
|
| |
| char * | GlgGetRelativePath (char *base_path, char *filename) |
| | Creates a filepath relative to the specified base path. More...
|
| |
| GlgObject | GlgGetResourceObject (GlgObject parent, char *resource_name) |
| | Retrieves an object ID of a resource object. More...
|
| |
| GlgObject | GlgGetSelectedPlot (void) |
| | Returns the plot object corresponding to the last legend item selected with the mouse, if any. More...
|
| |
| GlgLong | GlgGetSelectionButton (void) |
| | Queries the mouse button that initiated the callback. More...
|
| |
| GlgLong | GlgGetSize (GlgObject container) |
| | Returns size of a container object. More...
|
| |
| GlgBoolean | GlgGetSResource (GlgObject object, char *resource_name, char **value) |
| | Returns the current value of a S (string) resource. More...
|
| |
| GlgBoolean | GlgGetSTag (GlgObject object, char *tag_source, char **value) |
| | Returns the current value of a S (string) tag. More...
|
| |
| GlgLong | GlgGetStringIndex (GlgObject container, char *string) |
| | Returns index of the first occurrence of a string in a container of the GLG_STRING type. More...
|
| |
| GlgObject | GlgGetTagObject (GlgObject object, char *search_string, GlgBoolean by_name, GlgBoolean unique_tags, GlgBoolean single_tag, GlgTagType tag_type_mask) |
| | Retrieves a tag object with a specified tag name, data tag source, or export tag category, or retrieves a list of tags matching the specified tag name, tag source or category pattern. More...
|
| |
| GlgBoolean | GlgGetTime (GlgULong *sec, GlgULong *microsec) |
| | Returns number of seconds and microseconds since the Epoch. More...
|
| |
| char * | GlgGetURLCB (char *request, void *reserved) |
| | Fetches data from a URL and saves it in a temporary file. More...
|
| |
| GlgObject | GlgGetWindowViewport (HWND window) |
| | Windows only: Returns a viewport object used by the GLG Custom Control. More...
|
| |
| GlgBoolean | GlgGISConvert (GlgObject object, char *resource_name, GlgCoordType coord_type, GlgBoolean coord_to_lat_lon, GlgPoint *in_point, GlgPoint *out_point) |
| | Performs coordinate conversion from the GIS coordinates of the GIS Object to the GLG coordinates of the drawing and visa versa. More...
|
| |
| GlgObject | GlgGISCreateSelection (GlgObject object, char *resource_name, char *layers, GlgLong x, GlgLong y, GlgLong select_labels) |
| | Returns a message object containing information about GIS features located at a specified position on the map. More...
|
| |
| GlgObject | GlgGISGetDataset (GlgObject object, char *resource_name) |
| | Returns a dataset object associated with the GIS Object. More...
|
| |
| GlgBoolean | GlgGISGetElevation (GlgObject object, char *resource_name, char *layer_name, double lon, double lat, double *elevation) |
| | Returns an elevation of a lat/lon point on a map. More...
|
| |
| PlatformDependent | GlgHandlerGetNativeEvent (GlgCallEvent *call_event) |
| | Retrieves a native event that triggered handler invocation. More...
|
| |
| GlgBoolean | GlgHasResourceObject (GlgObject object, char *resource_name) |
| | Checks if a named resource exists. More...
|
| |
| GlgBoolean | GlgHasTag (GlgObject object, char *tag_name, GlgTagType tag_type_mask) |
| | Checks if a data or export tag with a specified tag name exists. More...
|
| |
| GlgBoolean | GlgHasTagName (GlgObject object, char *tag_name) |
| | Checks if a data tag with a specified tag name exists. More...
|
| |
| GlgBoolean | GlgHasTagSource (GlgObject object, char *tag_source) |
| | Checks if a data tag with a specified tag source exists. More...
|
| |
| GlgBoolean | GlgIHCallCurrIH (GlgIHCallEvent call_event) |
| | Passes an event to the current handler. More...
|
| |
| GlgBoolean | GlgIHCallCurrIHWithModifToken (GlgIHCallEvent call_event, GlgIHToken token) |
| | A variation on GlgIHCallCurrIHWithToken that reuses an existing user interface event. More...
|
| |
| GlgBoolean | GlgIHCallCurrIHWithToken (GlgIHToken token) |
| | Passes a token to the current handler. More...
|
| |
| void | GlgIHCallPrevIHWithModifToken (GlgIHCallEvent call_event, GlgIHToken token) |
| | A variation on GlgIHCallPrevIHWithToken that reuses an existing user interface event. More...
|
| |
| void | GlgIHCallPrevIHWithToken (GlgIHToken token) |
| | Passes the token to the parent handler of the currently active handler. More...
|
| |
| void | GlgIHChangeDParameter (GlgIH ih, char *name, double value) |
| | Changes a double value stored in a named parameter. More...
|
| |
| void | GlgIHChangeIParameter (GlgIH ih, char *name, GlgLong value) |
| | Changes an integer value stored in a named parameter. More...
|
| |
| void | GlgIHChangeOParameter (GlgIH ih, char *name, GlgObject value) |
| | Changes a GLG object ID stored in a named parameter. More...
|
| |
| void | GlgIHChangePParameter (GlgIH ih, char *name, void *value) |
| | Changes a pointer stored in a named parameter. More...
|
| |
| void | GlgIHChangeSParameter (GlgIH ih, char *name, char *value) |
| | Changes a string value stored in a named parameter. More...
|
| |
| GlgIH | GlgIHGetCurrIH (void) |
| | Retrieves ID of the current active interface handler. More...
|
| |
| double | GlgIHGetDParameter (GlgIH ih, char *name) |
| | Returns a double value stored in a named parameter. More...
|
| |
| GlgIHEntryPoint | GlgIHGetFunction (GlgIH ih) |
| | Returns function that implements the handler's logic. More...
|
| |
| GlgLong | GlgIHGetIParameter (GlgIH ih, char *name) |
| | Returns an integer value stored in a named parameter. More...
|
| |
| GlgObject | GlgIHGetOParameter (GlgIH ih, char *name) |
| | Returns a GLG object ID stored in a named parameter. More...
|
| |
| double | GlgIHGetOptDParameter (GlgIH ih, char *name, double default_value) |
| | Returns a double value stored in an optional named parameter. More...
|
| |
| GlgLong | GlgIHGetOptIParameter (GlgIH ih, char *name, GlgLong default_value) |
| | Returns an integer value stored in an optional named parameter. More...
|
| |
| GlgObject | GlgIHGetOptOParameter (GlgIH ih, char *name, GlgObject default_value) |
| | Returns a GLG object ID stored in an optional named parameter. More...
|
| |
| void * | GlgIHGetOptPParameter (GlgIH ih, char *name, void *default_value) |
| | Returns a pointer stored in an optional named parameter. More...
|
| |
| char * | GlgIHGetOptSParameter (GlgIH ih, char *name, char *default_value) |
| | Returns a string value stored in an optional named parameter. More...
|
| |
| void * | GlgIHGetPParameter (GlgIH ih, char *name) |
| | Returns a pointer stored in a named parameter. More...
|
| |
| GlgIHEntryPoint | GlgIHGetPrevFunction (void) |
| | Returns function used to implement the parent handler of the currently active handler. More...
|
| |
| GlgIH | GlgIHGetPrevIH (void) |
| | Retrieves ID of the currently active interface handler's parent handler. More...
|
| |
| char * | GlgIHGetSParameter (GlgIH ih, char *name) |
| | Returns a pointer stored in a named parameter. More...
|
| |
| GlgIHToken | GlgIHGetToken (GlgIHCallEvent call_event) |
| | Returns a token associated with the GLG_MESSAGE_EVENT event. More...
|
| |
| GlgCallEventType | GlgIHGetType (GlgIHCallEvent call_event) |
| | Returns an event's type. More...
|
| |
| void | GlgIHInit (void) |
| | Initializes installable handler utilities, must be invoked after GlgInit but before any installable handler functions are used. More...
|
| |
| GlgIH | GlgIHInstall (GlgIHEntryPoint handler) |
| | Creates a handler with the specified entry point and installs it. More...
|
| |
| void | GlgIHPassToken (GlgIHEntryPoint handler, GlgIHToken token, GlgBoolean uninstall) |
| | Installs a handler, starts it and invokes its entry point with the specified token. More...
|
| |
| void | GlgIHResetup (GlgIH ih) |
| | Reinitializes the current handler that have already been installed and used to "restart" its logic. More...
|
| |
| void | GlgIHSetDParameter (GlgIH ih, char *name, double value) |
| | Creates and stores a named double parameter. More...
|
| |
| void | GlgIHSetIParameter (GlgIH ih, char *name, GlgLong value) |
| | Creates and stores a named integer parameter. More...
|
| |
| void | GlgIHSetOParameter (GlgIH ih, char *name, GlgObject value) |
| | Creates and stores a named parameter that keeps a GLG object ID. More...
|
| |
| void | GlgIHSetOParameterFromD (GlgIH ih, char *name, double value) |
| | Creates and stores a named double parameter that is stored as a GLG Data object of the GLG_D type. More...
|
| |
| void | GlgIHSetOParameterFromG (GlgIH ih, char *name, double value1, double value2, double value3) |
| | Creates and stores a named parameter that keeps X, Y and Z or R, G and B values stored as a GLG Data object of the GLG_G type. More...
|
| |
| void | GlgIHSetPParameter (GlgIH ih, char *name, void *value) |
| | Creates and stores a named pointer parameter. More...
|
| |
| void | GlgIHSetSParameter (GlgIH ih, char *name, char *value) |
| | Creates and stores a named string parameter. More...
|
| |
| void | GlgIHStart (void) |
| | Initializes and starts the current handler after it has been installed with GlgIHInstall. More...
|
| |
| void | GlgIHTerminate (void) |
| | Terminates installable handler utilities. More...
|
| |
| void | GlgIHUninstall (void) |
| | Uninstalls the current handler (the last handler on the handler stack). More...
|
| |
| void | GlgIHUninstallWithEvent (GlgIHCallEvent call_event) |
| | Uninstalls the current handler and passes an event to the previous handler. More...
|
| |
| void | GlgIHUninstallWithToken (GlgIHToken token) |
| | Uninstalls the current handler and passes a token to the previous handler. More...
|
| |
| GlgLong | GlgImportStrings (GlgObject object, char *filename, GlgBoolean verbose) |
| | Replaces text strings in the drawing with the strings loaded from a string translation file. More...
|
| |
| GlgLong | GlgImportTags (GlgObject object, char *filename, GlgBoolean verbose) |
| | Replaces the TagName and TagSource attributes of the data tags in a drawing with information loaded from a tag translation file. More...
|
| |
| GlgAppContext | GlgInit (GlgBoolean tk_initialized, GlgAppContext app_context, int argc, char **argv) |
| | Initializes GLG Toolkit API. More...
|
| |
| void | GlgInitialDraw (GlgObject object) |
| | Draws a GLG viewport object for the first time after it has been created or loaded. More...
|
| |
| GlgBoolean | GlgInitLocale (char *locale) |
| | Sets the program locale. More...
|
| |
| void | GlgInverse (GlgObject container) |
| | Inverses the order of elements inside a container object. More...
|
| |
| GlgBoolean | GlgIsAt (GlgObject container, GlgPositionType position) |
| | Checks the position of the iteration pointer (the current element of the container). More...
|
| |
| GlgBoolean | GlgIsDrawable (GlgObject object) |
| | Checks if an object is drawable. More...
|
| |
| GlgObject | GlgIterate (GlgObject container) |
| | Traverses the container object's elements in the forward direction. More...
|
| |
| GlgObject | GlgIterateBack (GlgObject container) |
| | Traverses the container object's elements in the backward direction. More...
|
| |
| GlgBoolean | GlgLayoutObjects (GlgObject object, GlgObject anchor, GlgLayoutType type, double distance, GlgBoolean use_box, GlgBoolean process_subobjects) |
| | Performs operations ranging from setting an object's width and height to aligning and layout of groups of objects. More...
|
| |
| void | GlgLoadExeIcon (GlgObject viewport, GlgLong icon_id) |
| | Windows only: Loads small and big icons from the executable and associates them with the top level window of a viewport. More...
|
| |
| GlgObject | GlgLoadObject (char *filename) |
| | Loads an object from a GLG drawing file or a URL. More...
|
| |
| GlgObject | GlgLoadObjectFromImage (void *image, GlgLong size) |
| | Loads an object from a memory image. More...
|
| |
| GlgObject | GlgLoadWidgetFromFile (char *filename) |
| | Loads a GLG widget from a GLG drawing file or a URL. More...
|
| |
| GlgObject | GlgLoadWidgetFromImage (void *image, GlgLong size) |
| | Loads a GLG widget from a memory image. More...
|
| |
| GlgObject | GlgLoadWidgetFromObject (GlgObject object) |
| | Loads a widget from a GLG object. More...
|
| |
| GlgLong | GlgMainLoop (GlgAppContext context) |
| | Implements an event polling loop in a platform independent way. More...
|
| |
| GlgBoolean | GlgMoveObject (GlgObject object, GlgCoordType coord_type, GlgPoint *start_point, GlgPoint *end_point) |
| | Moves an object by a move vector. More...
|
| |
| GlgBoolean | GlgMoveObjectBy (GlgObject object, GlgCoordType coord_type, double x, double y, double z) |
| | Moves an object by the specified distances. More...
|
| |
| GlgBoolean | GlgNativePrint (GlgObject object, PlatformDependent print_context, double x, double y, double width, double height, GlgBoolean stretch, GlgBoolean center) |
| | GTK and Windows only: Generates printing output of the current state of the viewport's graphics. More...
|
| |
| GlgBoolean | GlgOnDrawMetafile (GlgObject viewport, HDC print_dc) |
| | Windows only: Provides MFC metafile output support. More...
|
| |
| GlgBoolean | GlgOnPrint (GlgObject viewport, HDC print_dc) |
| | Windows only: Provides MFC printing support. More...
|
| |
| GlgObject | GlgParseArgs (char *program_name, char *args_string, GlgLong *argc, char ***argv) |
| | This function is used by the GlgMain generic program entry point on Windows to parse command-line arguments. More...
|
| |
| GlgBoolean | GlgPositionObject (GlgObject object, GlgCoordType coord_type, GlgLong anchoring, double x, double y, double z) |
| | Positions an object at the specified location. More...
|
| |
| GlgBoolean | GlgPositionToValue (GlgObject object, char *resource_name, double x, double y, GlgBoolean outside_x, GlgBoolean outside_y, double *value) |
| | Returns a value corresponding to the specified position on top of a Chart or an Axis object. More...
|
| |
| GlgBoolean | GlgPreAlloc (GlgLong size, GlgPreAllocType type) |
| | Preallocates memory under the control of mission critical real-time applications. More...
|
| |
| void | GlgPrintObjectCountChanges (void) |
| | Prints object count changes since the last call to this function. More...
|
| |
| void | GlgPrintObjectCounts (void) |
| | Prints total object count for each of the GLG object types. More...
|
| |
| GlgObject | GlgQueryTags (GlgObject object, GlgTagType tag_type_mask) |
| | Returns a group of all tags of the requested tag type defined in the object. More...
|
| |
| double | GlgRand (double low, double high) |
| | Generates a random number in a platform-independent way. More...
|
| |
| GlgObject | GlgReferenceObject (GlgObject object) |
| | Increments an object's reference count. More...
|
| |
| void | GlgReleaseObject (GlgObject object, GlgObject suspend_info) |
| | Releases an object that was suspended for editing. More...
|
| |
| void | GlgRemoveTimeOut (GlgLong id) |
| | Removes a timer procedure. More...
|
| |
| void | GlgRemoveWorkProc (GlgLong id) |
| | Removes a work procedure. More...
|
| |
| GlgBoolean | GlgReorderElement (GlgObject container, GlgLong old_index, GlgLong new_index) |
| | Changes an element's position inside a container. More...
|
| |
| GlgBoolean | GlgReset (GlgObject object) |
| | Reinitializes the drawing by resetting the drawing hierarchy, then setting it up again and rendering the drawing. More...
|
| |
| void | GlgResetHierarchy (GlgObject object) |
| | Resets the object hierarchy. More...
|
| |
| GlgBoolean | GlgResetSizeConstraint (GlgObject text_obj) |
| | Forces GLG_FIT_TO_BOX_TEXT Text objects with a constrained SizeConstraint attribute to renegotiate their font size. More...
|
| |
| GlgBoolean | GlgRootToScreenCoord (GlgObject viewport, GlgPoint2 *point) |
| | Converts screen coordinates relative to the root window to the screen coordinates in the specified viewport. More...
|
| |
| GlgBoolean | GlgRotateObject (GlgObject object, GlgCoordType coord_type, GlgPoint *center, double x_angle, double y_angle, double z_angle) |
| | Rotates an object. More...
|
| |
| GlgBoolean | GlgSaveImage (GlgObject object, char *resource_name, char *filename, GlgImageFormat format) |
| | Generates a JPEG or PNG image of the current state of the viewport's graphics and saves it to a file. More...
|
| |
| GlgBoolean | GlgSaveImageCustom (GlgObject object, char *resource_name, char *filename, GlgImageFormat format, GlgLong x, GlgLong y, GlgLong width, GlgLong height, GlgLong gap) |
| | Generates a JPEG or PNG image of the specified rectangular region of the viewport's graphics and saves it to a file. More...
|
| |
| GlgBoolean | GlgSaveObject (GlgObject object, char *filename) |
| | Saves an object to a file. More...
|
| |
| GlgBoolean | GlgScaleObject (GlgObject object, GlgCoordType coord_type, GlgPoint *center, double x_scale, double y_scale, double z_scale) |
| | Scales an object. More...
|
| |
| GlgBoolean | GlgScreenToWorld (GlgObject object, GlgBoolean inside_vp, GlgPoint *in_point, GlgPoint *out_point) |
| | Converts a point's screen coordinates to the GLG world coordinate system. More...
|
| |
| GlgAnyType | GlgSendMessage (GlgObject object, char *resource_name, char *message, GlgAnyType param1, GlgAnyType param2, GlgAnyType param3, GlgAnyType param4) |
| | Sends a message to an object to request some action to be performed. More...
|
| |
| void | GlgSendMessageToParent (GlgObject viewport, GlgObject message_obj, char *action, char *subaction) |
| | Sends a message to the Input callback. More...
|
| |
| GlgBoolean | GlgSerialize (GlgObject object, GlgBoolean(*func)(void *data, GlgLong size, void *user_data), void *user_data) |
| | Saves a GLG object into a data stream by invoking a custom serialization callback, which can be used to implement custom save methods. More...
|
| |
| void * | GlgSerializeFull (GlgObject object, GlgLong *size) |
| | Saves a GLG object into a raw memory block. More...
|
| |
| GlgAlarmHandler | GlgSetAlarmHandler (GlgAlarmHandler handler) |
| | Installs a global alarm handler function that will be invoked to process alarms. More...
|
| |
| GlgBoolean | GlgSetAttachmentMoveMode (GlgBoolean state) |
| | Changes the global attachment point move mode and returns the previous mode state. More...
|
| |
| void | GlgSetBrowserObject (GlgObject browser, GlgObject object) |
| | Sets the object for browsing with the GLG Resource, Tag and Alarm browser widgets. More...
|
| |
| GlgBoolean | GlgSetBrowserSelection (GlgObject object, char *resource_name, char *selection, char *filter) |
| | Sets a new value of a browser's Selection and Filter text boxes of the Resource, Tag, Alarm and Data browser widgets after the browser object has already been set up. More...
|
| |
| GlgBoolean | GlgSetChartFilter (GlgObject object, char *resource_name, GlgChartFilter chart_filter, void *client_data) |
| | Attaches a custom data filter to a chart's plot. More...
|
| |
| GlgBoolean | GlgSetCursor (GlgObject viewport, char *resource_name, GlgLong cursor) |
| | Windows only: Sets a custom cursor for a drawing or one of its child viewports. More...
|
| |
| GlgBoolean | GlgSetCursorType (GlgObject viewport, char *resource_name, GlgCursorType cursor_type) |
| | Sets cursor for a drawing or one of its child viewports. More...
|
| |
| void | GlgSetCustomSetupHandler (GlgCustomSetupHandler handler) |
| | Installs a custom setup handler that will be invoked to perform custom processing of objects tagged using the CustomSetup flag in the GLG drawing. More...
|
| |
| void | GlgSetDefaultViewport (GlgObject viewport) |
| | Windows only: Sets a drawing to be used by the GLG Custom Control. More...
|
| |
| GlgBoolean | GlgSetDResource (GlgObject object, char *resource_name, double value) |
| | Sets a new value of a D (double) resource. More...
|
| |
| GlgBoolean | GlgSetDResourceIf (GlgObject object, char *resource_name, double value, GlgBoolean if_changed) |
| | Sets a new value of a D (double) resource. More...
|
| |
| GlgBoolean | GlgSetDTag (GlgObject object, char *tag_source, double value, GlgBoolean if_changed) |
| | Sets a new value of a D (double) tag. More...
|
| |
| GlgBoolean | GlgSetEditMode (GlgObject viewport, char *resource_name, GlgBoolean edit_mode) |
| | Sets the viewport's edit mode to disable input objects in the viewport while the drawing is being edited. More...
|
| |
| GlgBoolean | GlgSetElement (GlgObject container, GlgLong index, GlgObject new_object) |
| | Replaces the object at the specified position in a container. More...
|
| |
| void | GlgSetEnd (GlgObject container) |
| | Initializes the container object for the backward traversing. More...
|
| |
| GlgErrorHandler | GlgSetErrorHandler (GlgErrorHandler new_handler) |
| | Replaces the GLG Toolkit error handler and returns the previous error handler. More...
|
| |
| void | GlgSetFocus (GlgObject object, char *resource_name) |
| | Sets the keyboard focus to an object's viewport. More...
|
| |
| GlgGetURLCallback | GlgSetGetURLCallback (GlgGetURLCallback callback) |
| | Installs a custom callback used to fetch data from URLs. More...
|
| |
| GlgBoolean | GlgSetGResource (GlgObject object, char *resource_name, double x_value, double y_value, double z_value) |
| | Sets new values of a G (geometrical or color) resource. More...
|
| |
| GlgBoolean | GlgSetGResourceIf (GlgObject object, char *resource_name, double x_value, double y_value, double z_value, GlgBoolean if_changed) |
| | Sets new values of a G (geometrical or color) resource. More...
|
| |
| GlgBoolean | GlgSetGTag (GlgObject object, char *tag_source, double x_value, double y_value, double z_value, GlgBoolean if_changed) |
| | Sets new values of a G (geometrical or color) tag. More...
|
| |
| void | GlgSetHandlerData (GlgObject viewport, void *data) |
| | Stores data used by the custom handler instance. More...
|
| |
| GlgBoolean | GlgSetLabelFormatter (GlgObject object, char *resource_name, GlgLabelFormatter formatter) |
| | Attaches a custom label formatter to a chart axis or a stand-alone axis object. More...
|
| |
| GlgBoolean | GlgSetLinkedAxis (GlgObject object, char *resource_name, GlgObject axis_object, char *axis_resource_name) |
| | Associates a chart's plot, level line or annotation object with an Y axis for automatic rescaling. More...
|
| |
| GlgBoolean | GlgSetLParameter (char *name, GlgLong value) |
| | Sets a value of a global parameter. More...
|
| |
| void | GlgSetMatrixData (GlgObject matrix, GlgMatrixData *matrix_data) |
| | ADVANCED: Sets matrix coefficients. More...
|
| |
| void | GlgSetObjectData (GlgObject object, void *data) |
| | Attaches arbitrary application data to a graphical object. More...
|
| |
| GlgBoolean | GlgSetResourceFromObject (GlgObject object, char *resource_name, GlgObject value) |
| | Sets a new value of a data resource to the value of contained in the provided data object of the same data type. More...
|
| |
| GlgBoolean | GlgSetResourceFromObjectIf (GlgObject object, char *resource_name, GlgObject value, GlgBoolean if_changed) |
| | Sets the value of the data object to the value of another data object of the same data type. More...
|
| |
| GlgBoolean | GlgSetResourceObject (GlgObject object, char *resource_name, GlgObject value) |
| | Replaces a resource object. More...
|
| |
| GlgBoolean | GlgSetSResource (GlgObject object, char *resource_name, char *value) |
| | Replaces the string of an S (string) resource. More...
|
| |
| GlgBoolean | GlgSetSResourceFromD (GlgObject object, char *resource_name, char *format, double value) |
| | Sets the string of an S (string) resource from a double value, converting the value into a string using a printf format string. More...
|
| |
| GlgBoolean | GlgSetSResourceFromDIf (GlgObject object, char *resource_name, char *format, double value, GlgBoolean if_changed) |
| | Sets the string of an S (string) resource from a double value, converting the value into a string using a printf format string. More...
|
| |
| GlgBoolean | GlgSetSResourceIf (GlgObject object, char *resource_name, char *value, GlgBoolean if_changed) |
| | Replaces the string of an S (string) resource. More...
|
| |
| GlgBoolean | GlgSetSTag (GlgObject object, char *tag_source, char *value, GlgBoolean if_changed) |
| | Replaces the string of an S (string) tag. More...
|
| |
| GlgBoolean | GlgSetSTagFromD (GlgObject object, char *tag_source, char *format, double value, GlgBoolean if_changed) |
| | Replaces the string of an S (string) tag with a value specified by an input number and a format string. More...
|
| |
| void | GlgSetStart (GlgObject container) |
| | Initializes the container object for the forward traversing. More...
|
| |
| GlgTooltipFormatter | GlgSetTooltipFormatter (GlgTooltipFormatter formatter) |
| | Supplies a custom tooltip formatter. More...
|
| |
| void | GlgSetupHierarchy (GlgObject object) |
| | Provides an explicit request to set up the object hierarchy without rendering the object. More...
|
| |
| void | GlgSetWindowViewport (HWND window, GlgObject viewport) |
| | Windows only: Sets or replaces the viewport of the GLG Custom Control after its window has been created. More...
|
| |
| GlgBoolean | GlgSetXform (GlgObject object, GlgObject xform) |
| | Adds or deletes transformations attached to an object. More...
|
| |
| GlgBoolean | GlgSetZoom (GlgObject object, char *resource_name, GlgLong type, double value) |
| | Provides a programmatic interface to integrated zooming and panning. More...
|
| |
| GlgBoolean | GlgSetZoomMode (GlgObject object, char *resource_name, GlgObject zoom_object, char *zoom_object_resource_name, GlgZoomMode zoom_mode) |
| | Sets or resets a viewport's zoom mode by supplying a GIS or Chart object to be zoomed. More...
|
| |
| void | GlgSleep (GlgLong millisec) |
| | Suspends application execution for a specified interval in a platform independent way. More...
|
| |
| void | GlgStopButtonRepeat (void) |
| | Stops the button repeat in progress, if any. More...
|
| |
| char * | GlgStrClone (char *string) |
| | Creates a copy of a character string. More...
|
| |
| GlgObject | GlgSuspendObject (GlgObject object) |
| | Suspends a drawn object for editing. More...
|
| |
| GlgBoolean | GlgSync (GlgObject viewport) |
| | Flushes the windowing system output to the display. More...
|
| |
| void | GlgTerminate (void) |
| | Terminates the application's use of the GLG Toolkit. More...
|
| |
| GlgBoolean | GlgTraceObject (GlgObject object, GlgBoolean state, GlgBoolean is_widget, GlgObject top_parent, GlgBoolean(*func)(GlgObject object, void *data), void *data) |
| | Highlights all objects in the drawing that depend on the tag or resource object that is being traced. More...
|
| |
| GlgBoolean | GlgTransformObject (GlgObject object, GlgObject xform, GlgCoordType coord_type, GlgObject parent) |
| | ADVANCED: Transforms all control points of an object with an arbitrary transformation. More...
|
| |
| void | GlgTransformPoint (GlgObject matrix, GlgPoint *in_point, GlgPoint *out_point) |
| | Transforms a single point. More...
|
| |
| GlgBoolean | GlgTranslatePointOrigin (GlgObject from_viewport, GlgObject to_viewport, GlgPoint *point) |
| | Converts screen coordinates of a point in one viewport to the screen coordinates of another viewport. More...
|
| |
| void | GlgTraverseObjects (GlgObject object, GlgBoolean(*func)(GlgObject object, void *data), void *data) |
| | Traverses the object hierarchy of the object and invokes the supplied function on the object itself and all its subobjects, including object attributes. More...
|
| |
| void | GlgTraverseObjectsExt (GlgObject object, GlgBoolean(*enter_func)(GlgObject object, void *data), GlgBoolean(*exit_func)(GlgObject object, void *data), void *data) |
| | Traverses the object hierarchy of the object and invokes the supplied functions on the object itself and all its subobjects, including object attributes. More...
|
| |
| GlgBoolean | GlgUnconstrainObject (GlgObject attribute) |
| | Unconstrains a object's attribute or an object's point. More...
|
| |
| GlgBoolean | GlgUpdate (GlgObject object) |
| | Updates a drawing to show new resource values. More...
|
| |
| GlgBoolean | GlgUpdateChartState (GlgObject object, char *resource_name, GlgChartState state) |
| | Triggers updating a chart's state after prefilling it with data using the quick mode of GlgAddDataSampleNode. More...
|
| |
| GlgBoolean | GlgUpdateChartTimeAxis (GlgObject object, char *resource_name, double time_stamp, GlgBoolean initialize) |
| | Scrolls the chart forward to show all data samples up to the provided time stamp or index. More...
|
| |
| GlgBoolean | GlgWorldToScreen (GlgObject object, GlgBoolean inside_vp, GlgPoint *in_point, GlgPoint *out_point) |
| | Converts a point's coordinates from the GLG world coordinate system to the screen coordinate system. More...
|
| |
| void | GlmConvert (GlgProjectionType projection, GlgBoolean stretch, GlgCoordType coord_type, GlgBoolean coord_to_lat_lon, GlgPoint *center, GlgPoint *extent, double angle, double min_x, double max_x, double min_y, double max_y, GlgPoint *in_point, GlgPoint *out_point) |
| | A low level function that performs coordinate conversion from the GIS coordinates of a map to the GLG coordinates of the drawing and visa versa without the help of a GLG GIS Object. More...
|
| |