Daylight v4.9
Release Date: 1 February 2008

Name

dt_ga - retrieve the graphics attribute of an object

Generic Prototype

dt_ga(dt_Handle, dt_Handle) => dt_Integer

C Prototype

#include "dt_depict.h"

dt_Integer dt_ga(dt_Handle depiction, dt_Handle object)

FORTRAN Prototype

include 'dt_f_depict.inc'

integer*4 dt_f_ga(depiction, object)

integer*4 depiction
integer*4 object

Description

Gets the graphics attribute associated with the object 'object' in the depiction 'depiction'. If 'object' is an atom, the attribute is the one used when drawing the atomic symbol. If 'object' is a bond, the attribute is the one used when drawing the bond. If 'object' is an aromatic cycle, the attribute is the one used when drawing the circle indicating aromaticity.

Return Value

Returns the graphics attribute. For all other objects, this property is defined a -1.

Related Topics

dt_alloc_depiction(3) dt_setga(3)