浏览代码

+ patch by Florian Immenroth: MagickSetResolution added

git-svn-id: trunk@37623 -
florian 7 年之前
父节点
当前提交
8e3d23a23e
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8 4
      packages/imagemagick/src/magick_attribute.inc

+ 8 - 4
packages/imagemagick/src/magick_attribute.inc

@@ -1,12 +1,12 @@
 {
 {
   Copyright 1999-2005 ImageMagick Studio LLC, a non-profit organization
   Copyright 1999-2005 ImageMagick Studio LLC, a non-profit organization
   dedicated to making software imaging solutions freely available.
   dedicated to making software imaging solutions freely available.
-  
+
   You may not use this file except in compliance with the License.
   You may not use this file except in compliance with the License.
   obtain a copy of the License at
   obtain a copy of the License at
-  
+
     http://www.imagemagick.org/script/license.php
     http://www.imagemagick.org/script/license.php
-  
+
   Unless required by applicable law or agreed to in writing, software
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -62,7 +62,11 @@ extern WandExport MagickBooleanType
   MagickSetPage(MagickWand *,const unsigned long,const unsigned long,
   MagickSetPage(MagickWand *,const unsigned long,const unsigned long,
     const long,const long),
     const long,const long),
   MagickSetPassphrase(MagickWand *,const char *),
   MagickSetPassphrase(MagickWand *,const char *),
-  MagickSetResolution(MagickWand *,const double,const double),
+}
+
+function MagickSetResolution(wand: PMagickWand; const x_resolution, y_resolution:double):MagickBooleanType; cdecl; external WandExport;
+
+{
   MagickSetResourceLimit(const ResourceType type,const unsigned long limit),
   MagickSetResourceLimit(const ResourceType type,const unsigned long limit),
   MagickSetSamplingFactors(MagickWand *,const unsigned long,const double *),
   MagickSetSamplingFactors(MagickWand *,const unsigned long,const double *),
   MagickSetSize(MagickWand *,const unsigned long,const unsigned long),
   MagickSetSize(MagickWand *,const unsigned long,const unsigned long),