Home
last modified time | relevance | path

Searched refs:rOld1 (Results 1 – 14 of 14) sorted by relevance

/trunk/main/basegfx/inc/basegfx/pixel/
H A Dbpixel.hxx160 if(rOld1 == rOld2) in interpolate()
162 return rOld1; in interpolate()
166 return rOld1; in interpolate()
188rOld1.getRed() == rOld2.getRed() ? rOld1.getRed() : (sal_uInt8)(((sal_uInt32)rOld1.getRed() + (sal… in average()
189rOld1.getGreen() == rOld2.getGreen() ? rOld1.getGreen() : (sal_uInt8)(((sal_uInt32)rOld1.getGreen(… in average()
190rOld1.getBlue() == rOld2.getBlue() ? rOld1.getBlue() : (sal_uInt8)(((sal_uInt32)rOld1.getBlue() + … in average()
191rOld1.getOpacity() == rOld2.getOpacity() ? rOld1.getOpacity() : (sal_uInt8)(((sal_uInt32)rOld1.get… in average()
197 …(rOld1.getRed() == rOld2.getRed() && rOld2.getRed() == rOld3.getRed()) ? rOld1.getRed() : (sal_uIn… in average()
198 …(rOld1.getGreen() == rOld2.getGreen() && rOld2.getGreen() == rOld3.getGreen()) ? rOld1.getGreen() … in average()
199 …(rOld1.getBlue() == rOld2.getBlue() && rOld2.getBlue() == rOld3.getBlue()) ? rOld1.getBlue() : (sa… in average()
[all …]
/trunk/main/basegfx/inc/basegfx/point/
H A Db3dhompoint.hxx333 return rOld1; in interpolate()
341 return rOld1; in interpolate()
346 ((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX(), in interpolate()
347 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY(), in interpolate()
348 ((rOld2.getZ() - rOld1.getZ()) * t) + rOld1.getZ()); in interpolate()
355 rOld1.getX() == rOld2.getX() ? rOld1.getX() : (rOld1.getX() + rOld2.getX()) * 0.5, in average()
356 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5, in average()
357 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average()
363 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : (rOld1.getX() + rO… in average()
364 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : (rOld1.getY() + rO… in average()
[all …]
H A Db2dhompoint.hxx295 inline B2DHomPoint interpolate(B2DHomPoint& rOld1, B2DHomPoint& rOld2, double t) in interpolate() argument
299 return rOld1; in interpolate()
305 else if(rOld1 == rOld2) // this call homogenizes already in interpolate()
307 return rOld1; in interpolate()
312 ((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX(), in interpolate()
313 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()); in interpolate()
317 inline B2DHomPoint average(B2DHomPoint& rOld1, B2DHomPoint& rOld2) in average() argument
320 rOld1.getX() == rOld2.getX() ? rOld1.getX() : (rOld1.getX() + rOld2.getX()) * 0.5, in average()
321 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average()
327 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : (rOld1.getX() + rO… in average()
[all …]
/trunk/main/basegfx/inc/basegfx/tuple/
H A Db3i64tuple.hxx261 if(rOld1 == rOld2) in interpolate()
263 return rOld1; in interpolate()
267 return rOld1; in interpolate()
276 basegfx::fround64(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate()
277 basegfx::fround64(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()), in interpolate()
278 basegfx::fround64(((rOld2.getZ() - rOld1.getZ()) * t) + rOld1.getZ())); in interpolate()
285rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround64((rOld1.getX() + rOld2.getX()) * 0.… in average()
286rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround64((rOld1.getY() + rOld2.getY()) * 0.… in average()
287rOld1.getZ() == rOld2.getZ() ? rOld1.getZ() : basegfx::fround64((rOld1.getZ() + rOld2.getZ()) * 0.… in average()
293 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : basegfx::fround64(… in average()
[all …]
H A Db3ituple.hxx260 if(rOld1 == rOld2) in interpolate()
262 return rOld1; in interpolate()
266 return rOld1; in interpolate()
275 basegfx::fround(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate()
276 basegfx::fround(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()), in interpolate()
277 basegfx::fround(((rOld2.getZ() - rOld1.getZ()) * t) + rOld1.getZ())); in interpolate()
284rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround((rOld1.getX() + rOld2.getX()) * 0.5), in average()
285rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround((rOld1.getY() + rOld2.getY()) * 0.5), in average()
286rOld1.getZ() == rOld2.getZ() ? rOld1.getZ() : basegfx::fround((rOld1.getZ() + rOld2.getZ()) * 0.5)… in average()
292 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : basegfx::fround((r… in average()
[all …]
H A Db3dtuple.hxx342 if(rOld1 == rOld2) in interpolate()
344 return rOld1; in interpolate()
348 return rOld1; in interpolate()
357 ((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX(), in interpolate()
358 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY(), in interpolate()
359 ((rOld2.getZ() - rOld1.getZ()) * t) + rOld1.getZ()); in interpolate()
366 rOld1.getX() == rOld2.getX() ? rOld1.getX() : (rOld1.getX() + rOld2.getX()) * 0.5, in average()
367 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5, in average()
368 rOld1.getZ() == rOld2.getZ() ? rOld1.getZ() : (rOld1.getZ() + rOld2.getZ()) * 0.5); in average()
374 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : (rOld1.getX() + rO… in average()
[all …]
H A Db2i64tuple.hxx225 inline B2I64Tuple interpolate(const B2I64Tuple& rOld1, const B2I64Tuple& rOld2, double t) in interpolate() argument
227 if(rOld1 == rOld2) in interpolate()
229 return rOld1; in interpolate()
233 return rOld1; in interpolate()
242 basegfx::fround64(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate()
243 basegfx::fround64(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY())); in interpolate()
247 inline B2I64Tuple average(const B2I64Tuple& rOld1, const B2I64Tuple& rOld2) in average() argument
250rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround64((rOld1.getX() + rOld2.getX()) * 0.… in average()
251rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround64((rOld1.getY() + rOld2.getY()) * 0.… in average()
257 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : basegfx::fround64(… in average()
[all …]
H A Db2ituple.hxx229 inline B2ITuple interpolate(const B2ITuple& rOld1, const B2ITuple& rOld2, double t) in interpolate() argument
231 if(rOld1 == rOld2) in interpolate()
233 return rOld1; in interpolate()
237 return rOld1; in interpolate()
246 basegfx::fround(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate()
247 basegfx::fround(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY())); in interpolate()
251 inline B2ITuple average(const B2ITuple& rOld1, const B2ITuple& rOld2) in average() argument
254rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround((rOld1.getX() + rOld2.getX()) * 0.5), in average()
255rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround((rOld1.getY() + rOld2.getY()) * 0.5)… in average()
261 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : basegfx::fround((r… in average()
[all …]
H A Db2dtuple.hxx268 inline B2DTuple interpolate(const B2DTuple& rOld1, const B2DTuple& rOld2, double t) in interpolate() argument
270 if(rOld1 == rOld2) in interpolate()
272 return rOld1; in interpolate()
276 return rOld1; in interpolate()
285 ((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX(), in interpolate()
286 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()); in interpolate()
290 inline B2DTuple average(const B2DTuple& rOld1, const B2DTuple& rOld2) in average() argument
293 rOld1.getX() == rOld2.getX() ? rOld1.getX() : (rOld1.getX() + rOld2.getX()) * 0.5, in average()
294 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average()
300 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : (rOld1.getX() + rO… in average()
[all …]
/trunk/main/tools/inc/tools/
H A Dvector2d.hxx61 inline void CalcInBetween(Vector2D& rOld1, Vector2D& rOld2, double t) in CalcInBetween() argument
62 …{ mfX = ((rOld2.mfX - rOld1.mfX) + t) + rOld1.mfX; mfY = ((rOld2.mfY - rOld1.mfY) + t) + rOld1.mfY… in CalcInBetween()
63 inline void CalcMiddle(Vector2D& rOld1, Vector2D& rOld2) in CalcMiddle() argument
64 { mfX = (rOld1.mfX + rOld2.mfX) / 2.0; mfY = (rOld1.mfY + rOld2.mfY) / 2.0; } in CalcMiddle()
65 inline void CalcMiddle(Vector2D& rOld1, Vector2D& rOld2, Vector2D& rOld3) in CalcMiddle() argument
66 …{ mfX = (rOld1.mfX + rOld2.mfX + rOld3.mfX) / 3.0; mfY = (rOld1.mfY + rOld2.mfY + rOld3.mfY) / 3.0… in CalcMiddle()
/trunk/main/basegfx/source/polygon/
H A Db2dpolypolygontools.cxx501 B2DPolyPolygon interpolate(const B2DPolyPolygon& rOld1, const B2DPolyPolygon& rOld2, double t) in interpolate() argument
503 OSL_ENSURE(rOld1.count() == rOld2.count(), "B2DPolyPolygon interpolate: Different geometry (!)"); in interpolate()
506 for(sal_uInt32 a(0L); a < rOld1.count(); a++) in interpolate()
508 aRetval.append(interpolate(rOld1.getB2DPolygon(a), rOld2.getB2DPolygon(a), t)); in interpolate()
H A Db2dpolygontools.cxx3104 B2DPolygon interpolate(const B2DPolygon& rOld1, const B2DPolygon& rOld2, double t) in interpolate() argument
3106 OSL_ENSURE(rOld1.count() == rOld2.count(), "B2DPolygon interpolate: Different geometry (!)"); in interpolate()
3108 if(fTools::lessOrEqual(t, 0.0) || rOld1 == rOld2) in interpolate()
3110 return rOld1; in interpolate()
3119 const bool bInterpolateVectors(rOld1.areControlPointsUsed() || rOld2.areControlPointsUsed()); in interpolate()
3120 aRetval.setClosed(rOld1.isClosed() && rOld2.isClosed()); in interpolate()
3122 for(sal_uInt32 a(0L); a < rOld1.count(); a++) in interpolate()
3124 aRetval.append(interpolate(rOld1.getB2DPoint(a), rOld2.getB2DPoint(a), t)); in interpolate()
3128 …aRetval.setPrevControlPoint(a, interpolate(rOld1.getPrevControlPoint(a), rOld2.getPrevControlPoint… in interpolate()
3129 …aRetval.setNextControlPoint(a, interpolate(rOld1.getNextControlPoint(a), rOld2.getNextControlPoint… in interpolate()
/trunk/main/basegfx/inc/basegfx/polygon/
H A Db2dpolypolygontools.hxx203 …BASEGFX_DLLPUBLIC B2DPolyPolygon interpolate(const B2DPolyPolygon& rOld1, const B2DPolyPolygon& rO…
H A Db2dpolygontools.hxx433 …BASEGFX_DLLPUBLIC B2DPolygon interpolate(const B2DPolygon& rOld1, const B2DPolygon& rOld2, double …

Completed in 93 milliseconds