//! Drawing graphics. This allows you to reuse the same graphical content
//! multiple times in the PDF without incurring any overhead in terms of file size.
use crateXObject;
use crateStream;
/// A cacheable graphic. You can use this for large graphics objects which you
/// want to reuse in multiple locations in the same document. Embedding the same
/// graphic multiple times will ensure that it is only actually written once in the
/// PDF document, which might lead to better file sizes.
///
/// IMPORTANT: Note that you must only use a graphic in the document that you created it with!
/// If you use it in a different document, you will end up with an invalid PDF file.