| center | |
|---|---|
| obj::§Drawable z:(0,0)::§FloatPair → §Drawable | |
| Dynamic references: | none |
|
The argument z is interpreted as a point in the bounding box of obj, with (-1,-1) being the lower left corner, and (1,1) being the upper right corner. obj is then shifted so that this point ends up at the origin.
| |
| center_x | |
|---|---|
| obj::§Drawable x:0::§Float → §Drawable | |
| Dynamic references: | none |
|
Like center, but operates only along the x axis.
| |
| center_y | |
|---|---|
| obj::§Drawable y:0::§Float → §Drawable | |
| Dynamic references: | none |
|
Like center, but operates only along the y axis.
| |
| centerof | |
|---|---|
| obj::§Drawable → §Coords | |
| Dynamic references: | none |
|
Returns the point which is mid-way between the extreme points of the bounding box in the x and y direction, respectively.
| |
| @labelmargin | |
|---|---|
| Used by: | |
| Type: | §Length |
| Default binding: | 1 mm |
|
Distance to be used when placing labels relative to the point they label.
| |
| center_wlm | |
|---|---|
| obj::§Drawable z::§FloatPair → §Drawable | |
| Dynamic references: | |
|
The argument z is interpreted as a point in the bounding box of obj, with (-1,-1) being the lower left corner, and (1,1) being the upper right corner. obj is then shifted so that this point ends up at the origin.
| |
| mediate | |
|---|---|
| r::§Float x1::§L x2::§L → §L | |
| §L |
Elements constitute a linear space, that is, they can be added and multiplied by scalars.
|
| Dynamic references: | none |
|
Simply computes (1-r)*x1 + r*x2.
| |
| mspoint | |
|---|---|
| pth::§Path mediation::§Float slide:0 cm::§Length → §Coords | |
| Dynamic references: | none |
|
Interprets mediation as a length relative the total length of pth, then adds slide to this length, and finds the coordinates at the computed arc time.
For instance, the geometric midpoint of a path myPath is obtained as [mspoint myPath 0.5].
| |
| bboxed_sym | |
|---|---|
| obj::§Drawable → §Drawable | |
| Dynamic references: | none |
|
Enlarges the bounding box to a rectangle just big enough to obtain the center of the bounding box at the origin.
| |
| bboxed_sym_y | |
|---|---|
| obj::§Drawable → §Drawable | |
| Dynamic references: | none |
|
Enlarges the bounding box to a rectangle just big enough to obtain the center of the bounding box at the y coordinate zero.
| |
| bboxed_sym_x | |
|---|---|
| obj::§Drawable → §Drawable | |
| Dynamic references: | none |
|
Enlarges the bounding box to a rectangle just big enough to obtain the center of the bounding box at the x coordinate zero.
| |
| bboxed_enlarge | |
|---|---|
| obj::§Drawable z::§Coords → §Drawable | |
| Dynamic references: | none |
|
Enlarges the bounding box in all four principal direction to a rectangle, the horizontal and vertical enlargements given by the corresponding coordinates of z.
| |
| enlarge_bleedbox | |
|---|---|
| obj::§Drawable z::§Coords → §Drawable | |
| Dynamic references: | none |
|
Like bboxed_enlarge, but acting on the bleed box instead of the bounding box.
| |