From 71a607b218b5232d9bdacf8fe8c680e0620e0472 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 21 Jan 2019 11:25:23 +0900 Subject: [PATCH] Updated Cheat Sheet (markdown) --- Cheat-Sheet.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cheat-Sheet.md b/Cheat-Sheet.md index 3f7ce84..bb73169 100644 --- a/Cheat-Sheet.md +++ b/Cheat-Sheet.md @@ -186,7 +186,8 @@ When the given image is as same as `i`, DrawImage panics. `DrawImage` works more efficiently as batches when the successive calls of `DrawImages` satisfies the below conditions: * All render targets are same (`A` in `A.DrawImage(B, op)`) -* All ColorM values are same, or all the ColorM have only 'scale' operations +* Either all ColorM element values are same or all the ColorM have only diagonal ('scale') elements + * (*ColorM).Scale modifies only diagonal elements. Other ColorM functions might modify the other elements. * All CompositeMode values are same * All Filter values are same