A no_std graphics library for embedded applications
MockDisplay::assert_eq_with_message
and MockDisplay::assert_pattern_with_message
.vertical_alignment
and horizontal_alignment
to MonoTextStyle
.From
impl to convert an existing MonoTextStyle
into a MonoTextStyleBuilder
.MonoTextStyle
.TextStyle
trait was renamed to TextRenderer
.fonts
module was split into text
and mono_font
modules.Text
objects must now be set using the new TextStyle
struct.style
module were moved to other locations and the module itself has been removed.iterator::pixel::Translate
struct to Translated
and the translate
method in PixelIteratorExt
to translated
.MockDisplay
no longer implements PartialEq
, use MockDisplay::assert_eq
instead.IntoPixels
is no longer implemented for Styled<Text<'_>, S>
.MonoTextStyleBuilder::new
no longer takes a font as an argument, use MonoTextStyleBuilder::new().font(SomeFont)
instead.Please see the change log under embedded-graphics/
.
i32
for coordinates. Pixels to the left or above (0, 0)
are skipped by pixel iteratorstransform_mut
to objects to allow moving them without a copyJust some doc tweaks