ClanSoft logo
ClanSoft logo

    CL_JPEGProvider::CL_JPEGProvider

Syntax

CL_JPEGProvider(
         CL_String name,
        CL_InputSourceProvider *provider = NULL,
        bool transparent=true,
        bool ignore_alphachannel=false);

Parameters

name-Name of the PNG file to load.
provider-Input source provider that delivers the JPEG file.
transparent-True if a transparency color should be used.
ignore_alphachannel-True if the alpha component should be ignored.
trans_red-Red component of the transparency color.
trans_green-Green component of the transparency color.
trans_blue-blue component of the transparency color.

Description

Constructs a surface provider that can read PNG files.


Back to index



This page was built using the Perceps documentation system.