type align_options =
| None
| X_max_y_max
| X_max_y_mid
| X_max_y_min
| X_mid_y_max
| X_mid_y_mid
| X_mid_y_min
| X_min_y_max
| X_min_y_mid
| X_min_y_min
type units =
| Object_bounding_box
| User_space_on_use
type angle =
| Deg of float
| Grad of float
| Rad of float
| Turn of float
type path_op =
| Move_to_abs of {
x : float;
y : float;
}
| Move_to_rel of {
x : float;
y : float;
}
| Line_to_abs of {
x : float;
y : float;
}
| Line_to_rel of {
x : float;
y : float;
}
| Arc_to_abs of {
rx : float;
ry : float;
x_axis_rotation : float;
large_arc : bool;
sweep : bool;
x : float;
y : float;
}
| Arc_to_rel of {
rx : float;
ry : float;
x_axis_rotation : float;
large_arc : bool;
sweep : bool;
dx : float;
dy : float;
}
| Cubic_abs of {
x1 : float;
y1 : float;
x2 : float;
y2 : float;
x : float;
y : float;
}
| Cubic_rel of {
x1 : float;
y1 : float;
x2 : float;
y2 : float;
x : float;
y : float;
}
| Cubic_smooth_abs of {
x2 : float;
y2 : float;
x : float;
y : float;
}
| Cubic_smooth_rel of {
x2 : float;
y2 : float;
x : float;
y : float;
}
| Quadratic_abs of {
x1 : float;
y1 : float;
x : float;
y : float;
}
| Quadratic_rel of {
x1 : float;
y1 : float;
x : float;
y : float;
}
| Quadratic_smooth_abs of {
x : float;
y : float;
}
| Quadratic_smooth_rel of {
x : float;
y : float;
}
| Close_path
<a>
many things
<circle>
nothing for <defs>
<ellipse>
shares cx and cy with circle
nothing for <g>
<image>
<line>
<linearGradient>
shares href with <a>, x1, x2, y1, y2 with <line>
<marker>
viewBox is shared with <svg>, preserveAspecteRatio is shared with <image>
<mask>
shares width, height, x, and y with <image>
<path>
<polygon>
<polyline>
shares points with <polygon>
<radialGradient>
shares spreadMethod with <linearGradient> shares cx, cy, r with <circle>
Nothing to do for <rect> because shares x, y, rx and ry width, height with <image>
<stop>
nothing to do for <style>
Nothing to do for <symbol> as refX and refY is shared with <marker>, viewBox is shared with <svg>, x, y, width, and height are shared with <image>,
<text>
x and y is shared with <image>
module Text : sig ... end