Diff for /parser3/src/classes/gd/Attic/gif.h between versions 1.23 and 1.23.2.2

version 1.23, 2003/01/21 15:51:08 version 1.23.2.2, 2003/01/29 13:52:21
Line 34  static const char* IDENT_GIF_H="$Date$"; Line 34  static const char* IDENT_GIF_H="$Date$";
         access sx, sy, the color table, and colorsTotal for           access sx, sy, the color table, and colorsTotal for 
         read-only purposes.           read-only purposes. 
 */  */
 class gdImage : public Pooled {  class gdImage: public PA_Object {
   
 public:   public: 
                   
         //@{          //@{
         /// @name Functions to manipulate images          /// @name Functions to manipulate images
         gdImage(Pool& pool) : Pooled(pool) {}  
         void Create(int asx, int asy);          void Create(int asx, int asy);
         bool CreateFromGif(FILE *fd);          bool CreateFromGif(FILE *fd);
         void SetPixel(int x, int y, int color);          void SetPixel(int x, int y, int color);
Line 72  public: Line 71  public:
         int BoundsSafe(int x, int y);          int BoundsSafe(int x, int y);
         void DoSetPixel(int x, int y, int color);          void DoSetPixel(int x, int y, int color);
                   
         void Gif(String& out);          void Gif(Pool& pool, 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 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);
Line 127  private: // read gif Line 126  private: // read gif
                   
 };  };
   
   DECLARE_OBJECT_PTR(gdImage)
   
 ///     used by gdImage::Gif to produce buffer with bytes in GIF format  ///     used by gdImage::Gif to produce buffer with bytes in GIF format
 class gdGifEncoder : public Pooled {  class gdGifEncoder: public PA_Object {
 public:  public:
   
         gdGifEncoder(Pool& pool, gdImage& aim, String& afp);          gdGifEncoder(Pool& apool, gdImage& aim, String& afp);
   
         void encode(           void encode( 
                 int GWidth, int GHeight,                   int GWidth, int GHeight, 
Line 140  public: Line 141  public:
                 int *Red, int *Green, int *Blue);                  int *Red, int *Green, int *Blue);
   
 private:  private:
           
           Pool& pool;
   
         /// a code_int must be able to hold 2**GIFBITS values of type int, and also -1          /// a code_int must be able to hold 2**GIFBITS values of type int, and also -1
         typedef int             code_int;          typedef int             code_int;
Line 228  inline /*paf int*/void gdImage::DoSetPix Line 231  inline /*paf int*/void gdImage::DoSetPix
     if(BoundsSafe(x, y)) pixels[x][y] = color;      if(BoundsSafe(x, y)) pixels[x][y] = color;
 }  }
   
   DECLARE_OBJECT_PTR(gdGifEncoder)
   
 #endif  #endif

Removed from v.1.23  
changed lines
  Added in v.1.23.2.2


E-mail: