Home |
All Classes |
Grouped Classes |
Index |
Search
CL_PNGProvider::CL_PNGProvider
Constructs a surface provider that can read PNG files.
CL_PNGProvider(
const std::string& name, CL_InputSourceProvider* provider = 0, bool transparent = true, bool ignore_alphachannel = false);
Parameters:
- name
- Name of the PNG file to load.
- provider
- Input source provider that delivers the PNG file.
- transparent
- True if a transparency color should be used.
- ignore_alphachannel
- True if the alpha component should be ignored.
See also:
CL_PNGProvider
Questions or comments, write to the ClanLib mailing list.