Lines Matching refs:size

52 +        size_type new_size = size() + n;
96 /** construct image of size 0x0
109 /** construct image of size width x height, use the specified allocator.
133 /** construct image of size size.x x size.y, use the specified allocator.
135 - explicit BasicImage(difference_type const & size, Alloc const & alloc = Alloc())
144 - vigra_precondition((size.x >= 0) && (size.y >= 0),
145 - "BasicImage::BasicImage(Diff2D size): "
146 - "size.x and size.y must be >= 0.\n");
155 - resize(size.x, size.y, value_type());
159 /** construct image of size width*height and initialize every
186 /** construct image of size size.x x size.y and initialize
190 - explicit BasicImage(difference_type const & size, value_type const & d, Alloc const & alloc = …
199 - vigra_precondition((size.x >= 0) && (size.y >= 0),
200 - "BasicImage::BasicImage(Diff2D const & size, value_type const & v): "
201 - "size.x and size.y must be >= 0.\n");
210 - resize(size.x, size.y, d);
215 /** construct image of size width*height and copy the data from the
240 /** construct image of size size.x x size.y and copy the data from the
243 - explicit BasicImage(difference_type const & size, const_pointer d, Alloc const & alloc = Alloc…
252 - vigra_precondition((size.x >= 0) && (size.y >= 0),
253 - "BasicImage::BasicImage(Diff2D const & size, const_pointer): "
254 - "size.x and size.y must be >= 0.\n");
263 - resizeCopy(size.x, size.y, d);
269 /** reset image to specified size (dimensions must not be negative)
270 (old data are kept if new size matches old size)
281 /** reset image to specified size (dimensions must not be negative)
282 (old data are kept if new size matches old size)
284 - void resize(difference_type const & size)
287 - if(size.x != width_ || size.y != height_)
290 - resize(size.x, size.y, value_type());
297 old data are kept if new size matches old size)
302 /** resize image to given size and initialize by copying data
308 /** resize image to size of other image and copy it's data
323 - if (width_ != width || height_ != height) // change size?
324 + if (width_ != w || height_ != h) // change size?
361 - else if(width*height > 0) // keep size, re-init data
362 + else if(w*h > 0) // keep size, re-init data
376 - if (width_ != width || height_ != height) // change size?
378 + if (width_ != w || height_ != h) // change size?
411 else if(newsize > 0) // keep size, copy data
439 /** construct view of size w x h
451 /** construct view of size size.x x size.y
453 - BasicImageView(const_pointer data, difference_type const & size, int stride = 0)
455 - width_(size.x),
456 - height_(size.y),
457 - stride_(stride == 0 ? size.x : stride)
487 for(unsigned int i=0; i<k.size(); ++i)
548 /** Construct a rectangle of given position and size
550 - Rect2D(Point2D const &upperLeft, Size2D const &size)
551 - : upperLeft_(upperLeft), lowerRight_(upperLeft + size)
556 /** Construct a rectangle of given size at position (0,0)
558 - explicit Rect2D(Size2D const &size)
559 - : lowerRight_(Point2D(size))
581 - void setSize(Size2D const &size)
584 - lowerRight_ = upperLeft_ + size;
598 /** Increase the size of the rectangle by the given offset. This
1106 - int size = right_ - left_ + 1;
1108 for(unsigned int i=0; i<kernel_.size(); ++i) kernel_[i] = v;
1109 - norm_ = (double)size*v;
1112 - return InitProxy(kernel_.begin(), size, norm_);
1246 for(unsigned int i=0; i < kernel_.size(); ++i)
1321 - enum { cursize = LIST::size,
1322 - nextsize = SelectBiggestIntegerType<typename LIST::next>::size,
1323 + enum { cursize = static_cast< int >(LIST::size),
1324 + nextsize = static_cast< int >(SelectBiggestIntegerType<typename LIST::next>::size),
1325 size = (cursize < nextsize) ? nextsize : cursize };
1451 "TinyVector::init(): Sequence has wrong size.");