|
|
|
@@ -175,9 +175,9 @@ public: |
|
|
|
|
|
|
|
r << "jassert (" << imageVariable << " != 0);\n"
|
|
|
|
<< "if (" << imageVariable << " != 0)\n "
|
|
|
|
<< imageVariable << "->drawWithin (g, "
|
|
|
|
<< imageVariable << "->drawWithin (g, Rectangle<float> ("
|
|
|
|
<< x << ", " << y << ", " << w << ", " << h
|
|
|
|
<< ",\n"
|
|
|
|
<< "),\n"
|
|
|
|
<< String::repeatedString (" ", imageVariable.length() + 18)
|
|
|
|
<< (mode == stretched ? "RectanglePlacement::stretchToFit"
|
|
|
|
: (mode == proportionalReducingOnly ? "RectanglePlacement::centred | RectanglePlacement::onlyReduceInSize"
|
|
|
|
|