TQADrawBitmap
A drawing engine must define a method to draw bitmaps into a draw context.
typedef void (*TQADrawBitmap) ( const TQADrawContext *drawContext, const TQAVGouraud *v, TQABitmap *bitmap);
drawContext- A draw context.
v- A Gouraud vertex.
bitmap- A pointer to a bitmap (returned by a previous call to
QABitmapNew).DESCRIPTION
YourTQADrawBitmapfunction should draw the bitmap specified by thebitmapparameter into the draw context specified by thedrawContextparameter, with the upper-left corner of the bitmap located at the point specified by thevparameter. Thevparameter can contain negative values in itsxoryfields, so you can position upper-left corner of the bitmap outside the draw context rectangle. This allows you to move the bitmap smoothly off any edge of the draw context.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help