From f0386b616a4921f6cff938b001297510c93ceffd Mon Sep 17 00:00:00 2001
From: Matthias Koefferlein Usage:
-This operation acts on polygons and applies polygon smoothing with the tolerance d. See Layer#smoothed for more details.
+This operation acts on polygons and applies polygon smoothing with the tolerance d. 'keep_hv' indicates
+whether horizontal and vertical edges are maintained. Default is 'no' which means such edges may be distorted.
+See Layer#smoothed for more details.
The "smoothed" method is available as a plain function or as a method on DRC expressions.
The plain function is equivalent to "primary.smoothed".
diff --git a/src/lay/lay/doc/about/drc_ref_global.xml b/src/lay/lay/doc/about/drc_ref_global.xml
index 48877b955..52f6d583b 100644
--- a/src/lay/lay/doc/about/drc_ref_global.xml
+++ b/src/lay/lay/doc/about/drc_ref_global.xml
@@ -672,6 +672,17 @@ The following example computes every part of the input which is closer than
out = in.drc(primary & foreign.sized(0.5.um))
Usage:
+Applies a global transformation to the default source layout.
+See Source#global_transform for a description of this feature.
+ Usage:
-
"global_transform" - Gets or sets a global transformation
+
+
+"holes" - Selects all holes from the input polygons
Usage:
++This method returns a new source representing the transformed layout. It is provided in the spritit of +Source#clip and similar methods. +
+The transformation
+is either given as a
+
+Multiple transformation specs can be given. In that case the transformations are applied right to left. +Using "global_transform" will reset any global transformation present already. +Without an argument, the global transformation is reset. +
+The following example rotates the layout by 90 degree at the origin (0, 0) and then shifts it up by +100 micrometers: +
+
+source.global_transform(shift(0, 100.um), rotate(90.0)) ++
Usage: