## Documentation ¶

### Overview ¶

Package geom defines a two-dimensional coordinate system.

The coordinate system is based on an left-handed Cartesian plane. That is, X increases to the right and Y increases down. For (x,y),

(0,0) → (1,0) ↓ ↘ (0,1) (1,1)

The display window places the origin (0, 0) in the upper-left corner of the screen. Positions on the plane are measured in typographic points, 1/72 of an inch, which is represented by the Pt type.

Any interface that draws to the screen using types from the geom package scales the number of pixels to maintain a Pt as 1/72 of an inch.

### Index ¶

### Constants ¶

This section is empty.

### Variables ¶

This section is empty.

### Functions ¶

This section is empty.

### Types ¶

#### type Pt ¶

type Pt float32

Pt is a length.

The unit Pt is a typographical point, 1/72 of an inch (0.3527 mm).

It can be be converted to a length in current device pixels by multiplying with PixelsPerPt after app initialization is complete.