spMove.3p
759 Bytes
.TH spMove 3P local "Silicon Graphics, Inc."
.SH NAME
spMove \- Position Upper Left corner of sprite on screen
.SH C SPECIFICATION
.nf
\f3#include <sp.h>
void spMove(Sprite *sp, s32 xpos, s32 ypos)
\fP
.fi
.SH PARAMETERS
.TP 10
.I *sp
pointer to the sprite.
.TP
.I xpos
Horizontal position of left edge of sprite
.TP
.I ypos
Vertical position of top edge of sprite
.SH DESCRIPTION
This function positions the upper left corner of the sprite on the
screen. The extent of the drawn portion of the sprite is also
affected by the sprite's inherent width
.I (sp->width)
and height
.I (sp->height)
, the scaling of the sprite (see
.I spScale)
, and the current scissoring (see
.I spScissor).
.SH "SEE ALSO"
.IR spDraw (3P),
.IR spScale (3P),
.IR spScissor (3P)