Sha256: edbd876877110df8cd1b2ef60374c034becdbda01b2ef4c4ebefb25c49cbc57e

Contents?: true

Size: 1.99 KB

Versions: 13

Compression:

Stored size: 1.99 KB

Contents

/*
 * rubygame -- ruby library to make game programming fun.
 * Copyright (C) 2004-2007  John Croisant
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */


#ifndef _RUBYGAME_SURFACE_H
#define _RUBYGAME_SURFACE_H

extern void Rubygame_Init_Surface();

extern VALUE rbgm_surface_new(int, VALUE*, VALUE);

extern VALUE rbgm_surface_get_w(VALUE);
extern VALUE rbgm_surface_get_h(VALUE);
extern VALUE rbgm_surface_get_size(VALUE);

extern VALUE rbgm_surface_get_depth(VALUE);
extern VALUE rbgm_surface_get_flags(VALUE);
extern VALUE rbgm_surface_get_masks(VALUE);

extern VALUE rbgm_surface_get_alpha(VALUE);
extern VALUE rbgm_surface_set_alpha(int, VALUE*, VALUE);

extern VALUE rbgm_surface_get_colorkey(VALUE);
extern VALUE rbgm_surface_set_colorkey(int, VALUE*, VALUE);

extern VALUE rbgm_surface_blit(int, VALUE*, VALUE);

extern VALUE rbgm_surface_fill(int, VALUE*, VALUE);

extern VALUE rbgm_surface_getat(int, VALUE*, VALUE);

extern VALUE rbgm_surface_pixels(VALUE);

extern VALUE rbgm_surface_get_cliprect(VALUE);
extern VALUE rbgm_surface_set_cliprect(VALUE, VALUE);

extern VALUE rbgm_surface_convert(int, VALUE*, VALUE);
extern VALUE rbgm_surface_displayformat(VALUE);
extern VALUE rbgm_surface_displayformatalpha(VALUE);

extern VALUE rbgm_image_savebmp(VALUE, VALUE);

extern VALUE rbgm_transform_flip(VALUE, VALUE, VALUE);

#endif

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rubygame-2.2.0-mswin32 ext/rubygame/rubygame_surface.h
rubygame-2.2.0-i586-linux ext/rubygame/rubygame_surface.h
rubygame-2.5.3 ext/rubygame/rubygame_surface.h
rubygame-2.1.0 ext/rubygame/rubygame_surface.h
rubygame-2.2.0 ext/rubygame/rubygame_surface.h
rubygame-2.3.0 ext/rubygame/rubygame_surface.h
rubygame-2.5.2 ext/rubygame/rubygame_surface.h
rubygame-2.4.0 ext/rubygame/rubygame_surface.h
rubygame-2.4.1 ext/rubygame/rubygame_surface.h
rubygame-2.5.0 ext/rubygame/rubygame_surface.h
rubygame-2.3.0-x86-mswin32-60 ext/rubygame/rubygame_surface.h
rubygame-2.3.0-x86-linux ext/rubygame/rubygame_surface.h
rubygame-2.5.1 ext/rubygame/rubygame_surface.h