Scale.hpp
1 #pragma once
2 
3 namespace score::gfx
4 {
5 
10 {
11  Original, // 1 pixel in = 1 pixel out
12  BlackBars, // Keep aspect ratio and scale so that the whole picture is visible
13  Fill, // Keep aspect ratio and scale so that the whole screen is filled
14  Stretch // Stretch to the viewport size
15 };
16 
17 }
Graphics rendering pipeline for ossia score.
Definition: PreviewWidget.hpp:12
ScaleMode
How to resize a texture to adapt it to a viewport.
Definition: Scale.hpp:10