//--------------------------------------------------------------------------------------- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved. // Consult legal.txt regarding legal and license information. //--------------------------------------------------------------------------------------- #ifndef PDFTRON_H_CPPPDFAnnotsRubberStamp #define PDFTRON_H_CPPPDFAnnotsRubberStamp #include namespace pdftron { namespace PDF { namespace Annots { /** * A RubberStamp annotation displays text or graphics intended * to look as if they were stamped on the page with a rubber stamp. */ class RubberStamp : public Markup { public: /** * Creates a RubberStamp annotation and initializes it using given Cos/SDF object. * @param d The Cos/SDF object to initialze the annotation with. * @note The constructor does not copy any data, but is instead the logical * equivalent of a type cast. */ RubberStamp(SDF::Obj d = 0); /** * Creates a RubberStamp annotation and initializes it using given annotation object. * @param ann Annot object used to initialize the RubberStamp annotation. * @note The constructor does not copy any data, but is instead the logical * equivalent of a type cast. */ RubberStamp(const Annot& ann) : Markup(ann.GetSDFObj()) {} /** * This enum represents the Icon type of the RubberStamp annotation */ enum Icon { e_Approved, /// #endif // PDFTRON_H_CPPPDFAnnotsRubberStamp