attribute.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2006 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.
00006   obtain a copy of the License at
00007   
00008     http://www.imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore methods to get/set/destroy Image Text Attributes.
00017 */
00018 #ifndef _MAGICKCORE_ATTRIBUTE_H
00019 #define _MAGICKCORE_ATTRIBUTE_H
00020 
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024 
00025 #include <stdarg.h>
00026 
00027 typedef struct _ImageAttribute
00028 {
00029   char
00030     *key,
00031     *value;
00032                                                                                 
00033   MagickBooleanType
00034     compression;
00035                                                                                 
00036   struct _ImageAttribute
00037     *previous,
00038     *next;  /* deprecated */
00039 } ImageAttribute;
00040 
00041 extern MagickExport char
00042   *InterpretImageAttributes(const ImageInfo *,Image *,const char *);
00043 
00044 extern MagickExport const ImageAttribute
00045   *GetImageAttribute(const Image *,const char *),
00046   *GetImageClippingPathAttribute(Image *),
00047   *GetNextImageAttribute(const Image *);
00048 
00049 extern MagickExport MagickBooleanType
00050   CloneImageAttributes(Image *,const Image *),
00051   DeleteImageAttribute(Image *,const char *),
00052   FormatImageAttribute(Image *,const char *,const char *,...)
00053     magick_attribute((format (printf,3,4))),
00054   FormatImageAttributeList(Image *,const char *,const char *,va_list)
00055     magick_attribute((format (printf,3,0))),
00056   SetImageAttribute(Image *,const char *,const char *);
00057 
00058 extern MagickExport void
00059   DestroyImageAttributes(Image *),
00060   ResetImageAttributeIterator(const Image *);
00061 
00062 #if defined(__cplusplus) || defined(c_plusplus)
00063 }
00064 #endif
00065 
00066 #endif

Generated on Thu Sep 4 11:42:42 2008 for ImageMagick by  doxygen 1.5.6