% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/knitr.R
\name{card_to_grob}
\alias{card_to_grob}
\title{Create a grob for grid/ggplot2}
\usage{
card_to_grob(svg_string, dpi = 150, engine = c("auto", "chrome", "rsvg"))
}
\arguments{
\item{svg_string}{SVG string from \code{svg_card()}.}

\item{dpi}{Rasterization DPI (default 150).}

\item{engine}{Rendering engine: \code{"auto"}, \code{"chrome"}, or \code{"rsvg"}.}
}
\value{
A \code{grid::rasterGrob} object.
}
\description{
Wrap an SVG card as a raster grob so it can be used with grid graphics.
}
