Picasso API  2.2
Typedefs | Enumerations | Functions
Common Functions

Typedefs

typedef enum _ps_status ps_status
 Status code return by call ps_last_status function.

Enumerations

enum  _ps_status {
  STATUS_SUCCEED, STATUS_OUT_OF_MEMORY, STATUS_INVALID_ARGUMENT, STATUS_NOT_SUPPORT,
  STATUS_DEVICE_ERROR, STATUS_MISMATCHING_FORMAT, STATUS_UNKNOWN_ERROR
}
 Status code return by call ps_last_status function. More...

Functions

PEXPORT int PICAPI ps_version (void)
 Return current version of picasso.
PEXPORT ps_bool PICAPI ps_initialize (void)
 Initialize the picasso drawing environment.
PEXPORT void PICAPI ps_shutdown (void)
 Shutdown the picasso drawing environment.
PEXPORT ps_status PICAPI ps_last_status (void)
 Return the last status code of picasso.

Enumeration Type Documentation

enum _ps_status

Status code return by call ps_last_status function.

Enumerator:
STATUS_SUCCEED 

The successful status no errors.

STATUS_OUT_OF_MEMORY 

Out of memory.

STATUS_INVALID_ARGUMENT 

Invalid argument input.

STATUS_NOT_SUPPORT 

Not support this feature.

STATUS_DEVICE_ERROR 

Device is not ready.

STATUS_MISMATCHING_FORMAT 

Mismatching error.

STATUS_UNKNOWN_ERROR 

Unknown error.

Definition at line 272 of file picasso.h.


Function Documentation

ps_bool ps_initialize ( void  )

Initialize the picasso drawing environment.

It must be the first to be call.

Returns:
True if is initialized, otherwise False.
See also:
ps_shutdown

Return the last status code of picasso.

See also:
ps_version
void ps_shutdown ( void  )

Shutdown the picasso drawing environment.

It must be call in the end.

See also:
ps_initialize
int ps_version ( void  )

Return current version of picasso.

See also:
ps_last_status