Lines Matching refs:y

133          /** construct image of size size.x x size.y, use the specified allocator.
144 - vigra_precondition((size.x >= 0) && (size.y >= 0),
146 - "size.x and size.y must be >= 0.\n");
151 + vigra_precondition((sz.x >= 0) && (sz.y >= 0),
153 + "sz.x and sz.y must be >= 0.\n");
155 - resize(size.x, size.y, value_type());
156 + resize(sz.x, sz.y, value_type());
186 /** construct image of size size.x x size.y and initialize
199 - vigra_precondition((size.x >= 0) && (size.y >= 0),
201 - "size.x and size.y must be >= 0.\n");
206 + vigra_precondition((sz.x >= 0) && (sz.y >= 0),
208 + "sz.x and sz.y must be >= 0.\n");
210 - resize(size.x, size.y, d);
211 + resize(sz.x, sz.y, d);
240 /** construct image of size size.x x size.y and copy the data from the
252 - vigra_precondition((size.x >= 0) && (size.y >= 0),
254 - "size.x and size.y must be >= 0.\n");
259 + vigra_precondition((sz.x >= 0) && (sz.y >= 0),
261 + "sz.x and sz.y must be >= 0.\n");
263 - resizeCopy(size.x, size.y, d);
264 + resizeCopy(sz.x, sz.y, d);
287 - if(size.x != width_ || size.y != height_)
288 + if(sz.x != width_ || sz.y != height_)
290 - resize(size.x, size.y, value_type());
291 + resize(sz.x, sz.y, value_type());
426 - for(int y=0; y<height; ++y)
427 - lines[y] = data + y*width;
429 + for(int y=0; y<h; ++y)
430 + lines[y] = src_data + y*w;
451 /** construct view of size size.x x size.y
456 - height_(size.y),
461 + height_(sz.y),
523 - Point2D(int x, int y)
524 - : Diff2D(x, y)
968 if(x == 0 && y == 0)
970 double d = dot(vectors_(x+radius_, y+radius_), v);
971 - return VIGRA_CSTD::pow(1.0 - d * d, 3) * weights_(x+radius_, y+radius_);
972 + return VIGRA_CSTD::pow(1.0 - d * d, 3.0) * weights_(x+radius_, y+radius_);
977 if(x == 0 && y == 0)
979 double d = dot(vectors_(x+radius_, y+radius_), v);
980 - return VIGRA_CSTD::pow(1.0 - d * d, 3) * weights_(x+radius_, y+radius_);
981 + return VIGRA_CSTD::pow(1.0 - d * d, 3.0) * weights_(x+radius_, y+radius_);
986 if(x == 0 && y == 0)
988 double d = dot(vectors_(x+radius_, y+radius_), v);
989 - return (1.0 - VIGRA_CSTD::pow(1.0 - d * d, 3)) * weights_(x+radius_, y+radius_);
990 + return (1.0 - VIGRA_CSTD::pow(1.0 - d * d, 3.0)) * weights_(x+radius_, y+radius_);
995 if(x == 0 && y == 0)
997 double d = dot(vectors_(x+radius_, y+radius_), v);
998 - return (1.0 - VIGRA_CSTD::pow(1.0 - d * d, 3)) * weights_(x+radius_, y+radius_);
999 + return (1.0 - VIGRA_CSTD::pow(1.0 - d * d, 3.0)) * weights_(x+radius_, y+radius_);