summaryrefslogtreecommitdiff
path: root/library/src/layout/transform.rs
diff options
context:
space:
mode:
authorMALO <57839069+MDLC01@users.noreply.github.com>2023-06-24 14:33:17 +0200
committerGitHub <noreply@github.com>2023-06-24 14:33:17 +0200
commitb96b7b7ee12a5d1c8e8c24c95b58b7ca03cec44b (patch)
treea8884268565be8540c509e53f0fdbccd5e73b89f /library/src/layout/transform.rs
parent48c25f4da01aa5cbd5e49145f591c85b676e8a54 (diff)
Use third person in documentation (#1560)
Diffstat (limited to 'library/src/layout/transform.rs')
-rw-r--r--library/src/layout/transform.rs16
1 files changed, 7 insertions, 9 deletions
diff --git a/library/src/layout/transform.rs b/library/src/layout/transform.rs
index f1f1e94a..a57a5edc 100644
--- a/library/src/layout/transform.rs
+++ b/library/src/layout/transform.rs
@@ -2,11 +2,11 @@ use typst::geom::Transform;
use crate::prelude::*;
-/// Move content without affecting layout.
+/// Moves content without affecting layout.
///
/// The `move` function allows you to move content while the layout still 'sees'
-/// it at the original positions. Containers will still be sized as if the content
-/// was not moved.
+/// it at the original positions. Containers will still be sized as if the
+/// content was not moved.
///
/// ## Example { #example }
/// ```example
@@ -53,9 +53,9 @@ impl Layout for MoveElem {
}
}
-/// Rotate content without affecting layout.
+/// Rotates content without affecting layout.
///
-/// Rotate an element by a given angle. The layout will act as if the element
+/// Rotates an element by a given angle. The layout will act as if the element
/// was not rotated.
///
/// ## Example { #example }
@@ -126,11 +126,9 @@ impl Layout for RotateElem {
}
}
-/// Scale content without affecting layout.
-///
-/// The `scale` function allows you to scale and mirror content without
-/// affecting the layout.
+/// Scales content without affecting layout.
///
+/// Lets you mirror content by specifying a negative scale on a single axis.
///
/// ## Example { #example }
/// ```example