Home
last modified time | relevance | path

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

/aoo41x/main/basegfx/inc/basegfx/pixel/
H A Dbpixel.hxx159 if(rOld1 == rOld2) in interpolate()
161 return rOld1; in interpolate()
165 return rOld1; in interpolate()
187rOld1.getRed() == rOld2.getRed() ? rOld1.getRed() : (sal_uInt8)(((sal_uInt32)rOld1.getRed() + (sal… in average()
188rOld1.getGreen() == rOld2.getGreen() ? rOld1.getGreen() : (sal_uInt8)(((sal_uInt32)rOld1.getGreen(… in average()
189rOld1.getBlue() == rOld2.getBlue() ? rOld1.getBlue() : (sal_uInt8)(((sal_uInt32)rOld1.getBlue() + … in average()
190rOld1.getOpacity() == rOld2.getOpacity() ? rOld1.getOpacity() : (sal_uInt8)(((sal_uInt32)rOld1.get… in average()
196 …(rOld1.getRed() == rOld2.getRed() && rOld2.getRed() == rOld3.getRed()) ? rOld1.getRed() : (sal_uIn… in average()
197 …(rOld1.getGreen() == rOld2.getGreen() && rOld2.getGreen() == rOld3.getGreen()) ? rOld1.getGreen() … in average()
198 …(rOld1.getBlue() == rOld2.getBlue() && rOld2.getBlue() == rOld3.getBlue()) ? rOld1.getBlue() : (sa… in average()
[all …]
/aoo41x/main/basegfx/inc/basegfx/point/
H A Db3dhompoint.hxx332 return rOld1; in interpolate()
340 return rOld1; in interpolate()
345 ((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX(), in interpolate()
346 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY(), in interpolate()
347 ((rOld2.getZ() - rOld1.getZ()) * t) + rOld1.getZ()); in interpolate()
354 rOld1.getX() == rOld2.getX() ? rOld1.getX() : (rOld1.getX() + rOld2.getX()) * 0.5, in average()
355 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5, in average()
356 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average()
362 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : (rOld1.getX() + rO… in average()
363 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : (rOld1.getY() + rO… in average()
[all …]
H A Db2dhompoint.hxx294 inline B2DHomPoint interpolate(B2DHomPoint& rOld1, B2DHomPoint& rOld2, double t) in interpolate() argument
298 return rOld1; in interpolate()
304 else if(rOld1 == rOld2) // this call homogenizes already in interpolate()
306 return rOld1; in interpolate()
311 ((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX(), in interpolate()
312 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()); in interpolate()
316 inline B2DHomPoint average(B2DHomPoint& rOld1, B2DHomPoint& rOld2) in average() argument
319 rOld1.getX() == rOld2.getX() ? rOld1.getX() : (rOld1.getX() + rOld2.getX()) * 0.5, in average()
320 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average()
326 …(rOld1.getX() == rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : (rOld1.getX() + rO… in average()
[all …]
/aoo41x/main/basegfx/inc/basegfx/tuple/
H A Db3i64tuple.hxx260 if(rOld1 == rOld2) in interpolate()
262 return rOld1; in interpolate()
266 return rOld1; in interpolate()
275 basegfx::fround64(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate()
276 basegfx::fround64(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()), in interpolate()
277 basegfx::fround64(((rOld2.getZ() - rOld1.getZ()) * t) + rOld1.getZ())); in interpolate()
284rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround64((rOld1.getX() + rOld2.getX()) * 0.… in average()
285rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround64((rOld1.getY() + rOld2.getY()) * 0.… in average()
286rOld1.getZ() == rOld2.getZ() ? rOld1.getZ() : basegfx::fround64((rOld1.getZ() + rOld2.getZ()) * 0.… in average()
292 …(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.hxx224 inline B2I64Tuple interpolate(const B2I64Tuple& rOld1, const B2I64Tuple& rOld2, double t) in interpolate() argument
226 if(rOld1 == rOld2) in interpolate()
228 return rOld1; in interpolate()
232 return rOld1; in interpolate()
241 basegfx::fround64(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate()
242 basegfx::fround64(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY())); in interpolate()
246 inline B2I64Tuple average(const B2I64Tuple& rOld1, const B2I64Tuple& rOld2) in average() argument
249rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround64((rOld1.getX() + rOld2.getX()) * 0.… in average()
250rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround64((rOld1.getY() + rOld2.getY()) * 0.… in average()
256 …(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 …]
/aoo41x/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()
/aoo41x/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()
/aoo41x/main/basegfx/inc/basegfx/polygon/
H A Db2dpolypolygontools.hxx202 B2DPolyPolygon interpolate(const B2DPolyPolygon& rOld1, const B2DPolyPolygon& rOld2, double t);
H A Db2dpolygontools.hxx432 B2DPolygon interpolate(const B2DPolygon& rOld1, const B2DPolygon& rOld2, double t);

Completed in 82 milliseconds