CL_Sprite::setup_draw_params - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Sprite::setup_draw_params

Calculate draw information and send it back. Returns false if sprite isn't currently drawn

    	bool setup_draw_params(
    		float x, float y, CL_Surface_DrawParams1& params1, bool sub_pixel_accuracy);

Detailed description:

This allows you to tweak the settings and call draw() for specific effects.

See also:

CL_Surface | CL_Sprite | CL_Surface_DrawParams1

Questions or comments, write to the ClanLib mailing list.