[Enhancement] consolidate merge of Microsoft.Maui.Graphics
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 297
Description
### Description
There are duplicates cause of [Microsoft.Maui.Graphics](https://github.com/dotnet/maui/commit/b1866fd187b7e94c449e5617ff315b8dfe5576ed)
The apis should be consolidated
### Duplicates
| [Maui](https://github.com/dotnet/maui/tree/397f90a2dd85a9fde265b0806f46961eaef9299c) | [Maui.Graphics](https://github.com/dotnet/Microsoft.Maui.Graphics/tree/19e06b01f1bbeeaae7373743a198fed67ac3bc87) |
| ------------- | ------------- |
|[FontAttributes](https://github.com/dotnet/maui/tree/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Core/src/Primitives/FontAttributes.cs) | [FontStyleType](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/IFontStyle.cs#L17-L22) |
[TextAlignment](https://github.com/dotnet/maui/tree/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Core/src/Primitives/TextAlignment.cs) | [VerticalAlignment](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/VerticalAlignment.cs) |
[PenLineCap](https://github.com/dotnet/maui/blob/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Controls/src/Core/Shapes/PenLineCap.cs) |[LineCap](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/LineCap.cs) |
[PenLineJoin](https://github.com/dotnet/maui/blob/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Controls/src/Core/Shapes/PenLineJoin.cs) |[LineJoin](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/LineJoin.cs) |
[Matrix](https://github.com/dotnet/maui/blob/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Controls/src/Core/Shapes/Matrix.cs) | [AffineTransform](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/AffineTransform.cs) |
### functional overlappings
should be merged in some way: inheritance, members ...
| [Maui](https://github.com/dotnet/maui/tree/397f90a2dd85a9fde265b0806f46961eaef9299c) | [Maui.Graphics](https://github.com/dotnet/Microsoft.Maui.Graphics/tree/19e06b01f1bbeeaae7373743a198fed67ac3bc87) |
| ------------- | ------------- |
[Font](https://github.com/dotnet/maui/blob/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Core/src/Primitives/Font.cs) | [IFontFamily](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/IFontFamily.cs) |
[Font](https://github.com/dotnet/maui/blob/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Core/src/Primitives/Font.cs) | [IFontStyle](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/IFontStyle.cs#L6-L14) |
[IFontManager, eg.](https://github.com/dotnet/maui/blob/397f90a2dd85a9fde265b0806f46961eaef9299c/src/Core/src/Fonts/IFontManager.Windows.cs) | [IFontService](https://github.com/dotnet/Microsoft.Maui.Graphics/blob/19e06b01f1bbeeaae7373743a198fed67ac3bc87/src/Microsoft.Maui.Graphics/IFontService.cs) |
Contributor guide
Assessment
This issue has not been assessed yet.