Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License
"Eclipse Public License v1.0" which accompanies this distribution,
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
-->
<!DOCTYPE concept
PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-365BB311-8FC8-5DA5-B80D-C22D4AB35AEE"><title>Sprites and Cursors Overview</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>The Window Server supports two types of <keyword>sprite</keyword>: one for general use, another for use as a pointer cursor. A sprite is an arbitrary-shaped bitmap which may be moved without applications having to redraw the underlying screen. </p> <p>The ergonomics of pointer cursors differ greatly depending on the input device. The Window Server provides pointer cursor support so that either mouse, tablet or pen may be used effectively as a pointer device. </p> <p>A sprite is made up of one or more sprite members, each of which contains a bitmap image and a time interval for which that bitmap is to be displayed. Animation can be achieved by adding more than one sprite member, each with a different bitmap. The sprite members are displayed in turn in the order in which they were added, continuously returning to the beginning when the last is reached. </p> <p>Pointer cursors are rarely used in pure pen architectures, but they are supported for mouse or tablet use. Pointer cursors do not need to be given a position, as they automatically track the position of the pointer. The position of a sprite, on the other hand, must be set when it is created, and can be changed by the application using <xref href="GUID-75C09150-E93B-323D-AFBF-E42C7BD78229.dita"><apiname>RWsSprite::SetPosition()</apiname></xref>. </p> </conbody><related-links><link href="GUID-567DFA14-A7AA-56F5-9741-CB1F28BCD39F.dita"><linktext>Sprites and Cursors</linktext> </link> </related-links></concept>