forked from dotnet/maui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
30 additions
and
16 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
src/Controls/src/Core/Handlers/Shapes/Path/PathHandler.Tizen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
using Tizen.UIExtensions.NUI.GraphicsView; | ||
using Tizen.UIExtensions.Common; | ||
using GSize = Microsoft.Maui.Graphics.Size; | ||
using Tizen.UIExtensions.Common; | ||
using Tizen.UIExtensions.NUI.GraphicsView; | ||
|
||
namespace Microsoft.Maui.Platform | ||
{ | ||
public class MauiShapeView : SkiaGraphicsView, IMeasurable | ||
{ | ||
protected virtual double DefaultSize => 40d; | ||
|
||
Size IMeasurable.Measure(double availableWidth, double availableHeight) | ||
{ | ||
return new GSize(DefaultSize, DefaultSize).ToPixel(); | ||
return new Size(0, 0); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters