summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpointarray.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/kernel/qpointarray.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qpointarray.cpp')
-rw-r--r--src/kernel/qpointarray.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qpointarray.cpp b/src/kernel/qpointarray.cpp
index 3258a441..6a9d3748 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