* Update generator to emit function pointers
* Regenerate interop files
* Enable USE_LIBRARY_IMPORT in HarfBuzzSharp
* Enable USE_LIBRARY_IMPORT on SkiaSharp
* Set DisableRuntimeMarshalling on HarfBuzzSharp
* Replace remaining DllImports with LibraryImport on SkiaSharp
* Set DisableRuntimeMarshalling on SkiaSharp as well
* Fix missed proxy definition
* Regenerate skia api with a correct submodule version
* Collections literals are not supported on the CI .NET SDK
* An attempt to fix Tizen build
* Forgot about partial
* Set UnmanagedType.LPStr on evas_gl_proc_address_get instead
* Set USE_LIBRARY_IMPORT on remaining projects too
* Update generator tool to generate DelegateProxy as well
* Regenerate HarfBuzz and SkiaSharp with new DelegateProxy source gen
* Regenerate other projects as well
* Add `protected internal` to test classes too, since this project has InternalsVisibleTo configured
* Disable DelegateTypesAreValid and DelegateTypesHaveAttributes tests on .NET 7+ build, see comments
* Reduce warnings noise
* Update binding/SkiaSharp/GRGlInterface.cs
Co-authored-by: Filip Navara <filip.navara@gmail.com>
* Add missing USE_LIBRARY_IMPORT defines
* Update binding/SkiaSharp/GRGlInterface.cs
* Also needs USE_LIBRARY_IMPORT
---------
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: Filip Navara <filip.navara@gmail.com>
Adding a few new APIs to help with determining picture and drawable "size"
as well as adding the `Playback` method to `SKPicture`.
The playback method is different to draw in that draw results in a single
"draw the picture" command, but playback effectively replicates what
was done to create the picture. There is a small different to the latter
in that the picture may optimize/combine commands as well as split
commands to best fit into the picture's storage.
These tests are loading a custom typeface from a file and assigned to the paint and font Typeface properties. This is to ensure nothing obvious is going wrong.
Related to #2572
Truncation will chop off parts, and this will lose value. Flooring outwards ensure that the size touches the edge of the containing rect. This is useful that any partial overhang with integer sizes can be clipped when drawing.
* Remove all [Obsolete] APIs from the bindings
* Remove all [Obsolete] APIs from the source
* Fix up the tests after removing things
* Fix up the samples
* Merge and modernize the binding projects
* Remove UWP and watchOS
* Add the native assets projects
* Rename bootstrapper.ps1 to build.ps1
* Add new device tests
* Rework the test skipping feature
---------
Co-authored-by: Jerome Laban <jerome.laban@nventive.com>