v0.10.0
Breaking Changes
-
Added Zoom setting to [
Kludgine
], allowing a second scaling factor to be
applied to all scaled operations. This change has affected these APIs:- [
Kludgine::resize()
]: Now takes an additional parameterzoom
. - [
Kludgine::scale()
]: Now returns an effective scale combining zoom and DPI
scaling. - [
Kludgine::dpi_scale()
]: A new function returning the currently set DPI
scale. - [
Kludgine::zoom()
]: A new function returning the current zoom value. - [
Kludgine::set_zoom()
]: A new function setting just the zoom value. - [
Kludgine::set_dpi_scale()
]: A new function setting just the DPI scale. - [`Graphics::set_zoom()]: A new function setting the zoom level for a
graphics context.
- [
Added
CornerRadii
now implementsfigures::Round
.