Changeset View
Changeset View
Standalone View
Standalone View
commands/imagelib/transforms/kpTransformResizeScaleCommand.cpp
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 119 | case Resize: | |||
---|---|---|---|---|---|
120 | return i18n ("Resize"); | 120 | return i18n ("Resize"); | ||
121 | case Scale: | 121 | case Scale: | ||
122 | return i18n ("Scale"); | 122 | return i18n ("Scale"); | ||
123 | case SmoothScale: | 123 | case SmoothScale: | ||
124 | return i18n ("Smooth Scale"); | 124 | return i18n ("Smooth Scale"); | ||
125 | } | 125 | } | ||
126 | } | 126 | } | ||
127 | 127 | | |||
128 | return QString (); | 128 | return {}; | ||
129 | } | 129 | } | ||
130 | 130 | | |||
131 | // public virtual [base kpCommand] | 131 | // public virtual [base kpCommand] | ||
132 | kpCommandSize::SizeType kpTransformResizeScaleCommand::size () const | 132 | kpCommandSize::SizeType kpTransformResizeScaleCommand::size () const | ||
133 | { | 133 | { | ||
134 | return ImageSize (m_oldImage) + | 134 | return ImageSize (m_oldImage) + | ||
135 | ImageSize (m_oldRightImage) + | 135 | ImageSize (m_oldRightImage) + | ||
136 | ImageSize (m_oldBottomImage) + | 136 | ImageSize (m_oldBottomImage) + | ||
▲ Show 20 Lines • Show All 350 Lines • Show Last 20 Lines |