修正一些錯誤
This commit is contained in:
parent
3ce254f16d
commit
dd69403ee6
@ -55,20 +55,6 @@ static QPointF NAME_POS[] = {
|
|||||||
QPointF(1268, 2334), QPointF(2240, 2202),
|
QPointF(1268, 2334), QPointF(2240, 2202),
|
||||||
};
|
};
|
||||||
|
|
||||||
static QPointF NAME_POS_TWO_WORD[] = {
|
|
||||||
QPointF(240, 510), QPointF(372, 1402),
|
|
||||||
QPointF(564, 430), QPointF(694, 1402),
|
|
||||||
QPointF(883, 430), QPointF(1014, 1402),
|
|
||||||
QPointF(1205, 430), QPointF(1337, 1402),
|
|
||||||
QPointF(1532, 430), QPointF(1663, 1402),
|
|
||||||
QPointF(1854, 430), QPointF(1987, 1402),
|
|
||||||
QPointF(2176, 430), QPointF(2309, 1402),
|
|
||||||
QPointF(2498, 430), QPointF(2629, 1402),
|
|
||||||
QPointF(2821, 430), QPointF(2952, 1402),
|
|
||||||
QPointF(3145, 430), QPointF(3276, 1402),
|
|
||||||
QPointF(1268, 2012), QPointF(2240, 1880),
|
|
||||||
QPointF(1268, 2334), QPointF(2240, 2202),
|
|
||||||
};
|
|
||||||
|
|
||||||
static int NAME_POS_COUNT = sizeof(NAME_POS) / sizeof(NAME_POS[0]);
|
static int NAME_POS_COUNT = sizeof(NAME_POS) / sizeof(NAME_POS[0]);
|
||||||
|
|
||||||
@ -309,9 +295,7 @@ int main(int argc, char* argv[])
|
|||||||
QString file_name = QString("%1_.jpg").arg(QString::number(export_times + 1));
|
QString file_name = QString("%1_.jpg").arg(QString::number(export_times + 1));
|
||||||
saveToImage(file_name, &scene);
|
saveToImage(file_name, &scene);
|
||||||
export_times++;
|
export_times++;
|
||||||
view.show();
|
scene.clear();
|
||||||
break;
|
|
||||||
//scene.clear();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -324,5 +308,5 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
|
|
||||||
font_res.close();
|
font_res.close();
|
||||||
return a.exec();
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user