geo

package module
v0.0.0-...-2a2bcf6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: AGPL-3.0 Imports: 0 Imported by: 5 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

geo

geometry definitions for gradex

Documentation

Index

Constants

View Source
const (
	AnchorsLayer      = "anchors"
	AnchorReference   = "ref-anchor"
	ChromeLayer       = "chrome"
	TextFieldsLayer   = "textfields"
	TextPrefillsLayer = "textprefills"
	PagesLayer        = "pages"
	ImagesLayer       = "images"
	Translate         = "translate"
	SVGElement        = "svg-"
	JPGElement        = "jpg-"
	Previous          = "previous"
	PXIN              = float64(96)                //pixels per inch
	PPIN              = float64(72)                //points per inch
	PPMM              = float64(PPIN * 1.0 / 25.4) //points per millimetre
	PPPX              = float64(PPIN / PXIN)       // points per pixel

)

Variables

This section is empty.

Functions

This section is empty.

Types

type Dim

type Dim struct {
	Width        float64 `json:"width"`
	Height       float64 `json:"height"`
	DynamicWidth bool    `json:"dynamicWidth"` //dynamicW
}

type Point

type Point struct {
	X float64 `json:"x"`
	Y float64 `json:"y"`
}

type Rect

type Rect struct {
	Corner Point `json:"corner"`
	Dim    Dim   `json:"dim"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址