Package: dee 0.1.0-29

dee: Tools to Construct SVG Path 'd' Attributes

Provides helper functions to construct the SVG path 'd' <https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/d> attribute string. Supports all standard SVG path commands including 'moveto', 'lineto', 'closepath', quadratic and cubic Bézier curves, and elliptical arc curves. Also provides convenience wrappers for common shapes such as arcs, circles, ellipses, polygons, slashes, and stars. Coordinates may be supplied as numeric vectors or as 'affiner' coordinate objects and an option is available to automatically round them to a target number of decimal places for more compact svg strings. An option is also available to use a bottom-left origin (as is conventional in R graphics) rather than the top-left origin used by SVG.

Authors:Trevor L. Davis [aut, cre]

dee_0.1.0-29.tar.gz
dee_0.1.0-29.zip(r-4.7)dee_0.1.0-29.zip(r-4.6)dee_0.1.0-29.zip(r-4.5)
dee_0.1.0-29.tgz(r-4.6-any)dee_0.1.0-29.tgz(r-4.5-any)
dee_0.1.0-29.tar.gz(r-4.7-any)dee_0.1.0-29.tar.gz(r-4.6-any)
dee_0.1.0-29.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
dee/json (API)
NEWS

# Install 'dee' in R:
install.packages('dee', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/trevorld/dee/issues

Pkgdown/docs site:https://trevorldavis.com

On CRAN:

Conda:

3.32 score 3 stars 4 scripts 71 exports 3 dependencies

Last updated from:7402cddf0c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK126
source / vignettesOK181
linux-release-x86_64OK125
macos-release-arm64OK78
macos-oldrel-arm64OK88
windows-develOK85
windows-releaseOK106
windows-oldrelOK125
wasm-releaseOK102

Exports:Aaaas_omsvgazAZCccczCZd_aabbd_arc1d_arc12d_arc123d_arc2d_arc23d_arc234d_arc3d_arc34d_arc341d_arc4d_arc41d_arc412d_bslashd_circled_ellipsed_fslashd_isotoxal_2ngond_polygond_rectd_regular_ngond_stardeedee_optionsHheight_slash_leftheight_slash_righthhhzHZLlllzLZMmmmzMZQqqqzQZSssszSZTtttzTZVvvvzVZwidth_slash_leftwidth_slash_rightx_ellipse_leftx_ellipse_righty_ellipse_bottomy_ellipse_topZzz

Dependencies:affinerR6rlang

Readme and manuals

Help Manual

Help pageTopics
The elliptical arc curve commandsA aa AZ az
Convert to an 'omsvg' "svg" class objectas_omsvg
The cubic Bézier curve commandsC cc CZ cz S ss SZ sz
Axis-aligned bounding box convenience wrapperd_aabb
Elliptical arc path convenience wrapperd_arc1 d_arc12 d_arc123 d_arc2 d_arc23 d_arc234 d_arc3 d_arc34 d_arc341 d_arc4 d_arc41 d_arc412
Ellipse path convenience wrapperd_circle d_ellipse
Forward/backward slash path convenience wrapperd_bslash d_fslash
Isotoxal 2n-gon path convenience wrapperd_isotoxal_2ngon d_star
Polygon path convenience wrapperd_polygon
Rectangle path convenience wrapperd_rect
Regular 'n'-gon path convenience wrapperd_regular_ngon
Build an object of class "dee"dee
Get dee optionsdee_options
Height/width of slash endsheight_slash_left height_slash_right width_slash_left width_slash_right
The "lineto" commandsH hh HZ hz L ll LZ lz V vv VZ vz
The "moveto" commandsM mm MZ mz
Plot an object of class "dee"plot.dee
The quadratic Bézier curve commandsQ qq QZ qz T tt TZ tz
Find ellipse coordinatex_ellipse_left x_ellipse_right y_ellipse_bottom y_ellipse_top
The "closepath" commandsZ zz