~ubuntu-branches/ubuntu/oneiric/imagemagick/oneiric-updates

« back to all changes in this revision

Viewing changes to Magick++/lib/Magick++/Drawable.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-06-15 11:05:28 UTC
  • mfrom: (6.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110615110528-08jgo07a4846xh8d
Tags: 8:6.6.0.4-3ubuntu1
* Resynchronise with Debian (LP: #797595).  Remaining changes:
  - Make ufraw-batch (universe) a suggestion instead of a recommendation.
  - Make debian/rules install target depend on check; they cannot reliably
    be run in parallel.
  - Don't set MAKEFLAGS in debian/rules; just pass it to the build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
475
475
  /*virtual*/ DrawableBase* copy() const;
476
476
 
477
477
private:
478
 
  ssize_t   _dummy;
 
478
  int   _dummy;
479
479
};
480
480
 
481
481
// Push (create) Clip path definition
934
934
 
935
935
  DrawableFont ( const std::string &family_,
936
936
                 StyleType style_,
937
 
                 const unsigned int weight_,
 
937
                 const unsigned long weight_,
938
938
                 StretchType stretch_ );
939
939
  DrawableFont ( const DrawableFont& original_ );
940
940
 
959
959
  std::string   _font;
960
960
  std::string   _family;
961
961
  StyleType     _style;
962
 
  unsigned int _weight;
 
962
  unsigned long _weight;
963
963
  StretchType   _stretch;
964
964
};
965
965
 
1255
1255
  /*virtual*/ DrawableBase* copy() const;
1256
1256
 
1257
1257
private:
1258
 
  ssize_t   _dummy;
 
1258
  int   _dummy;
1259
1259
};
1260
1260
 
1261
1261
// Push Graphic Context
1276
1276
  /*virtual*/ DrawableBase* copy() const;
1277
1277
 
1278
1278
private:
1279
 
  ssize_t   _dummy;
 
1279
  int   _dummy;
1280
1280
};
1281
1281
 
1282
1282
// Pop (terminate) Pattern definition
1297
1297
  /*virtual*/ DrawableBase* copy() const;
1298
1298
 
1299
1299
private:
1300
 
  ssize_t   _dummy;
 
1300
  int   _dummy;
1301
1301
};
1302
1302
 
1303
1303
// Push (create) Pattern definition
1304
1304
class MagickDLLDecl DrawablePushPattern : public DrawableBase
1305
1305
{
1306
1306
public:
1307
 
  DrawablePushPattern ( const std::string &id_, ssize_t x_, ssize_t y_,
1308
 
                        size_t width_, size_t height_ );
 
1307
  DrawablePushPattern ( const std::string &id_, long x_, long y_,
 
1308
                        long width_, long height_ );
1309
1309
 
1310
1310
  DrawablePushPattern ( const DrawablePushPattern& original_ );
1311
1311
 
1319
1319
 
1320
1320
private:
1321
1321
  std::string         _id;
1322
 
  ssize_t               _x;
1323
 
  ssize_t               _y;
1324
 
  size_t                _width;
1325
 
  size_t                _height;
 
1322
  long          _x;
 
1323
  long          _y;
 
1324
  long          _width;
 
1325
  long          _height;
1326
1326
};
1327
1327
 
