[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


    NAME
	DrawDTObjectA - Draw a DataTypes object.                (V44)

    SYNOPSIS
	retval = DrawDTObjectA (rp, o, x, y, w, h, th, tv, attrs);
	d0			a0  a1 d0 d1 d2 d3 d4  d5  a2

	LONG DrawDTObjectA (struct RastPort *rp, Object *, LONG x, LONG y,
			    LONG w, LONG h, LONG th, LONG tv,
			    struct TagItem *);

	retval = DrawDTObject (rp, o, x, y, w, h, th, tv, tag1, ...);

	LONG DrawDTObjectA (struct RastPort *rp, Object *, LONG x, LONG y,
			    LONG w, LONG h, LONG th, LONG tv, Tag, ...);

    FUNCTION
	This function is used to draw a DataTypes object into a RastPort.

	This function can be used for strip printing the object or
	embedding it within a document.

	You must successfully call ObtainDTDrawInfoA() before using
	this function.

	This function invokes the object's DTM_DRAW method.

	Clipping MUST be turned on within the RastPort.  This means
	that there must be a valid layer structure attached to the
	RastPort.

    INPUTS
	rp - Pointer to the RastPort to draw into.
	o - Pointer to an object returned by NewDTObjectA().
	x - Left-most point of area to draw into.
	y - Top-most point of area to draw into.
	w - Width of area to draw into.
	h - Height of area to draw into.
	th - Horizontal top in units.
	tv - Vertical top in units.
	attrs - Additional attributes.

    TAGS
	none defined at this time.

    RETURNS
	TRUE to indicate that it was able to render, FALSE on failure.

    SEE ALSO
	ObtainDTDrawInfo(), ReleaseDTDrawInfo()