|
|
| version 1.11, 2001/09/18 16:05:42 | version 1.22, 2002/08/01 11:41:13 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: image manipulations decls. | Parser: image manipulations decls. |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | |
| $Id$ | |
| based on: | based on: |
| gd.h: declarations file for the gifdraw module. | gd.h: declarations file for the gifdraw module. |
| Line 19 | Line 16 |
| */ | */ |
| #ifndef GIF_H | #ifndef GIF_H |
| #define GIF_H 1 | #define GIF_H |
| static const char* IDENT_GIF_H="$Date$"; | |
| #include "pa_config_includes.h" | #include "pa_config_includes.h" |
| Line 63 public: | Line 62 public: |
| void FilledPolygonReplaceColor(Point *p, int n, int a, int b); | void FilledPolygonReplaceColor(Point *p, int n, int a, int b); |
| int ColorAllocate(int r, int g, int b); | int ColorAllocate(int r, int g, int b); |
| int ColorClosest(int r, int g, int b); | int ColorClosest(int r, int g, int b, int tolerance=0); |
| int ColorExact(int r, int g, int b); | int ColorExact(int r, int g, int b); |
| int ColorRGB(int r, int g, int b); | int ColorRGB(int r, int g, int b); |
| int Color(unsigned int rgb); | int Color(unsigned int rgb); |
| Line 75 public: | Line 74 public: |
| void Gif(String& out); | void Gif(String& out); |
| void Arc(int cx, int cy, int w, int h, int s, int e, int color); | void Arc(int cx, int cy, int w, int h, int s, int e, int color); |
| void Sector(int cx, int cy, int w, int h, int s, int e, int color); | |
| void FillToBorder(int x, int y, int border, int color); | void FillToBorder(int x, int y, int border, int color); |
| void Fill(int x, int y, int color); | void Fill(int x, int y, int color); |
| void Copy(gdImage& dst, int dstX, int dstY, int srcX, int srcY, int w, int h); | void Copy(gdImage& dst, int dstX, int dstY, int srcX, int srcY, int w, int h); |
| void CopyResized(gdImage& dst, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH); | void CopyResampled(gdImage& dst, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH, int tolerance); |
| void SetLineWidth(int width); | void SetLineWidth(int width); |
| void SetLineStyle(const char *aLineStyle); | void SetLineStyle(const char *aLineStyle); |
| void SetInterlace(int interlaceArg); /* On or off(1 or 0) */ | void SetInterlace(int interlaceArg); /* On or off(1 or 0) */ |