archanasubodh
5th August 2008, 10:18
QPoint does not support any floating point values due to which it restricts to a large extent.
For instance the division operation and other mathematical operations do not result in accurate results.This is hindering me from painting lines accurately.
Please do suggest some way to use Qpoints, where I can use mathematical equations like y=mx+c and
m =y2-y1/x2-x2 to draw on the canvas.
Thank You,
For instance the division operation and other mathematical operations do not result in accurate results.This is hindering me from painting lines accurately.
Please do suggest some way to use Qpoints, where I can use mathematical equations like y=mx+c and
m =y2-y1/x2-x2 to draw on the canvas.
Thank You,