1328
1328
// Rectangle
1606
1606
{
1607
1607
public:
1608
1608
  DrawableDashArray( const double* dasharray_ );
1609
 
  DrawableDashArray( const size_t* dasharray_ ); // Deprecated
 
1609
  DrawableDashArray( const unsigned int* dasharray_ ); // Deprecated
1610
1610
  DrawableDashArray( const Magick::DrawableDashArray &original_ );
1611
1611
 
1612
1612
  /*virtual*/ ~DrawableDashArray( void );
1618
1618
  /*virtual*/ DrawableBase* copy() const;
1619
1619
 
1620
1620
  void dasharray( const double* dasharray_ );
1621
 
  void dasharray( const size_t* dasharray_ ); // Deprecated
 
1621
  void dasharray( const unsigned int* dasharray_ ); // Deprecated
1622
1622
 
1623
1623
  const double* dasharray( void ) const
1624
1624
    {
1723
1723
class MagickDLLDecl DrawableMiterLimit : public DrawableBase
1724
1724
{
1725
1725
public:
1726
 
  DrawableMiterLimit ( size_t miterlimit_ )
 
1726
  DrawableMiterLimit ( unsigned int miterlimit_ )
1727
1727
    : _miterlimit(miterlimit_)
1728
1728
    { }
1729
1729
 
1735
1735
  // Return polymorphic copy of object
1736
1736
  /*virtual*/ DrawableBase* copy() const;
1737
1737
 
1738
 
  void miterlimit( size_t miterlimit_ )
 
1738
  void miterlimit( unsigned int miterlimit_ )
1739
1739
    {
1740
1740
      _miterlimit = miterlimit_;
1741
1741
    }
1742
 
  size_t miterlimit( void ) const
 
1742
  unsigned int miterlimit( void ) const
1743
1743
    {
1744
1744
      return _miterlimit;
1745
1745
    }
1746
1746
 
1747
1747
private:
1748
 
  size_t _miterlimit;
 
1748
  unsigned int _miterlimit;
1749
1749
};
1750
1750
 
1751
1751
 
2055
2055
class MagickDLLDecl DrawableViewbox : public DrawableBase
2056
2056
{
2057
2057
public:
2058
 
  DrawableViewbox(ssize_t x1_, ssize_t y1_,
2059
 
                  ssize_t x2_, ssize_t y2_)
 
2058
  DrawableViewbox(unsigned long x1_, unsigned long y1_,
 
2059
                  unsigned long x2_, unsigned long y2_)
2060
2060
    : _x1(x1_),
2061
2061
      _y1(y1_),
2062
2062
      _x2(x2_),
2071
2071
  /*virtual*/
2072
2072
  DrawableBase* copy() const;
2073
2073
 
2074
 
  void x1( ssize_t x1_ )
 
2074
  void x1( unsigned long x1_ )
2075
2075
    {
2076
2076
      _x1 = x1_;
2077
2077
    }
2078
 
  ssize_t x1( void ) const
 
2078
  unsigned long x1( void ) const
2079
2079
    {
2080
2080
      return _x1;
2081
2081
    }
2082
2082
 
2083
 
  void y1( ssize_t y1_ )
 
2083
  void y1( unsigned long y1_ )
2084
2084
    {
2085
2085
      _y1 = y1_;
2086
2086
    }
2087
 
  ssize_t y1( void ) const
 
2087
  unsigned long y1( void ) const
2088
2088
    {
2089
2089
      return _y1;
2090
2090
    }
2091
2091
 
2092
 
  void x2( ssize_t x2_ )
 
2092
  void x2( unsigned long x2_ )
2093
2093
    {
2094
2094
      _x2 = x2_;
2095
2095
    }
2096
 
  ssize_t x2( void ) const
 
2096
  unsigned long x2( void ) const
2097
2097
    {
2098
2098
      return _x2;
2099
2099
    }
2100
2100
 
2101
 
  void y2( ssize_t y2_ )
 
2101
  void y2( unsigned long y2_ )
2102
2102
    {
2103
2103
      _y2 = y2_;
2104
2104
    }
2105
 
  ssize_t y2( void ) const
 
2105
  unsigned long y2( void ) const
2106
2106
    {
2107
2107
      return _y2;
2108
2108
    }
2109
2109
 
2110
2110
private:
2111
 
  ssize_t _x1;
2112
 
  ssize_t _y1;
2113
 
  ssize_t _x2;
2114
 
  ssize_t _y2;
 
2111
  unsigned long _x1;
 
2112
  unsigned long _y1;
 
2113
  unsigned long _x2;
 
2114
  unsigned long _y2;
2115
2115
};
2116
2116
 
2117
2117
//
2295
2295
  /*virtual*/ VPathBase* copy() const;
2296
2296
 
2297
2297
private:
2298
 
  ssize_t   _dummy;
 
2298
  int   _dummy;
2299
2299
};
2300
2300
 
2301
2301
//