mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Rotation can now zoom in x and y directions separatly; text can be scaled stretched/compressed horizontally.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@520 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -134,7 +134,7 @@ void TextViewer::drawSeparators(RotatedDC& dc) {
|
||||
bool TextViewer::prepare(RotatedDC& dc, const String& text, TextStyle& style, Context& ctx) {
|
||||
if (lines.empty()) {
|
||||
// not prepared yet
|
||||
Rotater r(dc, style.getRotation());
|
||||
Rotater r(dc, style.getRotationNoStretch());
|
||||
prepareElements(text, style, ctx);
|
||||
prepareLines(dc, text, style, ctx);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user