•  Back 
  •  Object Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileObject Library
objc_draw()                                                             AES

Syntax

WORD objc_draw( tree, obj, depth, ox, oy, ow, oh )
OBJECT *tree;
WORD obj, depth, ox, oy, ow, oh;

Function       objc_draw() renders an AES object tree on screen.

Opcode         42 (0x2A)

Availability   All AES versions.

Parameters     tree specifies the object tree to draw. obj specifies the
               object index at which drawing is to begin.
               depth specifies the maximum object depth to draw (a value
               of 1 searches only first generation objects, a value of 2
               searches up to second generation objects, up to a maximum
               of 7 to search all objects).
               ox, oy, ow, and oh specify an AES style rectangle which
               defines the clip rectangle to enforce during drawing.

Binding        intin[0] = obj;
               intin[1] = depth;
               intin[2] = ox;
               intin[3] = oy;
               intin[4] = ow;
               intin[5] = oh;

               addrin[0] = tree;

               return crys_if(0x2A);

Return Value   objc_draw() returns 0 if an error occurred or non-zero
               otherwise.

Group          Object Library