#602 Implemented core::fmt::Display for Point and Size.
Changed
(breaking) - #600 Renamed Mapping::all to Mapping::iter.
(breaking) - #603MockDisplay::eq was replaced by a PartialEq implementation for MockDisplay.
Removed
(breaking) - #604 Removed incomplete JIS X 0201 fonts.
[0.7.0-beta.2] - 2021-05-24
Added
#587 Added From<&TextStyle> impl for TextStyleBuilder and From<&MonoFont> for MonoFontBuilder.
#589 Implemented From trait to convert from RGB colors to grayscale colors, between different grayscale colors and from grayscale and RGB colors to BinaryColor.
Changed
(breaking) - #596 Added more ISO8859 glyph subsets as well as JIS_X0201 for bundled MonoFonts, supporting more languages. The latin1 subset was renamed to iso_8859_1.
[0.7.0-beta.1] - 2021-04-19
Added
(breaking)#552 Added the Output associated type to Drawable to allow returning non-() values from drawing operations.
#563 Added is_none, is_text_color and is_custom methods to DecorationColor.
#563 Added is_transparent methods to PrimitiveStyle and MonoTextStyle.
#571 Added MockDisplay::set_pixels to set pixels from an iterator.
#572 Added ImageRaw::new_binary to create const images with binary image data.
#576 Added reset methods for color settings to MonoTextStyleBuilder and PrimitiveStyleBuilder.
#582 Added StyledDrawable, StyledDimensions and StyledPixels traits.
Changed
(breaking)#561 Renamed HorizontalAlignment and VerticalAlignment to Alignment and Baseline.
(breaking)#561 Replaced TextRenderer::vertical_offset by baseline arguments for the other TextRenderer methods.
(breaking)#563 The bounding boxes returned by Dimensions implementations for styled primitives no longer depend on the fill and stroke color.
(breaking)#563 Drawing a primitive with a transparent stroke (stroke_color == None && stroke_width > 0) will now reduce the filled area.
(breaking)#566 The Drawable::Output type was changed to Point for styled Text objects. The returned point can be used to chain texts with different styles.
(breaking)#569 Moved the text rendering API into a separate text::renderer submodule.
(breaking)#569 The non_exhaustive attribute was added to the TextStyle struct.
(breaking)#571 Added color argument to MockDisplay::from_points to make it usable for all color types.
(breaking)#572 Removed the height argument from ImageRaw::new. The height is now calculated based on the width and data length.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on embedded-graphics to permit the latest version.
Release notes
Sourced from embedded-graphics's releases.
Changelog
Sourced from embedded-graphics's changelog.
... (truncated)
Commits
1f26d51
Release embedded-graphics 0.7.0598824b
Release embedded-graphics-core 0.3.20ba2b55
Some release notes and migration guide tweaks (#605)1f40d6f
Remove incomplete JIS X 201 fonts (#604)1fd9525
Replace MockDisplay::eq by PartialEq impl (#603)0843a61
Implement Display for Point and Size (#602)581475d
Some more progress on the migration guide (#595)488c601
Rename all to iter (#600)b4fe280
Replace SaturatingCast with az (#599)415aa17
Use released version of tinytga in tools folder (#597)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)