pdf-lib
Version:
Library for creating and modifying PDF files in JavaScript
14 lines (13 loc) • 444 B
JavaScript
// tslint:disable-next-line:no-unused-variable
import PDFOperator from '../../../pdf-operators/PDFOperator';
export default {
/**
* Save the current graphics state on the graphics state stack
*/
q: PDFOperator.createSingletonOp('q'),
/**
* Restore the graphics state by removing the most recently saved state from the
* stack and making it the current state
*/
Q: PDFOperator.createSingletonOp('Q'),
};