Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WASM] Add CanvasSize to SkiaSharp.Views.Blazor Views #1912

Closed
wants to merge 1 commit into from
Closed

[WASM] Add CanvasSize to SkiaSharp.Views.Blazor Views #1912

wants to merge 1 commit into from

Conversation

JensKrumsieck
Copy link
Contributor

@JensKrumsieck JensKrumsieck commented Dec 29, 2021

Description of Change
Fixes #1911 and #1888 :
Added CanvasSize to Both (SKCanvasView.razor.cs and SKGLView.razor.cs) Views

public SKSize CanvasSize => canvasSize;

See also similar contribution: #1832 & #1831

Bugs Fixed

API Changes
Added:
File: SKCanvasView.razor.cs and SKGLView.razor.cs

public SKSize CanvasSize => canvasSize;

Behavioral Changes
none

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation

@JensKrumsieck JensKrumsieck changed the title Add Canvas Size [WASM] Add Canvas Size to SkiaSharp.Views.Blazor Views Dec 29, 2021
@JensKrumsieck JensKrumsieck changed the title [WASM] Add Canvas Size to SkiaSharp.Views.Blazor Views [WASM] Add CanvasSize to SkiaSharp.Views.Blazor Views Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] [WASM] Expose canvasSize in SkiaSharp.Views.Blazor
1 participant