Documentation ¶
Index ¶
- type ImageRenderer
- func (r ImageRenderer) Bounds(buf *demodel.CharBuffer) image.Rectangle
- func (r ImageRenderer) CanRender(buf *demodel.CharBuffer) bool
- func (r *ImageRenderer) GetImageMap(buf *demodel.CharBuffer, viewport image.Rectangle) demodel.ImageMap
- func (r ImageRenderer) InvalidateCache()
- func (r *ImageRenderer) RenderInto(dst draw.Image, buf *demodel.CharBuffer, viewport image.Rectangle) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageRenderer ¶
type ImageRenderer struct {
// contains filtered or unexported fields
}
func (ImageRenderer) Bounds ¶
func (r ImageRenderer) Bounds(buf *demodel.CharBuffer) image.Rectangle
func (ImageRenderer) CanRender ¶
func (r ImageRenderer) CanRender(buf *demodel.CharBuffer) bool
func (*ImageRenderer) GetImageMap ¶
func (r *ImageRenderer) GetImageMap(buf *demodel.CharBuffer, viewport image.Rectangle) demodel.ImageMap
func (ImageRenderer) InvalidateCache ¶
func (r ImageRenderer) InvalidateCache()
func (*ImageRenderer) RenderInto ¶
func (r *ImageRenderer) RenderInto(dst draw.Image, buf *demodel.CharBuffer, viewport image.Rectangle) error
Click to show internal directories.
Click to hide internal directories.