just passing the full range.

This commit is contained in:
Will Charczuk 2017-04-15 09:07:59 -07:00
parent 079c471daf
commit 03ac305951
4 changed files with 10 additions and 7 deletions

View file

@ -37,7 +37,7 @@ type FullBoundedValueProvider interface {
}
// SizeProvider is a provider for integer size.
type SizeProvider func(rx, ry, x, y float64) float64
type SizeProvider func(xrange, yrange Range, x, y float64) float64
// ColorProvider is a provider for dot size.
type ColorProvider func(rx, ry, x, y float64) drawing.Color
type ColorProvider func(xrange, yrange Range, x, y float64) drawing.Color