Toshihiro Shimizu 890ddd
#ifndef igs_fog_h
Toshihiro Shimizu 890ddd
#define igs_fog_h
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef IGS_FOG_EXPORT
Toshihiro Shimizu 890ddd
#define IGS_FOG_EXPORT
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
namespace igs
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
namespace fog
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
IGS_FOG_EXPORT bool have_change(
Toshihiro Shimizu 890ddd
	const double radius // 25.0(0 ... 100(DOUBLE_MAX))
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double power // 1.00(-2.00 ... 2.00)
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double threshold_min // 0.00(0.00 ... 1.01)
Toshihiro Shimizu 890ddd
	);
Toshihiro Shimizu 890ddd
IGS_FOG_EXPORT void convert(
Toshihiro Shimizu 890ddd
	void *in, void *out, double *buffer
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const int height, const int width, const int channels, const int bits
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const int number_of_thread = 1 // 1 ... INT_MAX
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double radius = 25.0 // 0 ... 100(DOUBLE_MAX)
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double curve = 1.0 // 0.01 ... 100
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const int polygon_number = 2 // 2 ... 16(INT_MAX)
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double degree = 0 // 0 ... DOUBLE_MAX
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double power = 1.0 // -2.00 ... 2.00
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double threshold_min = 0.0 // 0.00 ... 1.01
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const double threshold_max = 0.0 // 0.00 ... 1.01
Toshihiro Shimizu 890ddd
	,
Toshihiro Shimizu 890ddd
	const bool alpha_rendering_sw = false // true,false
Toshihiro Shimizu 890ddd
	);
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif /* !igs_fog_h */