rsktash
03/02/2021, 4:44 PMPath.op
methods (androidx.compose.ui.graphics.Path
).
The method is ignoring last param options. All of them difference
, intersect
reverseDifference
doing union
pathrsktash
03/02/2021, 4:51 PMrsktash
03/02/2021, 4:52 PMrsktash
03/02/2021, 4:54 PMrsktash
03/02/2021, 4:55 PMromainguy
03/02/2021, 5:09 PMrsktash
03/02/2021, 5:09 PMNader Jawad
03/02/2021, 5:10 PMrsktash
03/02/2021, 5:11 PMromainguy
03/02/2021, 5:14 PMromainguy
03/02/2021, 5:14 PMrsktash
03/02/2021, 5:17 PMrsktash
03/02/2021, 5:19 PMrsktash
03/02/2021, 5:19 PMdector
03/02/2021, 5:28 PMaddRect()
instead of drawRect()
🙂Nader Jawad
03/02/2021, 5:29 PMromainguy
03/02/2021, 5:30 PMrsktash
03/02/2021, 5:32 PMNader Jawad
03/02/2021, 5:35 PMModifier.drawWithCache
as it breaks up the drawing operation into 2 steps that can be used to conditionally allocate and cache paths instead of allocating them on each draw call. Because the initial scope of drawWithCache isn't a DrawScope it makes it more difficult to call into drawing APIs instead of path operationsrsktash
03/02/2021, 5:36 PMrsktash
03/02/2021, 5:38 PMrsktash
03/02/2021, 5:43 PMModifier.drawWithCache
Daniel
03/02/2021, 5:45 PMDaniel
03/02/2021, 5:47 PMDaniel
03/02/2021, 5:47 PMNader Jawad
03/02/2021, 5:47 PMDaniel
03/02/2021, 5:48 PMNader Jawad
03/02/2021, 5:49 PMDaniel
03/02/2021, 5:58 PMNader Jawad
03/02/2021, 5:59 PMDaniel
03/02/2021, 6:04 PMNader Jawad
03/02/2021, 6:10 PM