mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
internal/scene: add color to OpFillColor String representation
For gio#277 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -63,7 +63,7 @@ func (c Command) String() string {
|
||||
from, ctrl0, ctrl1, to := DecodeCubic(c)
|
||||
return fmt.Sprintf("cubic(%v, %v, %v, %v)", from, ctrl0, ctrl1, to)
|
||||
case OpFillColor:
|
||||
return "fillcolor"
|
||||
return fmt.Sprintf("fillcolor %#.8x", c[1])
|
||||
case OpLineWidth:
|
||||
return "linewidth"
|
||||
case OpTransform:
|
||||
|
||||
Reference in New Issue
Block a user