[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()