Граф коммитов

488 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz 38413b6377 Added members to decode a particular frame
- binding
 - tests
2016-11-26 08:24:25 +02:00
Matthew Leibowitz d58c92c252 Fixed a spelling error 2016-11-25 10:59:12 +02:00
Matthew Leibowitz 16132abcb8 Added SKCodec.EncodedInfo to the C# API 2016-11-25 10:55:03 +02:00
Matthew Leibowitz 65a5984b81 Add [Flags] to the flags 2016-11-23 09:41:18 +02:00
Matthew Leibowitz 3e9774aecb Added the C# API for SKShadowMaskFilter 2016-11-22 11:25:22 +02:00
Matthew Leibowitz f3bb1c731b Added the obsolete method back 2016-11-21 23:16:15 +02:00
Matthew Leibowitz f6b87decd9 Merge branch 'master' into update-m56 2016-11-21 22:33:06 +02:00
Matthew Leibowitz 70ad8a3b72 __TVOS__ is more specific than __IOS__, so it goes first 2016-11-20 00:36:40 +02:00
Matthew Leibowitz be86639ce2 Use SKAutoLockPixels to lock pixels 2016-11-19 13:33:41 -05:00
Matthew Leibowitz 67cb289718 Update the SkiaSharp version for the release 2016-11-19 08:12:13 +02:00
Matthew Leibowitz 7449894c16 Added some SVG tests 2016-11-19 08:10:05 +02:00
Tyler Hoeflicker 55955c7ae6 remove index8 check for adding pixels
After looking at this there really isn't any reason that this check
needs to be here. It's up to the caller to ensure that it's safe though.
2016-11-18 15:31:40 -08:00
Matthew Leibowitz 89871132ec Some more changes 2016-11-18 13:14:29 +02:00
Matthew Leibowitz eb69f5f512 Use latest native code after upstream merge 2016-11-18 05:40:26 +02:00
Matthew Leibowitz f2875d86f9 Added an overload for SKData.AsStream that disposes data 2016-11-18 02:17:27 +02:00
Matthew Leibowitz ce2573c99a dded a few extra members and tests 2016-11-18 01:35:17 +02:00
Tyler Hoeflicker b9d750fca6 remove ambiguous method 2016-11-17 13:36:43 -08:00
Tyler Hoeflicker 62477fa340 add guard clause for SetPixel 2016-11-17 13:36:43 -08:00
Tyler Hoeflicker 7cee970916 add guards to setting colortable 2016-11-17 13:35:38 -08:00
Tyler Hoeflicker 4df41ff05e breakout color table setter into seperate methods 2016-11-17 13:29:19 -08:00
Tyler Hoeflicker f6066f4bf3 add colortable setting support 2016-11-17 13:29:19 -08:00
Matthew Leibowitz 8db2bb0534 Enhancements to SKBitmap and a few others:
- bitmap can now be created using existing memory pointer
    - optional disposal callback/delegate
 - bitmap can copy directly to a memory pointer
 - canvas has a quick reject method
 - path can detect if it is empty
2016-11-17 21:40:14 +02:00
Matthew Leibowitz 732a89daf3 Added C# API support for incremental codec decodes 2016-11-17 04:34:48 +02:00
Matthew Leibowitz 604b6fd48c Added convenience Rect property to GRBackendRenderTargetDesc 2016-11-14 07:03:30 +02:00
Matthew Leibowitz 7f0323ab31 Added a convenience Size member. 2016-11-11 23:57:43 +02:00
Matthew Leibowitz c59ca6d1e2 SKBitmap can now be easily decoded with desired info 2016-11-11 00:28:01 +02:00
Matthew Leibowitz 7d7e97463b De-reference SKCanvas in Dispose, making sure it is used correctly 2016-11-11 00:18:03 +02:00
Matthew Leibowitz 157910364e The Table(a,r,g,b) color filter may have null in some of the tables. 2016-11-10 03:28:03 +02:00
Matthew Leibowitz 72ebca953f SKPaint.XferMode is obsolete and replaced with BlendMode 2016-11-08 22:43:06 +02:00
Matthew Leibowitz a5c46ead35 SKRect.Location now functions like other .NET frameworks, and intuitively. Closes #162 2016-11-08 20:16:23 +02:00
Matthew Leibowitz 40f6f10a9e Added some more members to SKMatrix 2016-11-03 05:00:21 +02:00
Matthew Leibowitz 8595585788 renamed the method to the more appropriate blend mode 2016-11-01 09:08:03 +02:00
Matthew Leibowitz 4494b775a2 Added back the now-obsolete method. 2016-10-31 01:35:21 +02:00
Matthew Leibowitz debfed0de3 Renamed the incorrectly named method. 2016-10-31 01:32:50 +02:00
Matthew Leibowitz 270a52356c More docs 2016-10-31 01:32:30 +02:00
Matthew Leibowitz 4e97f94e76 Updated the SKCodec.GetValidSubset to return a bool 2016-10-30 23:45:39 +02:00
Matthew Leibowitz 421291408f Added a few members to SKRect and SKRectI 2016-10-29 14:42:27 +02:00
Matthew Leibowitz 0d4844bcad Use the UWP API Sets instead of the two dll names 2016-10-27 00:57:48 +02:00
Matthew Leibowitz b82f4eb545 Phone devices use PhoneAppModelHost.dll instead of Kernel32.dll 2016-10-26 23:46:47 +02:00
Matthew Leibowitz 527485eb00 Updated the various APIs with the correct implementations 2016-10-26 23:40:24 +02:00
Matthew Leibowitz 6ac8a34ab5 Added clip bounds properties 2016-10-26 04:18:44 +02:00
Matthew Leibowitz e437b0f790 fixed spelling error 2016-10-25 22:10:15 +02:00
Matthew Leibowitz 81a69931be Added some overloads, tests and docs 2016-10-25 05:20:11 +02:00
Matthew Leibowitz 48cba424a3 A few changes:
- Make the decision about the region clip in managed code so we can re-use the method.
 - Make GetBounds method a Bounds property
 - Added exceptions
2016-10-25 02:26:53 +02:00
Matthew Leibowitz 7ce861a8c7 duplicate attribute 2016-10-25 02:16:14 +02:00
Matthew Leibowitz b0eedc6cd2 Merge pull request #170 from mono/master
Update working branch from master
2016-10-25 02:10:42 +02:00
TylerFlick 55b012586f update sk_region bindings 2016-10-24 15:07:27 -07:00
Matthew Leibowitz 225422aba8 Updated the various exception messages
Closes #168
2016-10-24 22:33:53 +02:00
TylerFlick 3d60af454d convert spaces to tabs
This is to follow the Mono style guidelines
2016-10-24 09:50:18 -07:00
TylerFlick ad8049670a Clean up dead code 2016-10-24 09:43:49 -07:00
Tyler Hoeflicker befad5ebaa Add license and author to SKRegion 2016-10-24 09:08:28 -07:00
Matthew Leibowitz 9e35df2929 Added the additional ArcTo members to SKPath. Resolves #165 2016-10-21 06:18:18 +02:00
Matthew Leibowitz a738cb1196 Removed unused enum 2016-10-20 23:06:55 +02:00
Matthew Leibowitz 7c8fec08a9 Added an overload for SKPath.Simplify 2016-10-20 05:12:54 +02:00
Matthew Leibowitz 081e9a4945 Added a better overload for SKPath.Op 2016-10-20 05:02:10 +02:00
Matthew Leibowitz 5c2a1ad9b5 Added another member to SKPathMeasure 2016-10-19 01:09:58 +02:00
Matthew Leibowitz 3130a2372f Updated the views namespace to be different for each platform 2016-10-18 21:54:02 +02:00
Tyler Hoeflicker ef29e41093 Add SKRegion support 2016-10-18 10:41:31 -07:00
Matthew Leibowitz 36d3bde8f0 Updated the NuGet versions 2016-10-17 01:56:34 +02:00
Matthew Leibowitz a59241b290 Added additional SKTypeface members 2016-10-17 00:05:13 +02:00
Matthew Leibowitz 52bbb174fb Add support for copying SKPaint 2016-10-16 02:08:06 +02:00
Matthew Leibowitz 41bef18d8e Added member to get current recorder canvas 2016-10-15 18:48:23 +02:00
Matthew Leibowitz 3197bb5f3f Added extra member overloads 2016-10-15 18:47:48 +02:00
Matthew Leibowitz 87d8cfb6ee Added support for parsing HTML colors 2016-10-15 18:47:19 +02:00
Matthew Leibowitz 9c2d2697a2 Added SKPathMeasure to the C# API 2016-10-15 03:40:10 +02:00
Matthew Leibowitz 7fa8a4aac1 Made the incorrect casing obsolete. 2016-10-14 00:07:05 +02:00
Matthew Leibowitz c13c2f2b26 Added some method overloads 2016-10-13 20:31:40 +02:00
Matthew Leibowitz 2850a94f91 Added SKPath.ConvertConicToQuads to the C# API 2016-10-13 20:30:26 +02:00
Matthew Leibowitz a780539269 moved the externs 2016-10-13 03:31:36 +02:00
Matthew Leibowitz cc3da2004a Added SKPath.GetFillPath. Resolves #158 2016-10-13 03:07:51 +02:00
Matthew Leibowitz 437c28630e Added a sample to demonstrate loading bitmap subsets 2016-10-12 03:47:00 +02:00
Matthew Leibowitz c6c8870a9e Updated the C# API to match the new C API 2016-10-12 00:25:45 +02:00
Matthew Leibowitz 7468b41b93 Added some platform interop extension methods
- also split WPF from Desktop
2016-09-20 00:37:31 +02:00
Matthew Leibowitz 360cbd48e6 unifying the #define for Xamarin.Mac 2016-09-19 22:23:55 +02:00
Matthew Leibowitz 4cbafc7b73 Updated the SKMatrix to use public properties and private fields 2016-09-19 19:45:59 +02:00
Matthew Leibowitz ce36f0882d Re-worked all the solutions for easier development 2016-09-19 00:05:58 +02:00
Matthew Leibowitz a3749dc2bd The source solutions now have all the projects 2016-09-18 21:23:24 +02:00
Matthew Leibowitz e360acc20b Ran the script to update all versions - seems to work :) 2016-09-15 23:12:29 +02:00
Matthew Leibowitz ff3ad1a534 We don't want to up the AssemblyVersion 2016-09-15 19:15:12 +02:00
Matthew Leibowitz 2107bdfe1e Merge branch 'master' into skiasharp-views 2016-09-14 09:35:10 +02:00
Matthew Leibowitz 6570c1cb49 Dropping the version for the merge 2016-09-14 09:32:46 +02:00
Matthew Leibowitz 46fe808f7d Added a few more methods, properties, and tests to SKPath 2016-09-14 07:17:32 +02:00
Matthew Leibowitz 6c49807288 Added the various path ops features 2016-09-14 01:51:17 +02:00
Matthew Leibowitz 38604e49a5 Up the NuGet version for a release 2016-09-13 18:09:18 +02:00
Matthew Leibowitz a7b6cc2d58 Upped the NuGet version to v1.54.1
- added the UWP basic sample
 - tweaked the ignore and build script
2016-09-12 22:46:49 +02:00
Matthew Leibowitz 631879d6cf UWP should be able to compile as AnyCPU 2016-09-10 18:11:43 +02:00
Matthew Leibowitz ff2071fc96 A nice "everything" sln 2016-09-10 04:04:40 +02:00
Matthew Leibowitz 93f14ce575 Initial work for ANGLE support 2016-09-10 04:03:25 +02:00
Matthew Leibowitz d3875cbe00 We cannot just pin anything, so pin a GUID 2016-09-10 04:02:31 +02:00
Matthew Leibowitz 97b5af6b1e Android should target v2.3 2016-09-09 04:40:45 +02:00
Matthew Leibowitz 48cb7ca4ee .targets file should not require class libraries to be x86/x64 (AnyCPU should work) 2016-09-09 04:38:19 +02:00
Matthew Leibowitz ad17dddbe7 Expose the `Flush` method for `GRContext` 2016-09-06 19:19:50 +02:00
Matthew Leibowitz 870abf28d3 Correctly marshal `char*` as `LPStr` 2016-09-03 17:03:27 +02:00
Matthew Leibowitz 37b0cd92c1 Using the correct destructor and the correct native method name 2016-09-03 15:18:20 +02:00
Matthew Leibowitz 54938e9d10 Make sure to marshal bool as [MarshalAs(UnmanagedType.I1)] 2016-09-03 13:16:21 +02:00
Matthew Leibowitz 31ebfa4b45 Enum members were removed as they are not used 2016-09-02 04:41:27 +02:00
Matthew Leibowitz e9f66ac376 Merge branch 'gpu-support' into merge-m54
# Conflicts:
#	binding/Binding/Definitions.cs
#	binding/Binding/SKCanvas.cs
#	binding/Binding/SkiaApi.cs
2016-09-02 04:19:40 +02:00
Matthew Leibowitz 4f2644e010 Added support for offsetting/translating/moving an entire SKPath 2016-09-02 02:46:32 +02:00
Matthew Leibowitz 2293db42a8 Added .Contains() and .LastPoint to SKPath 2016-09-02 01:26:49 +02:00
Matthew Leibowitz 444fbf9179 Added Hue to SKColor.
Not adding Saturation as this is very different depending on whether the HSV or HSL was used. Also not adding the Value or the Lightness properties as this can be obtained from the various ToXXX methods
2016-09-02 00:01:03 +02:00
Matthew Leibowitz 555a626395 Added support for converting to/from HSV and HSL 2016-09-01 23:38:48 +02:00
Matthew Leibowitz a76f50b6cb Removed the .NET color methods as they aren't what we are looking for. 2016-09-01 17:20:29 +02:00
Matthew Leibowitz 17e456a1e0 Added extra members to the basic types
- SKColor
 - SKPoint
 - SKPointI
 - SKPoint3
 - SKSize
 - SKSizeI
 - SKRect
 - SKRectI
Converted fields into properties:
 - SKImageInfo
 - SKSurfaceProps
 - SKCodecOptions
2016-08-31 22:08:48 +02:00
Matthew Leibowitz d317b3b0a4 Merge branch 'master' into merge-m54 2016-08-31 22:08:27 +02:00
Matthew Leibowitz 2c50ec9467 Revert "Added extra members to the basic types"
This reverts commit 89d5e9d6e9.
2016-08-31 22:06:38 +02:00
Matthew Leibowitz 5b21eb3b98 Up the assembly version to the new release 2016-08-31 05:47:01 +02:00
Matthew Leibowitz b9e993a854 Updated the NuGet version to v1.54.0 2016-08-31 05:05:57 +02:00
Matthew Leibowitz ad3b218e7e Added support for drawing a bitmap lattice / 9-patch 2016-08-31 05:01:38 +02:00
Matthew Leibowitz def2201b6c Should be size not point 2016-08-31 05:00:46 +02:00
Matthew Leibowitz 2667753839 Updated the font style weights to match the native enum 2016-08-31 05:00:21 +02:00
Matthew Leibowitz c4d551ac43 Added the Gamma color filter binding 2016-08-31 04:59:37 +02:00
Matthew Leibowitz d4ba3ca6c0 Unused SKCodec member removed 2016-08-30 20:06:02 +02:00
Matthew Leibowitz 89d5e9d6e9 Added extra members to the basic types
- SKColor
 - SKPoint
 - SKPointI
 - SKPoint3
 - SKSize
 - SKSizeI
 - SKRect
 - SKRectI
Converted fields into properties:
 - SKImageInfo
 - SKSurfaceProps
 - SKCodecOptions
2016-08-30 09:20:10 +02:00
Matthew Leibowitz e0c79534cb Merge branch 'master' into gpu-support 2016-08-24 13:09:58 +02:00
Matthew Leibowitz 975df659a0 Make sure to marshal the SKMatrix as a reference closes #142 2016-08-24 01:45:49 +02:00
Matthew Leibowitz 9483aea518 Marshaling uint32_t as SKColor was causing issues
- resolves #143
 - only return types caused issues
2016-08-24 01:36:33 +02:00
Matthew Leibowitz 8363137d51 Added support for creating GL context using the "assemble" methods 2016-08-21 23:55:16 +02:00
Matthew Leibowitz 1e8bbf79e4 Added the C-Style bool attribute 2016-08-21 00:48:17 +02:00
Matthew Leibowitz 8a42feafd0 Merge branch 'master' into gpu-support 2016-08-21 00:44:18 +02:00
Matthew Leibowitz 1163700431 Upped the version number for the preview GPU release 2016-08-20 21:17:06 +02:00
Matthew Leibowitz 0f12502d98 Added support for creating a SKCanvas from a SKBitmap 2016-08-20 19:11:09 +02:00
Matthew Leibowitz 82d216e10d Whitespace corrections 2016-08-20 11:16:59 +02:00
Matthew Leibowitz fc5e7f04d7 Added a few extra members to SKPaint 2016-08-20 11:13:30 +02:00
Matthew Leibowitz 631f30d8a7 C-style bool should be marshaled as I1
- would have resolved #135
2016-08-20 10:04:20 +02:00
Matthew Leibowitz 5c59cbbd69 Upped the version number for the next release 2016-08-20 02:31:23 +02:00
Matthew Leibowitz a9dbb10461 Added a few more members to SKPath 2016-08-20 02:27:06 +02:00
Matthew Leibowitz 2548759343 Shortened the NuGet ID for Windows 2016-08-19 03:33:52 +02:00
Matthew Leibowitz 5b8f592683 Added a few more methods for GRContext and GRGlInterface 2016-08-19 02:48:29 +02:00
Matthew Leibowitz facae3037d Upped the version number for the preview 2016-08-18 19:30:27 +02:00
Matthew Leibowitz d006bd42e8 Merge branch 'master' into gpu-support
# Conflicts:
#	skia
2016-08-17 23:02:12 +02:00
Matthew Leibowitz fb399981fa Upping the version to v1.53.1.1 for issue #135 2016-08-17 18:06:53 +02:00
Matthew Leibowitz cbac9ec7b0 Using the SkPaint::Style instead of a simple bool
Works around #135
2016-08-17 16:17:09 +02:00
Matthew Leibowitz 0cb06f523a Revert "Using the SkPaint::Style instead of a simple bool"
This reverts commit b1845de376.
2016-08-17 04:36:33 +02:00
Matthew Leibowitz b1845de376 Using the SkPaint::Style instead of a simple bool
Works around #135
2016-08-17 04:29:27 +02:00
Matthew Leibowitz a953fe15cf Added a few more bindings for GPU support 2016-08-17 02:19:12 +02:00
Matthew Leibowitz 76cb373357 Added the pieces for the simplest GPU sample 2016-08-16 20:34:09 +02:00
Matthew Leibowitz 58462b5d68 Revert "Added C# bindings for SKSvgCanvas and SkXmlWriter"
This reverts commit 51eccc32da.
2016-08-16 01:44:29 +02:00
Matthew Leibowitz 51eccc32da Added C# bindings for SKSvgCanvas and SkXmlWriter 2016-08-16 01:42:22 +02:00
Matthew Leibowitz acd9f8245c Fixed incorrect spelling of P/Invoke 2016-08-15 23:35:37 +02:00
Matthew Leibowitz fb4b18ca6f SKImage.FromBitmap was already added #118 2016-08-12 10:19:46 +02:00
Miguel de Icaza e646da249f Add SKImage.FromBitmap method 2016-08-11 23:36:08 -04:00
Matthew Leibowitz 79c6075801 Added strong name signing #92 2016-08-12 00:11:33 +02:00
Matthew Leibowitz a15061639f Corrected C -> C# names 2016-08-12 00:11:11 +02:00
Matthew Leibowitz b233cadfa6 Revert "Added static constructors for SKBitmap to avoid exceptions #41"
This reverts commit e49b8aa3a8.
2016-08-11 19:05:44 +02:00
Matthew Leibowitz e49b8aa3a8 Added static constructors for SKBitmap to avoid exceptions #41 2016-08-11 19:04:14 +02:00
Matthew Leibowitz 4e67ffde75 NULL is allowed 2016-08-11 18:36:12 +02:00
Matthew Leibowitz 8239f1670e Make sure that we always revoke ownership when we are supposed to 2016-08-11 11:42:56 +02:00
Matthew Leibowitz e042734a48 Set the version to a more "major" update due to the amount of changes 2016-08-11 10:52:55 +02:00
Matthew Leibowitz d260e299c7 Upped the version number for issue #129 2016-08-10 13:45:08 +02:00
Matthew Leibowitz a2cae9245f Check for null 2016-08-04 18:21:06 +02:00
Matthew Leibowitz 1417b05b51 Added ColorTable support 2016-08-04 18:16:16 +02:00
Matthew Leibowitz 4abbd1798b Renamed method closes #126 2016-08-01 18:54:34 +02:00
Matthew Leibowitz d695c9ef1d Added canvas rotation with a specific center (Related to issue #98) 2016-07-29 20:24:13 +02:00
Matthew Leibowitz ddd2c893c5 Added canvas scaling with a specific center (Closes #98) 2016-07-29 20:21:58 +02:00
Matthew Leibowitz 6b6967ac2b Use the correct native method 2016-07-29 20:17:18 +02:00
Matthew Leibowitz ab5b81f062 Using nameof instead of strings 2016-07-29 20:13:11 +02:00
Matthew Leibowitz a54baf7464 Removed unreachable code 2016-07-29 20:07:14 +02:00
Matthew Leibowitz cbadd8d070 Added extra SkPath methods (closes #14 closes #60) 2016-07-29 20:06:37 +02:00
Bill Holmes 318ae2217e Merge remote-tracking branch 'origin/pr/118' into merge118
Closes #118
2016-07-29 11:30:11 -04:00
Alexander Marek f7aba3a3a6 Merge branch 'master' of https://github.com/mono/SkiaSharp into #108_skimage_missing_bindings 2016-07-25 10:29:30 +02:00
Matthew Leibowitz 298e0e93de We are building m53 now 2016-07-22 19:07:14 +02:00
Matthew Leibowitz 1b1854d125 Moved the static extern methods into the SkiaApi type for consistency 2016-07-22 15:46:52 +02:00
Alexander Marek 4c8abe8281 #108 - added missing static method "FromBitmap" 2016-07-21 15:54:00 +02:00
Matthew Leibowitz 4d7fcd7fcf Removed additional members from sk_imageinfo_t 2016-07-20 17:19:19 +02:00
Matthew Leibowitz c413d1599d Updated the C# to match the C API 2016-07-19 03:00:15 +02:00
Matthew Leibowitz 584b4a7e2f Merge branch 'feature-patheffect' into update-skia-m52
# Conflicts:
#	skia
2016-07-18 19:15:20 +02:00
Matthew Leibowitz 0663afb100 Added the unref to the C# API 2016-07-18 18:00:14 +02:00
Matthew Leibowitz 2fbace0e95 Corrected the constructor 2016-07-14 01:47:22 +02:00
Matthew Leibowitz 143b2c4902 Merge branch 'feature-patheffect' into update-skia-m52
# Conflicts:
#	binding/Binding/SkiaApi.cs
#	skia
2016-07-14 01:45:22 +02:00
Matthew Leibowitz 1fac8f30d0 Build the latest native skia 2016-07-14 01:32:35 +02:00
Matthew Leibowitz e2e7de0b54 Upped the NuGet version number to v1.52 2016-07-14 01:28:32 +02:00
Matthew Leibowitz e3e1b81d04 Added path effects to the C# API 2016-07-13 21:57:42 +02:00
Takashi Kawasaki b3e64fae05 CharsToGlyphs(SKEncoding) does not honor the specified encoding. 2016-07-11 03:55:18 +09:00
Miguel de Icaza aed73d8565 [SKPath] Add various requested APIs 2016-07-05 22:49:03 -04:00
Miguel de Icaza e2e14eaf48 Merge pull request #75 from charlenni/master
Added missing functions for SKPath
2016-07-01 22:47:59 -04:00
Miguel de Icaza 50130194ff [SKCanvas] Add DrawCircle 2016-06-28 20:18:16 -04:00
Miguel de Icaza c53ab2b03b [SkMatrix] Add various Map methods 2016-06-28 20:03:13 -04:00
Miguel de Icaza 5eeb06b753 [SKMatrix] Add Rotation by degrees, some missing overloads, concatenation and inversion 2016-06-27 23:20:41 -04:00
Matthew Leibowitz 6e8fe68ea5 We don't have access to the OS from UWP, but it will always be Windows 2016-06-21 17:46:32 +02:00
Matthew Leibowitz e1c60230c4 Updated to the bits based on m52 2016-06-17 22:54:08 +02:00
Matthew Leibowitz 470591f7a1 Added tvOS support 2016-06-09 15:55:48 +02:00
Matthew Leibowitz 8a6384bd8a Added support for one SKObject to belong to another:
- used when ownership is transferred in native code
 - fixed instance where stream was disposed when in use by typeface
2016-06-08 02:58:12 +02:00
Matthew Leibowitz 01924b2313 Corrected the SKManagedStream binding:
- make sure to dispose the native object, but only if the destructor wasn't already called
2016-06-06 19:25:26 +02:00
Matthew Leibowitz 12a45e2991 Updated the version number to v1.49.4 2016-06-03 15:05:16 +02:00
Matthew Leibowitz 6d34b2a624 Added bindings for SkDocument and PDF:
- Support on iOS/Android/UWP/OSX/Win32
 - Improved Win32 to UWP conversion "script" (should be in gyp)
 - Added pointer ownership into SKObject
 - Streams now are either abstract or own their pointers
2016-06-03 14:55:39 +02:00
Matthew Leibowitz 2fc8476ab5 Image decoder now uses SKString | Fixes #67 2016-05-18 02:47:55 +02:00
Matthew Leibowitz c081822c10 Created internal SKString type for ease of use 2016-05-18 02:47:02 +02:00
Matthew Leibowitz 0d6db62ef1 Merge pull request #73 from agallero/typeface
Added methods to SkTypeface
2016-05-17 22:43:38 +02:00
adrian gallero 078fdb76d1 removed check for intptr.zero in SKTypeface constructor 2016-05-17 16:13:47 -03:00
adrian gallero 104a6d0fce Merge remote-tracking branch 'mono/master' into typeface 2016-05-17 16:11:41 -03:00
Miguel de Icaza 5914335ce8 Use locking around static dictionary 2016-05-17 11:21:07 -04:00
Matthew Leibowitz 733264b7be Make sure that if a method returns IntPtr.Zero, we return a NULL object
If a constructor returns IntPtr.Zero, then throw an exception
2016-05-14 22:28:24 +02:00
adrian gallero 641282f412 added TryGetTableData to avoid Exceptions when a table doesn't exist 2016-05-14 08:29:59 -03:00
Matthew Leibowitz f6a0e7c157 Rename Native Library [#77] (#81)
Main change:
 * Changed the native library to libSkiaSharp for Windows, UWP, Android, OSX and iOS
   Issue #77 #81

Other changes
 * Updated the version number
 * Use Android level 10 or v2.3 s the library version
 * Update the docs
 * Allow for the case where a custom libSkiaSharp is to be provided
 * Make sure we have all the Android architectures
2016-05-14 01:12:32 +02:00
adrian gallero 9ada7e6349 Changed sk_typeface_get_family_name to return an sk_string 2016-05-13 18:50:29 -03:00
adrian gallero dcc8215d78 Merge branch 'typeface' of https://github.com/agallero/SkiaSharp into typeface
# Conflicts:
#	skia
2016-05-13 13:33:24 -03:00
Matthew Leibowitz 943490165a Add support for getting the clip bounds 2016-05-13 16:53:35 +02:00
Matthew Leibowitz 22c721bdbb Added extended clipping features 2016-05-13 16:31:41 +02:00
adrian gallero 5b994dca11 fixed whitespace 2016-05-12 16:22:39 -03:00
adrian gallero 4c39b15d60 Merge remote-tracking branch 'mono/master' into typeface 2016-05-12 15:58:05 -03:00
Matthew Leibowitz 136d45e5b3 Measure text now passes the correct byte array to the string methods 2016-05-12 16:46:51 +02:00
Matthew Leibowitz d28c77d68b Binding does is AnyCPU - target includes vclibs 2016-05-06 17:28:53 +02:00
Matthew Leibowitz df15534cad Merge branch 'master' into windows-uwp
# Conflicts:
#	skia
2016-05-05 03:26:06 +02:00
Charlenni 723e32f08c Changed whitespace handling 2016-05-03 17:37:09 +02:00
Charlenni 2f0ad2f0d2 Change whitespace handling 2016-05-03 17:32:24 +02:00
Charlenni 8156a2fdf5 Added missing functions for SKPath:
- Reset()
- Rewind()
Added to SKPath.cs and SkiaAPI.cs in same style as SKPath.Close()
2016-05-03 11:40:02 +02:00
Charlenni de524208f2 Added missing functions for SKPath:
- Reset()
- Rewind()
Added to SKPath.cs and SkiaAPI.cs in same style as SKPath.Close()
2016-05-03 11:31:43 +02:00
adrian gallero 50e3914721 Added methods to SkTypeface to read the actual name of the typeface family and to retrieve ttf tables 2016-05-01 03:02:27 -03:00
Matthew Leibowitz e32f541a88 Upped the version numbers and added the Git SHA to the info 2016-04-19 19:19:07 +02:00
Matthew Leibowitz 1a4714bcce Merge branch 'perspex-missing-1' of https://github.com/kekekeks/SkiaSharp into kekekeks-perspex-missing-1
# Conflicts:
#	skia
2016-04-19 03:09:20 +02:00
Matthew Leibowitz c252cac8e6 Added the bits to support WinRT/UWP 2016-04-15 00:21:56 +02:00
Bill Holmes 9df2601853 Adding IsDither to SKPaint.
closes #28
2016-04-08 15:17:57 -04:00
Bill Holmes 613367d9d2 Adding IsVerticalText property to SKPaint.
closes #27
2016-04-08 14:32:55 -04:00
Peter Golde b470adb247 Add SKPaint.GetTextPath and SKPath.GetPosTextPath to convert text into a path. 2016-04-08 12:11:09 -04:00
Bill Holmes f2b88b1f7b Merge branch 'master' into pr/49 2016-04-08 10:13:17 -04:00
Bill Holmes 54841dfaa6 Adding an overload to SkPath.AddRect.
This version takes a startIndex.
2016-04-07 22:32:43 -04:00
Bill Holmes cf438de5bf Adding SKPath.AddArc
closes #51
2016-04-07 22:00:13 -04:00
Bill Holmes fa815050b0 Adding the 'R' methods to SKPath
- RMoveTo
 - RLineTo
 - RQuadTo
 - RConicTo
 - RCubicTo

rArcTo does not exist on this version of Skia.  Will have to
pick it up on the next bump.
2016-04-07 21:39:13 -04:00
Peter Golde d26b9d612f Add FilterQuality property on SKPaint 2016-03-28 11:28:31 -07:00
Bill Holmes 3776fdd22a More changes for FontMetrics property on Paint
- Adjust for new sk_paint_get_fontmetrics signature
 - Add docs
 - bump skia hash

closes #48
2016-03-22 15:51:48 -04:00
Peter Golde 77f733bd96 Formatting/whitespace fixes. 2016-03-18 13:13:36 -07:00
Peter Golde 1643bd131a Reverse silly formatting change. 2016-03-18 12:55:59 -07:00
Peter Golde 772b1baf0a Merge branch 'master' into fontmetrics 2016-03-18 12:50:14 -07:00
Bill Holmes 1a6f378343 Fixing the return type of SKCanvas Save methods
An int is returned to be used in RetoreCount.

fixes #12
2016-03-18 11:00:25 -04:00
Peter Golde 4a72410908 Make accessors public.
Forgot to make the accessors public.
2016-03-16 10:15:33 -07:00
Peter Golde 25d62c2a73 Fix tabs 2016-03-15 13:57:48 -07:00
Peter Golde 665dbad77c Add SKPaint.FontMetrics property. 2016-03-15 10:28:12 -07:00
Peter Golde 8d15c74c88 Add setting/getting fill type to SKPath. 2016-03-14 13:36:55 -07:00
Matthew Leibowitz fc477a4d35 Some changes for a stable 1.49.1 release 2016-03-07 19:44:47 +02:00
Miguel de Icaza be3b4b2dd6 [SKPoint, SKPointI, SKPoint3] extend the API with some System.Drawing code 2016-03-06 21:58:14 -05:00
Miguel de Icaza d72364f2fe [SKImage] Allow for images to be encoded in more formats 2016-03-05 23:24:43 -05:00
Miguel de Icaza 523f29de86 [SKData] Remove unnecessary, and potentially dangerous method, see issue #6 2016-03-05 22:59:35 -05:00
Miguel de Icaza e6559d6b62 SkColorFilter: fix constant names, issue #4 2016-03-05 22:58:13 -05:00
Miguel de Icaza d82bb783ac [SkBitmap] Expose LockPixels, UnlockPixels, GetPixels 2016-03-05 22:25:42 -05:00
Miguel de Icaza 51120544d9 Fix typo in enumeration, issue #7 2016-03-05 22:19:47 -05:00
Miguel de Icaza fd4efc7b20 [SKImage] Fixes github issue 10, missing FromData API that does not take a region 2016-03-05 22:18:24 -05:00
Miguel de Icaza efc56a5e61 [SKPaint] Use overloads that do not produce garbage at runtime 2016-03-05 22:18:24 -05:00
Magnus Lindhe e9d2638a1e Fixed issue when exception would be thrown when property was null
Fix for random `NullReferenceException` described in issue #39
2016-03-05 20:27:54 +01:00
Nikita Tsukanov b4169bfa8a Fix for typeloadexception 2016-03-03 18:39:15 +03:00
Nikita Tsukanov 06dea91d4b Whitespace style 2016-03-01 20:32:43 +03:00
Nikita Tsukanov af3cb0635d Whitespace fix 2016-03-01 20:14:04 +03:00
Nikita Tsukanov c22e303d53 IntPtr text manipulation overloads and encoding support 2016-03-01 13:10:12 +03:00
Miguel de Icaza 7d8fa2765d [SKData] Added convenience AsStream() method 2016-02-29 22:46:06 -05:00
Matthew Leibowitz 99617a46ca [C API] Corrected whitespace from different editor 2016-02-29 23:12:26 +02:00
Matthew Leibowitz 49adc7d3d9 [C API] Corrected whitespace from different editor 2016-02-29 22:09:42 +02:00
Matthew Leibowitz 0ebd999ab6 [C API] Added string measuring to SKPaint - Fixes #23 2016-02-29 22:06:15 +02:00
Matthew Leibowitz a7e8a427ff Fix the Windows .targets as we don't want the .pdb files 2016-02-22 21:05:12 +02:00
Matthew Leibowitz 39033719e8 [Build] Corrected unnecessary files, was wrong path 2016-02-15 15:21:35 +02:00
Matthew Leibowitz ed387cb559 [NuGet] The package should also copy the .dll.config for mac 2016-02-13 05:07:47 +02:00
Matthew Leibowitz 927371bda9 [C# API] Added more members to SKCanvas 2016-02-06 06:51:56 +02:00