Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

R1853 patch: Label positions after flipped.

2 posters

Go down  Message [Page 1 of 1]

royqh1979



Now lable positions after flipped are not correct:

Horizontal Flipped:

R1853 patch: Label positions after flipped. Snap115

Vertical Flipped:

R1853 patch: Label positions after flipped. Snap214

Horizontal and Vertical Flipped:

R1853 patch: Label positions after flipped. Snap312

royqh1979



This patch tries to fix it. Result:

Horizontal Filpped:
R1853 patch: Label positions after flipped. Snap513

Vertical Flipped:
R1853 patch: Label positions after flipped. Snap615

Horizontal and vertical Flipped:
R1853 patch: Label positions after flipped. Snap714

royqh1979



Updated:

- Handle position move by mouse drag.

- Also fixes: Label pos not correctly save/restored after undo/load.
Attachments
R1853 patch: Label positions after flipped. Attachmentlabel.zip
You don't have permission to download attachments.
(2 Kb) Downloaded 0 times

royqh1979



I'm not sure why use 'int' instead of 'float' to save label position.

This makes position are slightly different after move and save/load or move and undo/redo.

This patch also includes changes that make label's m_labelx and m_labely  be float typed.
Attachments
R1853 patch: Label positions after flipped. Attachmentlabel-float.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 1 times

arcachofo

arcachofo

Nice!
the last patch contains all previous ones?

royqh1979



arcachofo wrote:Nice!
the last patch contains all previous ones?
yes

arcachofo likes this post

arcachofo

arcachofo

Patch applied at Rev 1855.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum