File tree 2 files changed +1
-4
lines changed
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ defmodule Mudbrick do
8
8
9
9
iex> import Mudbrick.TestHelper # import some example fonts and images
10
10
...> import Mudbrick
11
- ...> alias Mudbrick.Path
12
11
...> new(
13
12
...> compress: true, # flate compression for fonts, text etc.
14
13
...> fonts: %{bodoni: bodoni_regular()}, # register an OTF font
@@ -21,7 +20,7 @@ defmodule Mudbrick do
21
20
...> position: {0, 0} # in points (1/72 inch), starts at bottom left
22
21
...> )
23
22
...> |> path(fn path -> # draw a line
24
- ...> import Path
23
+ ...> import Mudbrick. Path
25
24
...> path
26
25
...> |> move(to: {55, 40}) # starting near the middle of the page
27
26
...> |> line(
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ defmodule MudbrickTest do
5
5
import Mudbrick
6
6
import Mudbrick.TestHelper
7
7
8
- alias Mudbrick.Path
9
-
10
8
test "can serialise with one empty page" do
11
9
assert new ( )
12
10
|> page ( )
You can’t perform that action at this time.
0 commit comments