http://www.wavecom.com/forum

Open AT ®  Release version:
3.13

Sample - Draw Library

Changes

Dependencies

This sample depends on the following libraries :

Library Description

This Draw sample ADL Library provides to ADL applications APIs to draw and move sprites on a graphical LCD.

The used SPI LCD in this sample is the Samsung KS 0719.

Library API

All constants and APIs are defined by the draw.h header file, which must be included by any application to allows it to use the Draw Library.

The library will need the global variable bellow on link operation, to define the trace level on which will be displayed the Draw traces :

Any application which links with the Draw Library must also use the Drivers Library. The application must subscribe to the KS0719 driver before creating the first sprite.

The Draw APIs are defined bellow :

  drw_CreateSprite
 This API creates and draw a sprite at it first position.   drw_MoveSprite
 This API moves a sprite with offset.   drw_MoveSpriteTo
 This API moves a sprite to a new position.   drw_GetSpritePos
 This API gets the sprite current position.   drw_GetSpriteDim
 This API gets the sprite dimensions.   drw_HideSprite
 This API hides the sprite from screen.   drw_RefreshSprite
 This API redraws the sprite on the screen.   drw_DeleteAllSprites
 This API deletes all sprites from Library memory.

Updated: Wed Apr 4 13:14:19 CEST 2007;