A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/group__GUI__PRINT.html below:

NCBI C++ ToolKit: GUI_PRINT

  CGlRenderPdf::CGlRenderPdf ()   virtual  CGlRenderPdf::~CGlRenderPdf ()   void  CGlRenderPdf::SetPdf (CRef< CPdf > &pdf)   m_Pdf does the actually writing to the file More...
  CRef< CPdfCGlRenderPdf::GetPdf ()   virtual bool  CGlRenderPdf::IsSimplified () const   virtual bool  CGlRenderPdf::IsPrinterFriendly () const   virtual void  CGlRenderPdf::SetIsGreyscale (bool b)   virtual ERenderTarget  CGlRenderPdf::GetApi ()   Overridden in subclasses to return the supported rendering target. More...
  virtual void  CGlRenderPdf::Hint (GLenum, GLenum)   virtual void  CGlRenderPdf::Render (CGlPane &pane, CGlModel2D *model)   Specialized for models - which are just collections of buffers. More...
  virtual void  CGlRenderPdf::Vertex3f (GLfloat x, GLfloat y, GLfloat z)   Add a vertex and decompose quads into tris if needed. More...
  virtual void  CGlRenderPdf::BeginText (const CGlTextureFont *font, const CRgbaColor &color)   Set OpenGL state needed for writing text (call before DrawText) More...
  virtual void  CGlRenderPdf::BeginText (const CGlTextureFont *font)   Same as above, but get color from m_RenderNode.m_State. More...
  virtual void  CGlRenderPdf::EndText ()   Pops matrices and attributes after writing text. More...
  virtual void  CGlRenderPdf::WriteText (TModelUnit x, TModelUnit y, const char *text, TModelUnit rotate_degrees=0.0)   Write text at specified model coords. More...
  virtual void  CGlRenderPdf::WriteText (TModelUnit x, TModelUnit y, TModelUnit width, TModelUnit height, const char *text, CGlTextureFont::TAlign align=CGlTextureFont::eAlign_Center, CGlTextureFont::ETruncate trunc=CGlTextureFont::eTruncate_Ellipsis, TModelUnit rotate_degrees=0.0f)   Write text at specified model coords inside box defined by (x,y,width,height) with specified alignment, truncation and rotation. More...
  virtual void  CGlRenderPdf::Viewport (GLint x, GLint y, GLsizei width, GLsizei height)   void  CGlRenderPdf::GetScreenSize (int &width, int &height) const   PDF only - get size of pdf 'window' (pagesize) More...
  virtual void  CGlRenderPdf::x_RenderBuffer (CGlVboNode *node)   Send the current buffer to the pdf library for rendering. More...
  virtual bool  CSVGRenderer::IsSimplified () const   void  CSVGRenderer::SetSimplified (bool simplified=true)   virtual bool  CSVGRenderer::IsPrinterFriendly () const   virtual void  CSVGRenderer::SetIsGreyscale (bool b)   virtual ERenderTarget  CSVGRenderer::GetApi ()   Overridden in subclasses to return the supported rendering target. More...
  virtual void  CSVGRenderer::Hint (GLenum, GLenum)   virtual void  CSVGRenderer::Initialize (const TVPRect &viewport)   virtual void  CSVGRenderer::Finalize ()   virtual void  CSVGRenderer::Viewport (GLint x, GLint y, GLsizei width, GLsizei height)   virtual void  CSVGRenderer::Ortho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearVal, GLdouble farVal)   virtual void  CSVGRenderer::BeginText (const CGlTextureFont *font, const CRgbaColor &color)   Set OpenGL state needed for writing text (call before DrawText) More...
  virtual void  CSVGRenderer::BeginText (const CGlTextureFont *font)   Same as above, but get color from m_RenderNode.m_State. More...
  virtual void  CSVGRenderer::EndText ()   Pops matrices and attributes after writing text. More...
  virtual void  CSVGRenderer::WriteText (TModelUnit x, TModelUnit y, const char *text, TModelUnit rotate_degrees=0.0)   Write text at specified model coords. More...
  virtual void  CSVGRenderer::WriteText (TModelUnit x, TModelUnit y, TModelUnit width, TModelUnit height, const char *text, CGlTextureFont::TAlign align=CGlTextureFont::eAlign_Center, CGlTextureFont::ETruncate trunc=CGlTextureFont::eTruncate_Ellipsis, TModelUnit rotate_degrees=0.0f)   Write text at specified model coords inside box defined by (x,y,width,height) with specified alignment, truncation and rotation. More...
  void  CSVGRenderer::Write (CNcbiOstream &ostrm)   virtual void  CSVGRenderer::BeginClippingRect (GLint x, GLint y, GLsizei width, GLsizei height)   virtual void  CSVGRenderer::EndClippingRect ()   virtual void  CSVGRenderer::x_RenderBuffer (CGlVboNode *node)   void  CSVGRenderer::x_PrintLineBuffer (CGlVboNode &node)   void  CSVGRenderer::x_PrintPointBuffer (CGlVboNode &node)   void  CSVGRenderer::x_PrintTriBuffer (CGlVboNode &node)   void  CSVGRenderer::x_PrintQuadBuffer (CGlVboNode &node)   void  CSVGRenderer::x_ProjectVertex (CVect2< float > &vertex)   void  CSVGRenderer::x_ProjectVertices (vector< CVect2< float >> &vertices)   string  CSVGRenderer::x_PolygonStippleToPattern (const GLubyte *stipple, const CRgbaColor &fill_rgba_color)   string  CSVGRenderer::x_LinearGradient (std::vector< CRgbaColor > const &colors)   string  CSVGRenderer::x_ClippingRect (GLint x, GLint y, GLsizei width, GLsizei height)   void  CSVGRenderer::x_GetGradientColors (vector< CVect2< float >> const &vertices, vector< CRgbaColor > const &colors, vector< CRgbaColor > &gradient)   void  CSVGRenderer::x_GetLineStyle (CGlVboNode &node, GLushort &pattern, GLint &factor, double &width, svg::Stroke::ELineCapStyle &lcap, svg::Stroke::ELineJoinStyle &ljoin)   ◆ BeginClippingRect() void CSVGRenderer::BeginClippingRect ( GLint  x, GLint  y, GLsizei  width, GLsizei  height  ) virtual ◆ BeginText() [1/4]

