diagrams-core-0.5.0.1: Core libraries for diagrams EDSL

Maintainerdiagrams-discuss@googlegroups.com
Safe HaskellSafe-Infered

Graphics.Rendering.Diagrams.Util

Contents

Description

Various internal utilities for the diagrams project.

Synopsis

Vectors

withLength :: (InnerSpace v, Floating (Scalar v)) => Scalar v -> v -> vSource

Produce a vector with the specified length in the same direction as the given vector.