ClanSoft logo
ClanSoft logo

    CL_PCXProvider::create

Syntax

static CL_Surface *create(
         std::string handle,
        CL_InputSourceProvider *provider,
        bool transparent=false,
        unsigned char trans_col=0);

Description

Loads the pcx file handle from the inputsource provider provider. Creates a CL_Surface using the pcx image and returns it.If you just want to load a file, use handle' for filename, and set provider to NULLReturns the pitch of the image (bytes per line).


Back to index



This page was built using the Perceps documentation system.