Main Page Namespace List Class Hierarchy Compound List File List Compound Members File Members
CL_Res_Surface Class Reference
res_type: surfaceres_option: tga - Interpret this file as a targa image.res_option: pcx - Interpret this file as a pcx image.res_option: x=<val> - Specify the starting x coordinate in the image file.res_option: y=<val> - Specify the starting y coordinate in the image file.res_option: width=<val> - Specify the number of horizontal pixels to storeres_option: from the image.res_option: height=<val> - Specify the number of vertical pixels to store from the image.res_option: array=<xval>x<yval> - Creates a surface containing <xval> * <yval>res_option: sprites. This option requires the existance of x, y, width, heightres_option: option values in the resource definition; otherwise the option isres_option: ignored. The sprites are read from left to right, top to bottom,res_option: and are each saved with width, height equal to the width,res_option: height options specified.res_option: tcol=<val> - Specifies a given color as transparency color for thisres_option: surface. This option is only meaningful for palettisized inputres_option: image formats (PCX).res_option: tcol=(<val>, <val2>, ...) - Same as above, but specifies several transpareny colors.
More...
#include <restype_surface.h>
Inheritance diagram for CL_Res_Surface:
[legend]Collaboration diagram for CL_Res_Surface:
[legend]List of all members.
Detailed Description
res_type: surfaceres_option: tga - Interpret this file as a targa image.res_option: pcx - Interpret this file as a pcx image.res_option: x=<val> - Specify the starting x coordinate in the image file.res_option: y=<val> - Specify the starting y coordinate in the image file.res_option: width=<val> - Specify the number of horizontal pixels to storeres_option: from the image.res_option: height=<val> - Specify the number of vertical pixels to store from the image.res_option: array=<xval>x<yval> - Creates a surface containing <xval> * <yval>res_option: sprites. This option requires the existance of x, y, width, heightres_option: option values in the resource definition; otherwise the option isres_option: ignored. The sprites are read from left to right, top to bottom,res_option: and are each saved with width, height equal to the width,res_option: height options specified.res_option: tcol=<val> - Specifies a given color as transparency color for thisres_option: surface. This option is only meaningful for palettisized inputres_option: image formats (PCX).res_option: tcol=(<val>, <val2>, ...) - Same as above, but specifies several transpareny colors.
Definition at line 23 of file restype_surface.h.
Constructor & Destructor Documentation
|
CL_Res_Surface::CL_Res_Surface (
|
)
|
|
Member Function Documentation
Member Data Documentation
friend CL_Res_Surface::CL_ResourceManager [private]
|
|
The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:21 2001 for ClanLib by
1.2.6 written by Dimitri van Heesch,
© 1997-2001