// Size returns the size of drawn tiles, in pixel points.
Size returns the size of drawn tiles, in pixel points.
// Size returns the size of drawn tiles in pixel points .
func (d *Drawer) Size() gruid.Point {
	p := d.rect.Size()
	if p.X <= 0 {
		p.X = 1
	}
	if p.Y <= 0 {
		p.Y = 1
	}
	return gruid.Point{X: p.X, Y: p.Y}
}
func ( d * Drawer ) Size ( ) gruid . Point { p := d . rect . Size ( ) if p . X <= 0 { p . X = 1 } if p . Y <= 0 { p . Y = 1 } return gruid . Point { X : p . X , Y : p . Y } }
Size returns the size of drawn tiles, in pixel points.
Size returns the size of drawn tiles in pixel points .