ultimatepp/uppsrc/Geom/Draw/imgtran.h
mdelfede d2b54f7989 changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-07 22:31:27 +00:00

26 lines
1.2 KiB
C

#ifndef _Geom_Draw_imgtran_h_
#define _Geom_Draw_imgtran_h_
NAMESPACE_UPP
void LinearSet(ImageBuffer& dest, Point d0, Point d1, Point d2, RGBA color, const Rect *opt_clip = NULL);
void LinearCopy(ImageBuffer& dest, Point d0, Point d1, Point d2,
const Image& src, Point s0, Point s1, Point s2, const Rect *opt_clip = NULL, bool interpolate = true);
void BilinearSet(ImageBuffer& dest, Point d1, Point d2, Point d3, Point d4, RGBA color, const Rect *clip = NULL);
void BilinearSet(ImageBuffer& dest, Point destpos[4], RGBA color, const Rect *clip = NULL);
void BilinearCopy(ImageBuffer& dest, Point d1, Point d2, Point d3, Point d4,
const Image& src, Point s1, Point s2, Point s3, Point s4, const Rect *clip = NULL, bool interpolate = true);
void BilinearCopy(ImageBuffer& dest, Point destpos[4],
const Image& src, Point srcpos[4], const Rect *opt_clip = NULL, bool interpolate = true);
void BilinearCopy(ImageBuffer& dest, Point d1, Point d2, Point d3, Point d4,
const Image& src, Rect sr, const Rect *opt_clip = NULL, bool interpolate = true);
void BilinearCopy(ImageBuffer& dest, Point destpos[4],
const Image& src, Rect sr, const Rect *opt_clip = NULL, bool interpolate = true);
Image BilinearRotate(const Image& m, int angle);
END_UPP_NAMESPACE
#endif