Sha256: c9847db711e40a830c52309aec6061a1fd6210b2eccb86439284f413009441fb

Contents?: true

Size: 565 Bytes

Versions: 24

Compression:

Stored size: 565 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_SRC_BITMAP_H__
#define __RAYS_SRC_BITMAP_H__


#include <rays/bitmap.h>


namespace Rays
{


	class Texture;

	class RawFont;


	Bitmap Bitmap_from (const Texture& texture);

	void Bitmap_draw_string (
		Bitmap* bitmap, const RawFont& font, const char* str, coord x, coord y);

	void Bitmap_set_modified (Bitmap* bitmap, bool modified = true);

	bool Bitmap_get_modified (const Bitmap& bitmap);

	void Bitmap_save (const Bitmap& bitmap, const char* path);

	Bitmap Bitmap_load (const char* path);


}// Rays


#endif//EOH

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rays-0.1.16 src/bitmap.h
rays-0.1.15 src/bitmap.h
rays-0.1.14 src/bitmap.h
rays-0.1.13 src/bitmap.h