diff options
author | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/kernel/qpointarray.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qpointarray.cpp')
-rw-r--r-- | src/kernel/qpointarray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qpointarray.cpp b/src/kernel/qpointarray.cpp index 3258a4415..6a9d3748d 100644 --- a/src/kernel/qpointarray.cpp +++ b/src/kernel/qpointarray.cpp @@ -955,8 +955,8 @@ TQPointArray TQPointArray::cubicBezier() const m -= 2; while ( m-- ) { - pd->rx() = (TQCOORD)qRound( ((ax * t + bx) * t + cx) * t + x0 ); - pd->ry() = (TQCOORD)qRound( ((ay * t + by) * t + cy) * t + y0 ); + pd->rx() = (TQCOORD)tqRound( ((ax * t + bx) * t + cx) * t + x0 ); + pd->ry() = (TQCOORD)tqRound( ((ay * t + by) * t + cy) * t + y0 ); pd++; t += dt; } @@ -988,8 +988,8 @@ TQPointArray TQPointArray::cubicBezier() const TQPointArray pa((len/2)+1); // one extra point for last point on line int j=0; for (i=0; j<len; i++) { - int x = qRound(p[j++]); - int y = qRound(p[j++]); + int x = tqRound(p[j++]); + int y = tqRound(p[j++]); pa[i] = TQPoint(x,y); } // add last pt on the line, which will be at the last control pt |