Same as above, but get color from m_RenderNode.m_State.

Reimplemented from CRenderCommon.

Definition at line 139 of file glrenderpdf.cpp.

References CPdf::BeginContent(), CPdf::ePdfText, CGlState::GetColor(), CGlRenderNode::GetState(), LOG_POST, CRenderCommon::m_CurrentFont, CGlRenderPdf::m_Pdf, CRenderCommon::m_RenderNode, CRenderCommon::m_TextColor, CRenderCommon::m_Viewport, NULL, CPdfObject::PushGraphicsState(), and CPdfObject::SetClipBox().

◆ BeginText() [2/4] ◆ BeginText() [3/4]

Set OpenGL state needed for writing text (call before DrawText)

Reimplemented from CRenderCommon.

Definition at line 123 of file glrenderpdf.cpp.

References CPdf::BeginContent(), color, CPdf::ePdfText, LOG_POST, CRenderCommon::m_CurrentFont, CGlRenderPdf::m_Pdf, CRenderCommon::m_TextColor, CRenderCommon::m_Viewport, NULL, CPdfObject::PushGraphicsState(), and CPdfObject::SetClipBox().

◆ BeginText() [4/4] ◆ CGlRenderPdf() ◆ EndClippingRect() void CSVGRenderer::EndClippingRect ( ) virtual ◆ EndText() [1/2] void CGlRenderPdf::EndText ( ) virtual ◆ EndText() [2/2] void CSVGRenderer::EndText ( ) virtual ◆ Finalize() void CSVGRenderer::Finalize ( void  ) virtual ◆ GetApi() [1/2] ◆ GetApi() [2/2] ◆ GetPdf() ◆ GetScreenSize() void CGlRenderPdf::GetScreenSize ( intwidth, intheight  ) const ◆ Hint() [1/2] virtual void CGlRenderPdf::Hint ( GLenum  , GLenum    ) inlinevirtual ◆ Hint() [2/2] virtual void CSVGRenderer::Hint ( GLenum  , GLenum    ) inlinevirtual ◆ Initialize() ◆ IsPrinterFriendly() [1/2] virtual bool CGlRenderPdf::IsPrinterFriendly ( ) const inlinevirtual ◆ IsPrinterFriendly() [2/2] virtual bool CSVGRenderer::IsPrinterFriendly ( ) const inlinevirtual ◆ IsSimplified() [1/2] bool CGlRenderPdf::IsSimplified ( ) const virtual ◆ IsSimplified() [2/2] virtual bool CSVGRenderer::IsSimplified ( ) const inlinevirtual ◆ Ortho() void CSVGRenderer::Ortho ( GLdouble  left, GLdouble  right, GLdouble  bottom, GLdouble  top, GLdouble  nearVal, GLdouble  farVal  ) virtual ◆ Render() ◆ SetIsGreyscale() [1/2] void CGlRenderPdf::SetIsGreyscale ( bool  b ) virtual ◆ SetIsGreyscale() [2/2] virtual void CSVGRenderer::SetIsGreyscale ( bool  b ) inlinevirtual ◆ SetPdf() void CGlRenderPdf::SetPdf ( CRef< CPdf > &  pdf ) inline ◆ SetSimplified() void CSVGRenderer::SetSimplified ( bool  simplified = true ) inline ◆ Vertex3f() void CGlRenderPdf::Vertex3f ( GLfloat  x, GLfloat  y, GLfloat  z  ) virtual

