% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validate.R
\name{validate_fig_inputs}
\alias{validate_fig_inputs}
\title{Validate inputs before rendering a figure}
\usage{
validate_fig_inputs(spec, opts, type, backend, extra_args)
}
\arguments{
\item{spec}{A \code{hd_spec} object.}

\item{opts}{A \code{hd_opts} object.}

\item{type}{Character. Geometry name.}

\item{backend}{Character. Backend name.}

\item{extra_args}{Named list of additional arguments (for required-arg
check).}
}
\value{
\code{invisible(NULL)} on success.
}
\description{
Called by \code{\link[=hd_make]{hd_make()}} immediately before dispatching to a backend engine.
Stops with an informative message if anything is wrong.
}
\keyword{internal}
