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


    NAME
        PrintIText -- Print text described by the intuitext argument.

    SYNOPSIS
        PrintIText( rastport, itext, leftoffset, topoffset )
                    A0        A1     D0          D1

        VOID PrintIText( struct rastport *, struct intuitext *, word, word );

    FUNCTION
        Prints the intuitext into the specified rastport.  sets up the rastport
        as specified by the intuitext values, then prints the text into the
        rastport at the intuitext x/y coordinates offset by the left/top
        arguments.  Note, though, that the intuitext structure itself
        may contain further text position coordinates: those coordinates
        and the Left/TopOffsets are added to obtain the true position of
        the text to be rendered.

        This routine does window layer clipping as appropriate -- if you
        print text outside of your window, your characters will be
        clipped at the window's edge, providing you pass your window's
        (layered) rastport.

        If the NextText field of the intuitext argument is non-null,
        the next intuitext is rendered as well, and so on until some
        NextText field is NULL.

        intuitext with the itextfont field null are displayed in the
        font of the rastport.  if the rastport font is also null, the
        system default font, as set via the preferences tool, will be used.

    INPUTS
        rastport = the rastport destination of the text
        IText = pointer to an instance of the structure intuitext
        LeftOffset = left offset of the intuitext into the rastport
        TopOffset = top offset of the intuitext into the rastport

    RESULT
        None

    BUGS

    SEE ALSO