46 , m_OutputStream(
NULL)
69 unique_ptr<CNcbiOstream> pstrm;
virtual void ResetState()
void SetOutputStream(CNcbiOstream *ostr)
unique_ptr< CPrintOptions > m_PrintOptions
IVectorGraphicsRenderer & m_Pane
Pane display canvas for the tree we are saving.
CRef< CSVGRenderer > m_SVGRenderer
void x_EndCaptures()
Called to restore values (in pane) when capturing stops.
virtual eCaptureResult GrabImages(int tex_size, IImageGrabberProgress *p=NULL)
Grab the requested images.
CSVGGrabber(IVectorGraphicsRenderer &pane)
CNcbiOstream * m_OutputStream
void x_BeginCaptures(int buffer_size)
Called to setup values before image capturing starts.
CVect2< float > m_ModelViewScaler
Ratio scalers for the drawing area that maps to the images.
void x_InitRenderer()
Instantiates the PDF renderer.
virtual void SetGLContext()
std::string m_BaseImageName
Image name without its appended number (e.g. img for img1, img2...)
TModelUnit m_TitleHeight
Allow space at the top for a title.
std::string m_Directory
Target directory for saved images.
std::string m_ImageFormat
Image output format (e.g. jpeg, png...)
int m_GuideWidthX
If we are making space for printing guides (margins) on the sides, those margins may have different s...
bool m_DisableGouraudShaded
If true, disable gouraud-shaded polys (shadingtype 4)
Interface class for the pdf renderer.
virtual const TVPRect & GetViewportRect() const =0
virtual void RenderVectorGraphics(int vp_width, int vp_height)=0
virtual void UpdateVectorLayout()=0
virtual void AddTitle(bool b)=0
std::ofstream out("events_result.xml")
main entry point for tests
static string ConcatPath(const string &first, const string &second)
Concatenate two parts of the path for the current OS.
static CGlResMgr & Instance()
CIRef< IRender > GetRenderer(ERenderTarget target)
Returns first renderer in m_Renderers that renders to 'target'.
CGlRect< TVPUnit > TVPRect
void AddRenderer(CIRef< IRender > rm)
Get/Set Renderer.
void SetCurrentRenderer(CIRef< IRender > rm)
Set current renderer (rm must already be in m_Renderers)
virtual void Initialize(const TVPRect &viewport)
void SetSimplified(bool simplified=true)
void Write(CNcbiOstream &ostrm)
void Reset(void)
Reset reference object.
bool IsNull(void) const THROWS_NONE
Check if pointer is null – same effect as Empty().
TObjectType * GetPointerOrNull(void) THROWS_NONE
Get pointer value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ofstream CNcbiOfstream
Portable alias for ofstream.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...