add submodule Measure
This commit is contained in:
parent
dca5a7ce4d
commit
33e5a51a28
@ -133,11 +133,15 @@ ignorenan_extrema(x) = Base.extrema(x)
|
|||||||
|
|
||||||
# ---------------------------------------------------------
|
# ---------------------------------------------------------
|
||||||
|
|
||||||
|
module Measure
|
||||||
import Measures
|
import Measures
|
||||||
import Measures: Length, AbsoluteLength, Measure, BoundingBox, mm, cm, inch, pt, width, height, w, h
|
import Measures: Length, AbsoluteLength, Measure, BoundingBox, mm, cm, inch, pt, width, height, w, h
|
||||||
const BBox = Measures.Absolute2DBox
|
const BBox = Measures.Absolute2DBox
|
||||||
export BBox, BoundingBox, mm, cm, inch, pt, px, pct, w, h
|
export BBox, BoundingBox, mm, cm, inch, pt, px, pct, w, h
|
||||||
|
|
||||||
|
end
|
||||||
|
importall Measure
|
||||||
|
export BBox, BoundingBox
|
||||||
# ---------------------------------------------------------
|
# ---------------------------------------------------------
|
||||||
|
|
||||||
include("types.jl")
|
include("types.jl")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user