Carbon


SRDrawText

Header: SpeechRecognition.h Carbon status: Supported

Draws output text in the feedback window.

OSErr SRDrawText (
    SRRecognizer recognizer, 
    const void *dispText, 
    Size dispLength
);
Parameter descriptions
recognizer

A recognizer.

dispText

A pointer to a buffer that contains the text to be drawn.

dispLength

The size, in bytes, of the specified text.

function result

A result code.

DISCUSSION

The SRDrawText function draws the text specified by the dispText and dispLength parameters in the transcript portion of the feedback window associated with the recognizer specified by the recognizer parameter. The text is drawn in the style characteristic of all output text.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/10/2000)