% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extendr-wrappers.R
\name{euler_plot_data}
\alias{euler_plot_data}
\title{Compute polygon geometry and label anchors for plotting a fitted Euler
diagram, including the optional complement region inside a fitted
container.}
\usage{
euler_plot_data(
  set_names,
  shape,
  h,
  k,
  a,
  b,
  phi,
  width,
  height,
  side,
  container_h,
  container_k,
  container_width,
  container_height,
  n_vertices,
  label_precision
)
}
\description{
Inputs are the fitted shape parameters for the \strong{non-empty} sets only,
in the order eulerr stores them (\code{x$shapes} rows after dropping rows
with NA). The leading \code{shape} argument selects which per-set columns are
active: \code{"circle"}/\code{"ellipse"} consume \verb{(h, k, a, b, phi)},
\code{"rectangle"} consumes \verb{(h, k, width, height)}, \code{"square"} consumes
\verb{(h, k, side)}. The remaining vectors must still be provided (NaN
padding is acceptable). When \verb{container_*} are non-NULL they describe
the fitted universe-box rectangle; in that case the result also carries
the complement region geometry (the area inside the rectangle outside
every shape) and a label anchor for it. Eunoia's \code{decompose_regions}
emits this region under the empty \code{Combination} whenever the spec
carries a complement and a container is supplied.
}
\keyword{internal}
