Directories
¶
| Path | Synopsis |
|---|---|
|
Package eips writes aligned, automatically wrapped text to a Kindle's e-ink screen through the stock eips tool.
|
Package eips writes aligned, automatically wrapped text to a Kindle's e-ink screen through the stock eips tool. |
|
internal
|
|
|
cachedir
Package cachedir centralizes where the library caches generated files (rasterized assets, the detected eips grid) so every package agrees on a single location under the user's cache directory.
|
Package cachedir centralizes where the library caches generated files (rasterized assets, the detected eips grid) so every package agrees on a single location under the user's cache directory. |
|
imgfit
Package imgfit holds the aspect-ratio fit calculation shared by the SVG rasterizer and the gg image helpers, so neither package has to depend on the other just to reach it.
|
Package imgfit holds the aspect-ratio fit calculation shared by the SVG rasterizer and the gg image helpers, so neither package has to depend on the other just to reach it. |
|
Package kindlesystem provides helpers for interacting with Kindle system properties via LIPC, the display, and locale settings.
|
Package kindlesystem provides helpers for interacting with Kindle system properties via LIPC, the display, and locale settings. |
|
Package locale formats dates, weekdays, and month names according to a Kindle-style locale string (e.g.
|
Package locale formats dates, weekdays, and month names according to a Kindle-style locale string (e.g. |
|
Package render embeds the library's SVG icon assets and exposes them as an fs.FS for use by assethelper and its callers.
|
Package render embeds the library's SVG icon assets and exposes them as an fs.FS for use by assethelper and its callers. |
|
assethelper
Package assethelper rasterizes SVG icons to PNG, either from the filesystem or from an embed.FS, and caches the results under os.UserCacheDir() so repeat renders reuse the same file.
|
Package assethelper rasterizes SVG icons to PNG, either from the filesystem or from an embed.FS, and caches the results under os.UserCacheDir() so repeat renders reuse the same file. |
|
gghelper
Package gghelper provides font, text-measurement, and image utilities built on top of github.com/fogleman/gg, tailored for rendering to a Kindle's e-ink display.
|
Package gghelper provides font, text-measurement, and image utilities built on top of github.com/fogleman/gg, tailored for rendering to a Kindle's e-ink display. |
|
gghelper/widgets
Package widgets provides ready-made gghelper.Widget implementations for common dashboard elements.
|
Package widgets provides ready-made gghelper.Widget implementations for common dashboard elements. |
Click to show internal directories.
Click to hide internal directories.