Skip to content

Commit

Permalink
Doc improvements for v0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tinne26 committed Dec 6, 2024
1 parent 14feeb4 commit 9a4c7dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion renderer_gtw_fract.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

// [Gateway] to [RendererFract] functionality.
//
// [gateway]: https://pkg.go.dev/github.com/tinne26/[email protected]#Renderer
// [Gateway]: https://pkg.go.dev/github.com/tinne26/[email protected]#Renderer
func (self *Renderer) Fract() *RendererFract {
return (*RendererFract)(self)
}
Expand Down
2 changes: 1 addition & 1 deletion renderer_gtw_glyph.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type RendererGlyph Renderer

// [Gateway] to [RendererGlyph] functionality.
//
// [gateway]: https://pkg.go.dev/github.com/tinne26/[email protected]#Renderer
// [Gateway]: https://pkg.go.dev/github.com/tinne26/[email protected]#Renderer
func (self *Renderer) Glyph() *RendererGlyph {
return (*RendererGlyph)(self)
}
Expand Down
7 changes: 3 additions & 4 deletions renderer_gtw_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// [Gateway] to [RendererUtils] functionality.
//
// [gateway]: https://pkg.go.dev/github.com/tinne26/[email protected]#Renderer
// [Gateway]: https://pkg.go.dev/github.com/tinne26/[email protected]#Renderer
func (self *Renderer) Utils() *RendererUtils {
return (*RendererUtils)(self)
}
Expand Down Expand Up @@ -86,9 +86,8 @@ func (self *RendererUtils) SetFontBytes(data []byte) error {
// [RendererUtils.RestoreState]() in last-in first-out order.
//
// The stored state includes the following properties:
// - [Align], color, size, scale, [BlendMode], [FontIndex],
// active font, rasterizer, sizer, quantization and
// text [Direction].
// - [Align], color, size, scale, [BlendMode], rasterizer,
// sizer, quantization and text [Direction].
//
// Notably, custom rendering functions, inactive fonts
// and the cache handler are not stored.
Expand Down

0 comments on commit 9a4c7dc

Please sign in to comment.