mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
Fix font PixmapCaching alignment
This commit is contained in:
parent
ff12a0eba4
commit
2e3313d5e7
@ -2610,8 +2610,8 @@ void gGraphView::DrawTextQue()
|
||||
#endif
|
||||
|
||||
if (q.angle!=0) {
|
||||
float xxx=q.x-h-(h/2)-(buf/2);
|
||||
float yyy=q.y+w/2;
|
||||
float xxx=q.x-h-(h/2);
|
||||
float yyy=q.y+ w/2 + buf/2;
|
||||
|
||||
painter.translate(xxx,yyy);
|
||||
painter.rotate(-q.angle);
|
||||
|
Loading…
Reference in New Issue
Block a user