blob: a511cb1647ff57e00f8fd01dbd9fbcfa61a0c2ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "StarImageStretchWidget.hpp"
namespace Star {
ImageStretchWidget::ImageStretchWidget(ImageStretchSet const& imageStretchSet, GuiDirection direction)
: m_imageStretchSet(imageStretchSet), m_direction(direction) {
}
void ImageStretchWidget::renderImpl() {
context()->drawImageStretchSet(m_imageStretchSet, RectF(screenBoundRect()), m_direction);
}
}
|