git-svn-id: svn://db.shs.com.ru/libs@485 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -1108,7 +1108,7 @@ QPair<QString, QString> Graphic::gridMark(double v) const {
|
||||
void Graphic::drawGraphics() {
|
||||
if (isHover)
|
||||
ui->status->setText(tr("Cursor: ") + pointCoords(canvas2real(QPointF(curpos))));
|
||||
QPointF srp = -selrect.topLeft(), cp;
|
||||
QPointF srp = -selrect.topLeft();
|
||||
double sclx, scly, wid = canvas->width(), hei = canvas->height() - legy;
|
||||
sclx = (wid - gridborder.x() - margins_.left() - margins_.width()) / selrect.width();
|
||||
scly = (hei - gridborder.y() - margins_.top() - margins_.height()) / selrect.height();
|
||||
|
||||
Reference in New Issue
Block a user