Add a vertex and decompose quads into tris if needed.

Reimplemented from CRenderCommon.

Definition at line 70 of file glrenderpdf.cpp.

References IGlState::eGouraud, Error(), CGlState::GetPdfShadeStyle(), CGlState::GetPolygonMode(), CGlState::GetShadeModel(), LOG_POST, CRenderCommon::m_ColorBuffer, CRenderCommon::m_CurrentMode, CRenderCommon::m_State, CRenderCommon::m_TexCoord2DBuffer1, CRenderCommon::m_VertexBuffer, and CRenderCommon::x_SyncAttribs().

◆ Viewport() [1/2] void CGlRenderPdf::Viewport ( GLint  x, GLint  y, GLsizei  width, GLsizei  height  ) virtual ◆ Viewport() [2/2] void CSVGRenderer::Viewport ( GLint  x, GLint  y, GLsizei  width, GLsizei  height  ) virtual ◆ Write() ◆ WriteText() [1/4]

Write text at specified model coords.

Reimplemented from CRenderCommon.

Definition at line 167 of file glrenderpdf.cpp.

References CGlTextureFont::GetFontFace(), CPdf::GetFontHandler(), CGlTextureFont::GetFontSize(), CRenderVector::GetModelViewMatrix(), CRenderVector::GetProjectionMatrix(), gluProjectX(), LOG_POST, CRenderCommon::m_CurrentFont, CGlRenderPdf::m_Pdf, CRenderCommon::m_TextColor, CRenderCommon::m_Viewport, NULL, CPdf::PrintText(), text(), CVect2< T >::X(), and CVect2< T >::Y().

◆ WriteText() [2/4]

Write text at specified model coords.

Reimplemented from CRenderCommon.

Definition at line 129 of file svg_renderer.cpp.

References _ASSERT, Error(), LOG_POST, CSVGRenderer::m_ClippingId, CRenderCommon::m_CurrentFont, CSVGRenderer::m_Height, CSVGRenderer::m_SVG, CRenderCommon::m_TextColor, NULL, origin, CGlTextureFont::ProjectVertex(), text(), and NStr::XmlEncode().

◆ WriteText() [3/4]

Write text at specified model coords inside box defined by (x,y,width,height) with specified alignment, truncation and rotation.

Reimplemented from CRenderCommon.

Definition at line 201 of file glrenderpdf.cpp.

References CGlTextureFont::BeginText(), CGlTextureFont::EndText(), CPdf::GetCurrentContent(), CGlTextureFont::GetFontFace(), CPdf::GetFontHandler(), CGlTextureFont::GetFontSize(), CGlTextureFont::GetTextXform(), LOG_POST, CRenderCommon::m_CurrentFont, CGlRenderPdf::m_Pdf, CRenderCommon::m_TextColor, CRenderCommon::m_Viewport, NULL, CPdf::PrintText(), CPdfObject::SetFillColor(), text(), and trunc.

◆ WriteText() [4/4]

Write text at specified model coords inside box defined by (x,y,width,height) with specified alignment, truncation and rotation.

