Compare commits

..

No commits in common. "59569cbf6172ae8f2159e794c2ee26d3d36713df" and "4a78a7d082aea2477411caea628d61b0b75be926" have entirely different histories.

4 changed files with 1 additions and 12 deletions

View File

@ -284,7 +284,6 @@ impl<'a> CurveBuilder<'a> {
self.last_point = point; self.last_point = point;
self.last_control_from = point; self.last_control_from = point;
self.is_started = true; self.is_started = true;
self.is_empty = true;
} }
/// Add a line segment. /// Add a line segment.

View File

@ -56,7 +56,7 @@ requirements with examples.
Typst's default page size is A4 paper. Depending on your region and your use Typst's default page size is A4 paper. Depending on your region and your use
case, you will want to change this. You can do this by using the case, you will want to change this. You can do this by using the
[`{page}`]($page) set rule and passing it a string argument to use a common page [`{page}`]($page) set rule and passing it a string argument to use a common page
size. Options include the complete ISO 216 series (e.g. `"a4"` and `"iso-c2"`), size. Options include the complete ISO 216 series (e.g. `"iso-a4"`, `"iso-c2"`),
customary US formats like `"us-legal"` or `"us-letter"`, and more. Check out the customary US formats like `"us-legal"` or `"us-letter"`, and more. Check out the
reference for the [page's paper argument]($page.paper) to learn about all reference for the [page's paper argument]($page.paper) to learn about all
available options. available options.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 B

View File

@ -38,16 +38,6 @@
curve.close(mode: "smooth"), curve.close(mode: "smooth"),
) )
--- curve-multiple-non-closed ---
#curve(
stroke: 2pt,
curve.line((20pt, 0pt)),
curve.move((0pt, 10pt)),
curve.line((20pt, 10pt)),
curve.move((0pt, 20pt)),
curve.line((20pt, 20pt)),
)
--- curve-line --- --- curve-line ---
#curve( #curve(
fill: purple, fill: purple,