Skip to content

[BUG] SKMatrix Operations work well in SkiaSharp 2.88.9 not work in 3.119.0 #3279

Open

Description

@ShingYehGit

Description

In Wasm / Blazor
SKMatrix Operations work well in SkiaSharp 2.88.9 not work in 3.119.0

Compiler error respone

Code

Compiler Error Code
Code statement Error as follow;

  1. CS1501 : No overload for method 'PostConcat' takes 2 arguments
    SKMatrix.PostConcat( ref Matrix, matrix44.Matrix );

  2. CS0117 : 'SKMatrix' does not contain a definition for 'MakeTranslation'
    SKMatrix.PostConcat(ref Matrix, SKMatrix.MakeTranslation(
    GuaSkiaGfx.DisplaySize.Width / 2.0f, GuaSkiaGfx.DisplaySize.Height / 2.0f ) );

  3. CS0117 : 'SKMatrix' does not contain a definition for 'MakeScale'
    SKMatrix.PostConcat(ref Matrix, SKMatrix.MakeScale(GfxScale, GfxScale, Center.X, Center.Y));

  4. CS0117 : 'SKMatrix' does not contain a definition for 'MakeRotation'
    SKMatrix.PostConcat(ref Matrix, SKMatrix.MakeRotation((float)zAngle, Center.X, Center.Y));

  5. CS0117 : 'SKMatrix' does not contain a definition for 'MakeIdentity'
    Matrix = SKMatrix.MakeIdentity();

Expected Behavior

Expect SKMatrix Operations work well in 3.119.0 as in SkiaSharp 2.88.9

Actual Behavior

Compiler Error Code CS0117 and CS1501

Version of SkiaSharp

3.118.0-preview.2 (Next Preview)

Last Known Good Version of SkiaSharp

2.88.9 (Previous)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

All

Platform / Operating System Version

Win 11 / Edge

Devices

Dell LapTop

Relevant Screenshots

N/A

Relevant Log Output

as above compiler error codes

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. molesmoke commented on May 25, 2025

    @molesmoke

    This isn't a bug. The API has changed - you need to update your code.

  2. ShingYehGit commented on May 26, 2025

    @ShingYehGit
    Author

    Where I can find the SkiaSharp 3.119.0 document regard update

  3. ShingYehGit commented on May 27, 2025

    @ShingYehGit
    Author
  4. molesmoke commented on May 27, 2025

    @molesmoke

    If up-to-date documentation were available, then you would be able to get to it through .NET API browser. As it is, you should just be able to use autocomplete/IntelliSense to fix these pretty trivially.

  5. mattleibow commented on Jan 31, 2026

    @mattleibow
    Contributor

    Sorry for making you struggle here. Some of those apis were obsolete and were replaced.

    There were some issues with the API docs, but we have fixed them and updated the API docs to the latest apis.

    As @molesmoke says, the new apis will be in the docs. And the old apis should all have obsolete messages in the docs.

  6. added
    area/SkiaSharp
    tenet/compatibility
    on Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/SkiaSharptenet/compatibilitytriage/triagedtype/bugtype/question

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions