Added:
- Canvas::quickReject(Rect), Canvas::quickReject(Path) #33 via @Algeseven
Changed:
- Skia version m106-ba6bc7d02d -> m109-664500fa93
- Ubuntu bumped to 20.04
- Java 8 is now supported #30 via @Glavo
Fixed:
- Added
Library.staticLoad()
toBufferUtil
,Pixmap
,ColorType
#29 - Don’t accept null font in shaper
- Implicit long to int conversion in BreakIterator::clone
- TextLine fBreakOffsets use uint32_t instead of floats
Changed:
- Skia version m105-f204b137b9 -> m106-ba6bc7d02d
Added:
- Canvas::setMatrix(Matrix44) #26 via @Algeseven
- Canvas::saveLayerAlpha
- Canvas::saveLayer(SaveLayerRec) #27
- Canvas::getSurface
Changed:
- Skia version m102-32283b3f00 -> m105-f204b137b9
Added:
- TextLineRunHandler
- FontMgrRunIterator ctor that accepts languageIterator
- SamplingModeAnisotropic
- Bitmap::erase(Color4f)
- Bitmap::erase(Color4f, ColorSpace)
- Bitmap::erase(Color4f, IRect)
- Bitmap::erase(Color4f, ColorSpace, IRect)
- Bitmap::getColor4f(int, int)
- Pixmap::getColor4f(int, int)
- Canvas::getBaseProps()
- Canvas::getTopProps()
Fixed:
- Surface::makeImageSnapshot can now correctly return null #23
Removed:
- [ BREAKING ] ParagraphBuilder::setParagraphStyle
Changed:
- Skia version m100-d5a507cafd -> m102-32283b3f00
- Cache Font::getMetrics #17
Changed:
- Skia version m98-e7cf73334f -> m100-d5a507cafd
- [ BREAKING ] RuntimeEffect::makeShader lost isOpaque argument
- [ BREAKING ] C++ 14 -> 17
Added:
- RuntimeEffect::makeColorFilter
Changed:
- types 0.1.0 -> 0.1.1
- Removed unnecessary LineMetrics UTF-8 to UTF-16 conversion #9
Changed:
- Skia version m96-2f1f21b8a9 -> m98-e7cf73334f
- groupId io.github.humbleui.skija -> io.github.humbleui
- [ BREAKING ] Moved IPoint, IRange, IRect, Point, Point3, Rect, RRect to
io.github.humbleui.types
Changed:
- Skia version m93-87e8842e8c -> m96-2f1f21b8a9
- Renamed package org.jetbrains.skija -> io.github.humbleui.skija
- Renamed maven group org.jetbrains.skija -> io.github.humbleui.skija
- Migrated to Maven Central
Added:
- org.jetbrains.skija.resources.*
- ResourceProvider
- FileResourceProvider
- DataURIResourceProviderProxy
- CachingResourceProvider
- AnimationBuilder::setResourceProvider #129
Added:
- ShapingOptions
- Groups together FontMgr, FontFeature[], leftToRight
- Adds approximateSpaces and approximatePunctuation
- FontMgrRunIterator(String, Font)
- Shaper::shapeLine(String, Font)
Changed:
- AnimationDisposalMethod -> AnimationDisposalMode
Signature updated from:
- TextLine::make(String, Font, FontFeature[], boolean)
- FontMgrRunIterator(ManagedString, boolean, Font, FontMgr)
- FontMgrRunIterator(String, Font, FontMgr)
- Shaper::shape(String, Font, boolean, float, Point)
- Shaper::shape(String, Font, FontMgr, FontFeature[], boolean, float, RunHandler)
- Shaper::shape(String, Iterator, Iterator, Iterator, Iterator, FontFeature[], float width, RunHandler)
- Shaper::shape(ManagedString, Iterator, Iterator, Iterator, Iterator, FontFeature[], float width, RunHandler)
- Shaper::shapeLine(String, Font, FontFeature[], boolean)
to:
- TextLine::make(String, Font, ShapingOptions)
- FontMgrRunIterator(ManagedString, boolean, Font, ShapingOptions)
- FontMgrRunIterator(String, Font, ShapingOptions)
- Shaper::shape(String, Font, ShapingOptions, float, Point)
- Shaper::shape(String, Font, FontMgr, ShapingOptions, float, RunHandler)
- Shaper::shape(String, Iterator, Iterator, Iterator, Iterator, ShapingOptions, float width, RunHandler)
- Shaper::shape(ManagedString, Iterator, Iterator, Iterator, Iterator, ShapingOptions, float width, RunHandler)
- Shaper::shapeLine(String, Font, ShapingOptions)
Changed:
- Skia version m92-d9b8efde6d -> m93-87e8842e8c
- Paint::getHash is no longer structural
Removed:
- Shader::makeLerp #114 thx @cqjjjzr
- Paint::getFilterQuality, Paint::setFilterQuality #114 thx @cqjjjzr
Changed:
- Skia version m92-f46c37ba85-2 -> m92-d9b8efde6d
- Linking freetype dynamically on Linux to avoid conflicts with JavaFX #113
Added:
- RuntimeEffect #120 #124 thx @Vechro
Added:
- DirectContext::submit(bool syncCPU), thx @EgorOrachyov
- Direct3D Context #121 thx @EgorOrachyov
- SkData->ByteBuffer #118 thx @cqjjjzr
- SkImage bindings for SkPixmap #117 thx @cqjjjzr
Changed:
- Optimized use of Enum.values() #112
- Fixed source jar build on non-English Windows
Added:
- SkPixmap bindings, SkPixmap-related methods for SkSurface #116 thx @cqjjjzr
Lowered minimal required version to Java 9. Support for Java 9 modules (#110 #111 thx @comtel2000):
- org.jetbrains.skija.shared
- org.jetbrains.skija.windows
- org.jetbrains.skija.linux
- org.jetbrains.skija.macos.x64
- org.jetbrains.skija.macos.arm64
Code reorganization:
- removed maven
- flattened source dirs
- native/src → platform/cc
- shared/src/main/java/org/jetbrains/skija → shared/java
- shared/src/test/java/org/jetbrains/skija → tests/java
- added platform/java-{platform}
Skia version m92-f46c37ba85 -> m92-f46c37ba85-2
Changed:
- [ BREAKING ] SVGDOM::setContainerSize() does not scale SVG anymore (https://bugs.chromium.org/p/skia/issues/detail?id=11144)
Added:
- SVGDOM::getRoot()
- SVGSVG (root SVG node)
Skia version m91-b99622c05a -> m92-f46c37ba85
Changed:
- paragraph.Shadow::blurRadius -> paragraph.Shadow::blurSigma
Removed:
- PathEffect::computeFastBounds
Fixed:
- Typeface.getFamilyNames return type (String[] -> FontFamilyName[]) #108
- Canvas.resetMatrix argument (Matrix33 -> None) #109, thx @AnzerWall
Added:
- Canvas.drawRectShadow
- Canvas.drawRectShadowNoclip
- Rect.inflate
- Rect.isEmpty
- Managed.isClosed
Updated:
- org.jetbrains:annotations from 19.0.0 to 20.1.0
Added:
- Surface::makeFromMTKView
- Optionally load dll/so/dylib from current dir
Added:
- DirectContext::makeMetal
- BackendRenderTarget::makeMetal
Fixed:
-Xcheck:jni
warnings #70
Fixed:
- NPE in TextLine::getIntercepts
Skia version m90-adbb69cd7f-2 -> m91-b99622c05a
Changed:
- All variants of Picture.makeShader now take extra FilterMode argument
Added:
- Matrix33.rotate(deg, pivot)
New FontRunIter for TextLine/TextBlob, groups grapheme clusters together correctly
Lombok 1.18.18 -> 1.18.20 (support for Java 16)
Added:
- TextLine.getIntercepts()
Skia version m90-adbb69cd7f -> m90-adbb69cd7f-2
Changed:
- Fixed exception during reporting double close in Managed #102
- Fixed for locale-dependent SVGCanvas serialization https://skbug.com/11794
Changed:
- Fixed Skottie linking on Linux
Skia version m89-109bfc9052 -> m90-adbb69cd7f
Added:
- Canvas.drawImageRect(..., SamplingMode, ...)
- Canvas.drawImageNine()
Changed:
- SamplingMode.FilterMipmap -> FilterMipmap
- SamplingMode.CubicResampler -> CubicResampler
- ImageFilter.makeXfermode() -> ImageFilter.makeBlend()
- ImageFilter.makeImage(..., FilterQuality -> SamplingMode)
- ImageFilter.makeMatrixTransform(..., FilterQuality -> SamplingMode)
Removed:
- Canvas.drawImageIRect()
- Canvas.drawBitmap()
- Canvas.drawBitmapRect()
- Canvas.drawBitmapIRect()
(See https://bugs.chromium.org/p/skia/issues/detail?id=11764#c1)
Lombok 1.18.16 -> 1.18.18
Added:
- BreakIterator
- U16String
Added:
- Codec
- AnimationFrameInfo
- AnimationDisposalMethod