Skip to content

Commit

Permalink
added documentation to blit_texture
Browse files Browse the repository at this point in the history
  • Loading branch information
davewx7 committed Dec 2, 2008
1 parent 50561a8 commit f001f80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/raster.hpp
Expand Up @@ -25,7 +25,8 @@ void blit_texture(const texture& tex, int x=0, int y=0, GLfloat rotate=0.0);

//Function to blit a texture to the screen. Parameters:
//x, y: target on-screen location.
//w, h: dimensions of the blit
//w, h: dimensions of the on-screen area that will be filled by the
//blit.
//rotate: the number of degrees to rotate by when blitting
//x1, y1, x2, y2: the area of the texture to blit onto the screen. The
//defaults are to blit the entire texture. Note that these values can be
Expand Down

0 comments on commit f001f80

Please sign in to comment.