1 #ifndef GUI_UTILS__PDF_HPP
2 #define GUI_UTILS__PDF_HPP
85 virtual TPdfObjectRef BeginContent(EContentType
t);
87 virtual void EndContent();
89 virtual TPdfObjectRef BeginAnnot();
90 virtual void EndAnnot();
92 virtual TPdfObjectRef BeginReference();
93 virtual void EndReference();
155 int range_minx,
int range_maxx,
156 int range_miny,
int range_maxy);
161 void RenderShaderInstance(
CGlVboNode* node,
const string& shader_id,
const TVPRect& vp);
163 virtual void BeginPage(
void);
164 virtual void EndPage(
void);
170 virtual string x_GetAlphaGraphicsState(
CGlVboNode* node);
171 virtual string x_GetAlphaGraphicsState(
CGlVboNode* node,
float alpha);
172 virtual string x_GetAlphaGraphicsState(
float alpha);
CGlModel2D Base class for a model set up for rendering purposes.
CGlVboNode A rendering node that holds a vertex buffer object.
unique_ptr< CPdfObjectWriter > m_ObjectWriter
CRef< CPdfDictionary > PageDictionary()
CRef< CPdfTrailer > m_Trailer
vector< TPdfObjectRef > m_PrintInEndDoc
CRef< CIdGenerator > m_ObjIdGenerator
CGlTextureFont::EFontFace EFontFace
TPdfObjectRef m_CurrentAnnot
CPdf & operator=(const CPdf &)
CRef< CPdfFontHandler > GetFontHandler()
CRef< CPdfObject > TPdfObjectRef
CRef< CPdfDictionary > m_PageDictionary
unique_ptr< CPageHandler > m_PageHandler
TPdfObjectRef m_CurrentContent
bool GetIsGreyscale() const
CRef< CPdfFontHandler > m_FontHandler
void SetIsGreyscale(bool b)
virtual TPdfObjectRef GetCurrentContent()
TPdfObjectRef m_CurrentReference
CPdf(const CPdf &)
forbidden
class CRgbaColor provides a simple abstraction for managing colors.
CRgbaGradColorTable Provides a storage for colors (to eliminate color creation overhead) and Function...
virtual void SetOutputStream(CNcbiOstream *ostream)
virtual void BeginDocument(void)=0
virtual void EndDocument(void)=0
virtual void SetOptions(const CPrintOptions &options)
static const Colors colors
Include a standard set of the NCBI C++ Toolkit most basic headers.
EFontFace
Set of pre-defined fonts for which we know we have valid font files.
CNcbiOstream & WriteObject(CNcbiOstream &str, TConstObjectPtr ptr, TTypeInfo info)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
#define NCBI_GUIPRINT_EXPORT