• ApoloApps's avatar
    Part 2 Extension functions non-allocate intermediate objects (#1140) · 3af0752f
    ApoloApps authored
    This is part 2 of [this
    pr](https://github.com/JetBrains/skiko/pull/1137)
    
    **What has changed?**
    1. Added more extension functions that prevent intermediate object
    allocations from a lot of the Skiko api surface
    2. Migrated EnumClass.values() to entries in a lot of classes (maybe
    some have been missed)
    
    **Next**
    Try (important keyword here :), cause if not wrong there are Skia and
    Compose diffs on how they're treated) doing less copies of Matrix
    
    ## Release Notes
    Added API that can accept primitive values instead of `Rect`, `RRect`, `Offset` to avoid additional object allocation
    3af0752f
PathSegmentIterator.kt 4.24 KB