Reimplemented from CRenderCommon.

Definition at line 147 of file svg_renderer.cpp.

References _ASSERT, IGlFont::eAlign_HCenter, IGlFont::eAlign_Right, IGlFont::eAlign_VCenter, Error(), IGlFont::eTruncate_None, LOG_POST, CSVGRenderer::m_ClippingId, CRenderCommon::m_CurrentFont, CSVGRenderer::m_Height, CSVGRenderer::m_SVG, CRenderCommon::m_TextColor, NULL, origin, CGlTextureFont::ProjectVertex(), text(), CGlTextureFont::TextHeight(), trunc, CGlTextureFont::Truncate(), and NStr::XmlEncode().

◆ x_ClippingRect() string CSVGRenderer::x_ClippingRect ( GLint  x, GLint  y, GLsizei  width, GLsizei  height  ) protected ◆ x_GetGradientColors() ◆ x_GetLineStyle() void CSVGRenderer::x_GetLineStyle ( CGlVboNodenode, GLushort &  pattern, GLint &  factor, double &  width, svg::Stroke::ELineCapStyle &  lcap, svg::Stroke::ELineJoinStyle &  ljoin  ) inlineprotected

Definition at line 701 of file svg_renderer.cpp.

References CGlState::GetLineCapStyle(), CGlState::GetLineJoinStyle(), CGlState::GetLineStipple(), CGlState::GetLineWidth(), CGlRenderNode::GetState(), CGlState::IsEnabled(), CGlState::LineCapStyleSet(), CGlState::LineJoinStyleSet(), CGlState::LineStippleSet(), and CGlState::LineWidthSet().

Referenced by CSVGRenderer::x_PrintLineBuffer(), CSVGRenderer::x_PrintQuadBuffer(), and CSVGRenderer::x_PrintTriBuffer().

◆ x_LinearGradient() ◆ x_PolygonStippleToPattern()

Definition at line 561 of file svg_renderer.cpp.

References CStringUtil::base64Encode(), color, CImage::eAlpha, CImage::eBlue, CImage::eGreen, map_checker< Container >::end(), CImageIO::ePng, CImage::eRed, map_checker< Container >::find(), CRgbaColor::GetAlphaUC(), CRgbaColor::GetBlueUC(), CRgbaColor::GetGreenUC(), CRgbaColor::GetRedUC(), i, CSVGRenderer::m_PolygonStipplePatterns, CSVGRenderer::m_SVG, md5(), NStr::NumericToString(), map_checker< Container >::size(), CRgbaColor::ToString(), and CImageIO::WriteImage().

Referenced by CSVGRenderer::x_PrintTriBuffer().

◆ x_PrintLineBuffer() void CSVGRenderer::x_PrintLineBuffer ( CGlVboNodenode ) protected

Definition at line 232 of file svg_renderer.cpp.

References _ASSERT, colors, CGlVboNode::Get2DVertexBuffer(), CGlVboNode::GetColors(), CGlVboNode::GetDefaultColor(), CGlVboNode::GetDrawMode(), i, CSVGRenderer::m_ClippingId, CSVGRenderer::m_IsGreyscale, CSVGRenderer::m_SVG, CSVGRenderer::x_GetLineStyle(), and CSVGRenderer::x_ProjectVertices().

Referenced by CSVGRenderer::x_RenderBuffer().

◆ x_PrintPointBuffer() void CSVGRenderer::x_PrintPointBuffer ( CGlVboNodenode ) protected

Definition at line 278 of file svg_renderer.cpp.

References _ASSERT, colors, CGlVboNode::Get2DVertexBuffer(), CGlVboNode::GetColors(), CGlVboNode::GetDefaultColor(), CGlVboNode::GetDrawMode(), CGlState::GetPointSize(), CGlRenderNode::GetState(), i, CSVGRenderer::m_ClippingId, CSVGRenderer::m_IsGreyscale, CSVGRenderer::m_SVG, CGlState::PointSizeSet(), and CSVGRenderer::x_ProjectVertices().

Referenced by CSVGRenderer::x_RenderBuffer().

◆ x_PrintQuadBuffer() void CSVGRenderer::x_PrintQuadBuffer ( CGlVboNodenode ) protected

