Discover Packages
github.com/finkf/gocrd/boundingbox
package
module
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: May 28, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Cuts returns an array of evenly spaced right positions for n
positions within the given rectangle. N must be larger than 0.
FromPoints converts the given points array to a rectangle.
ToPoints converts a rectangle to an array of two points, consisting
of the top left point (rectangle.Min) and the bottom right point
(rectangle.Max).
Split represents (trimmed) words with their accoring right
position in a rectangle.
SplitTokens splits a given rectangle into an list of tokens and
their approixmate right cuts. Whitespace between tokens is
distributed between the tokens.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.