ClanSoft logo
ClanSoft logo

    CL_Surface::CL_Surface

Syntax

CL_Surface(
         CL_SurfaceProvider *provider,
        bool delete_provider = false,
        bool dynamic = false,
        class CL_Resource *resource = NULL);

Parameters

provider-Image source.
delete_provider-If true, the surface will delete the provider when deleted itself.
dynamic-If true, a dynamic blitter will be chosen. If false, a caching blitter will be used.

Return value

The surface created.

Description

This function creates a CL_Surface.

If dynamic is true, the surface will be a dynamic blitter. If false, it will be a caching blitter.


Back to index



This page was built using the Perceps documentation system.