Definition at line 477 of file svg_renderer.cpp.

References _ASSERT, colors, CGlVboNode::Get2DVertexBuffer(), CGlVboNode::GetColors(), CGlVboNode::GetDefaultColor(), CGlState::GetPolygonMode(), CGlRenderNode::GetState(), i, CSVGRenderer::m_ClippingId, CSVGRenderer::m_IsGreyscale, CSVGRenderer::m_SVG, CSVGRenderer::x_GetLineStyle(), and CSVGRenderer::x_ProjectVertices().

Referenced by CSVGRenderer::x_RenderBuffer().

◆ x_PrintTriBuffer() void CSVGRenderer::x_PrintTriBuffer ( CGlVboNodenode ) protected

Definition at line 308 of file svg_renderer.cpp.

References _ASSERT, CTriPerimeter::AddTri(), CTriPerimeter::Clear(), colors, CGlVboNode::Get2DVertexBuffer(), CGlVboNode::GetColors(), CGlVboNode::GetDefaultColor(), CGlVboNode::GetDrawMode(), CTriPerimeter::GetPerimiter(), CGlState::GetPolygonMode(), CGlState::GetPolygonStipple(), CGlState::GetShadeModel(), CGlRenderNode::GetState(), i, CGlState::IsEnabled(), CSVGRenderer::m_ClippingId, CSVGRenderer::m_IsGreyscale, CSVGRenderer::m_SVG, CGlState::PolygonStippleSet(), CSVGRenderer::x_GetGradientColors(), CSVGRenderer::x_GetLineStyle(), CSVGRenderer::x_LinearGradient(), CSVGRenderer::x_PolygonStippleToPattern(), and CSVGRenderer::x_ProjectVertices().

Referenced by CSVGRenderer::x_RenderBuffer().

◆ x_ProjectVertex() void CSVGRenderer::x_ProjectVertex ( CVect2< float > &  vertex ) inlineprotected ◆ x_ProjectVertices() void CSVGRenderer::x_ProjectVertices ( vector< CVect2< float >> &  vertices ) inlineprotected ◆ x_RenderBuffer() [1/2] void CGlRenderPdf::x_RenderBuffer ( CGlVboNodenode ) protectedvirtual ◆ x_RenderBuffer() [2/2] void CSVGRenderer::x_RenderBuffer ( CGlVboNodenode ) protectedvirtual

Reimplemented from CRenderCommon.

Definition at line 201 of file svg_renderer.cpp.

References CMatrix4< T >::GetData(), CGlVboNode::GetDrawMode(), CGlRenderNode::GetPositions(), CGlRenderNode::GetTransformedPosition(), CRenderVector::LoadMatrixf(), CRenderVector::MatrixMode(), CRenderVector::PopMatrix(), CRenderVector::PushMatrix(), ncbi::grid::netcache::search::fields::size, CMatrix4< T >::Transpose(), CSVGRenderer::x_PrintLineBuffer(), CSVGRenderer::x_PrintPointBuffer(), CSVGRenderer::x_PrintQuadBuffer(), and CSVGRenderer::x_PrintTriBuffer().

◆ ~CGlRenderPdf() virtual CGlRenderPdf::~CGlRenderPdf ( ) inlinevirtual

Definition at line 77 of file glrenderpdf.hpp.

◆ m_ClippingId ◆ m_ClippingRects ◆ m_ClippingStack ◆ m_Height int CSVGRenderer::m_Height private ◆ m_IsGreyscale ◆ m_LinearGradients ◆ m_Pdf ◆ m_PolygonStipplePatterns ◆ m_Simplified ◆ m_SVG unique_ptr<svg::SVG> CSVGRenderer::m_SVG private

Definition at line 122 of file svg_renderer.hpp.

Referenced by CSVGRenderer::Finalize(), CSVGRenderer::Initialize(), CSVGRenderer::Write(), CSVGRenderer::WriteText(), CSVGRenderer::x_ClippingRect(), CSVGRenderer::x_LinearGradient(), CSVGRenderer::x_PolygonStippleToPattern(), CSVGRenderer::x_PrintLineBuffer(), CSVGRenderer::x_PrintPointBuffer(), CSVGRenderer::x_PrintQuadBuffer(), and CSVGRenderer::x_PrintTriBuffer().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4