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/classCPdfObject.html below:

NCBI C++ ToolKit: CPdfObject Class Reference

Search Toolkit Book for CPdfObject

#include <gui/print/pdf_object.hpp>

  CPdfObject (unsigned int obj_num, unsigned int generation=0, bool allowCompression=false)   CNcbiOstreamGetWriteBuffer (void)   void  PushGraphicsState ()   gs More...
  void  PopGraphicsState ()   void  SetGraphicsState (const string &state)   void  SetColor (const CRgbaColor &c)   RG. More...
  void  SetFillColor (const CRgbaColor &c)   rg More...
  void  SetLineWidth (float w)   void  SetLineCapStyle (int cap_style)   void  SetLineJoinStyle (int join_style)   void  SetLineDashStyle (int factor, short pattern)   void  Line (CVect2< float > &p1, CVect2< float > &p2)   void  SetClipBox (int x, int y, int width, int height)   void  Text (CRef< CPdfFontHandler > font_handler, EFontFace face, float font_size, CVect2< float > &p, const char *txt)   void  Text (CRef< CPdfFontHandler > font_handler, EFontFace face, float font_size, CMatrix3< double > &mat, const char *txt)   void  StartTris (EPdfFilter filter, EBitCount bits_per_coord, int range_minx, int range_maxx, int range_miny, int range_maxy)   void  Tri (CVect2< float > &p1, CVect2< float > &p2, CVect2< float > &p3)   void  Poly (vector< CVect2< float > > &verts)   void  Tri (int edge_flag, CVect2< float > p1, const CRgbaColor &c1, CVect2< float > p2, const CRgbaColor &c2, CVect2< float > p3, const CRgbaColor &c3)   void  Tri (int edge_flag, CVect2< float > p1, const CRgbaColor &c1)   void  EndTris ()   void  Quad (CVect2< float > &p1, CVect2< float > &p2, CVect2< float > &p3, CVect2< float > &p4)   unsigned int  GetObjNum (void) const   unsigned int  GetGeneration (void) const   virtual string  GetSeparator (void) const   virtual void  PrintTo (CNcbiOstream &stream) const   CPdfObjectoperator<< (CPdfObject &(*pf)(CPdfObject &))   CPdfDictionaryGetDictionary (void)   TPdfEltRefoperator[] (const string &key)     CObject (void)   Constructor. More...
    CObject (const CObject &src)   Copy constructor. More...
  virtual  ~CObject (void)   Destructor. More...
  CObjectoperator= (const CObject &src) THROWS_NONE   Assignment operator. More...
  bool  CanBeDeleted (void) const THROWS_NONE   Check if object can be deleted. More...
  bool  IsAllocatedInPool (void) const THROWS_NONE   Check if object is allocated in memory pool (not system heap) More...
  bool  Referenced (void) const THROWS_NONE   Check if object is referenced. More...
  bool  ReferencedOnlyOnce (void) const THROWS_NONE   Check if object is referenced only once. More...
  void  AddReference (void) const   Add reference to object. More...
  void  RemoveReference (void) const   Remove reference to object. More...
  void  ReleaseReference (void) const   Remove reference without deleting object. More...
  virtual void  DoNotDeleteThisObject (void)   Mark this object as not allocated in heap – do not delete this object. More...
  virtual void  DoDeleteThisObject (void)   Mark this object as allocated in heap – object can be deleted. More...
  void *  operator new (size_t size)   Define new operator for memory allocation. More...
  void *  operator new[] (size_t size)   Define new[] operator for 'array' memory allocation. More...
  void  operator delete (void *ptr)   Define delete operator for memory deallocation. More...
  void  operator delete[] (void *ptr)   Define delete[] operator for memory deallocation. More...
  void *  operator new (size_t size, void *place)   Define new operator. More...
  void  operator delete (void *ptr, void *place)   Define delete operator. More...
  void *  operator new (size_t size, CObjectMemoryPool *place)   Define new operator using memory pool. More...
  void  operator delete (void *ptr, CObjectMemoryPool *place)   Define delete operator. More...
  virtual void  DebugDump (CDebugDumpContext ddc, unsigned int depth) const   Define method for dumping debug information. More...
    CDebugDumpable (void)   virtual  ~CDebugDumpable (void)   void  DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const   void  DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const   void  DumpToConsole (void) const  

Definition at line 50 of file pdf_object.hpp.

◆ EFontFace ◆ TPdfEltRef ◆ EBitCount Enumerator e8Bit  e16Bit  e24Bit  e32Bit 

Definition at line 53 of file pdf_object.hpp.

◆ EPdfFilter ◆ CPdfObject() ◆ EndTris() void CPdfObject::EndTris ( ) ◆ GetDictionary() ◆ GetGeneration() unsigned int CPdfObject::GetGeneration ( void  ) const ◆ GetObjNum() unsigned int CPdfObject::GetObjNum ( void  ) const ◆ GetSeparator() string CPdfObject::GetSeparator ( void  ) const virtual ◆ GetWriteBuffer() ◆ Line() void CPdfObject::Line ( CVect2< float > &  p1, CVect2< float > &  p2  ) ◆ operator<<() ◆ operator[]() ◆ Poly() void CPdfObject::Poly ( vector< CVect2< float > > &  verts ) ◆ PopGraphicsState() void CPdfObject::PopGraphicsState ( ) ◆ PrintTo() ◆ PushGraphicsState() void CPdfObject::PushGraphicsState ( ) ◆ Quad() ◆ SetClipBox() void CPdfObject::SetClipBox ( int  x, int  y, int  width, int  height  ) ◆ SetColor() ◆ SetFillColor() ◆ SetGraphicsState() void CPdfObject::SetGraphicsState ( const stringstate ) ◆ SetLineCapStyle() void CPdfObject::SetLineCapStyle ( int  cap_style ) ◆ SetLineDashStyle() void CPdfObject::SetLineDashStyle ( int  factor, short  pattern  ) ◆ SetLineJoinStyle() void CPdfObject::SetLineJoinStyle ( int  join_style ) ◆ SetLineWidth() void CPdfObject::SetLineWidth ( float  w ) ◆ StartTris()

Definition at line 305 of file pdf_object.cpp.

References eASCIIHex, int, NStr::Int8ToString(), m_BitsPerCoord, m_PdfFilter, m_PositionMultX, m_PositionMultY, m_RangeMaxX, m_RangeMaxY, m_RangeMinX, and m_RangeMinY.

Referenced by CPdf::AddShadedTris().

◆ Text() [1/2] ◆ Text() [2/2] ◆ Tri() [1/3] ◆ Tri() [2/3]

Definition at line 446 of file pdf_object.cpp.

References eNone, CRgbaColor::GetBlueUC(), CRgbaColor::GetGreenUC(), CRgbaColor::GetRedUC(), NStr::IntToString(), m_Buffer, m_PdfFilter, m_PositionMultX, m_PositionMultY, m_RangeMinX, m_RangeMinY, pdfeol(), CVect2< T >::X(), x_GetHex(), and CVect2< T >::Y().

◆ Tri() [3/3]

Definition at line 381 of file pdf_object.cpp.

References eNone, CRgbaColor::GetBlueUC(), CRgbaColor::GetGreenUC(), CRgbaColor::GetRedUC(), NStr::IntToString(), m_Buffer, m_PdfFilter, m_PositionMultX, m_PositionMultY, m_RangeMinX, m_RangeMinY, pdfeol(), CVect2< T >::X(), x_GetHex(), and CVect2< T >::Y().

◆ x_GetHex() [1/2] string CPdfObject::x_GetHex ( double  f ) protected ◆ x_GetHex() [2/2] string CPdfObject::x_GetHex ( double  f, int  bits  ) protected ◆ x_PrintTo()

Definition at line 499 of file pdf_object.cpp.

References compress, CZipCompression::CompressBuffer(), AutoPtr< X, Del >::get(), GetOssSize(), l(), len, m_AllowCompression, m_Buffer, m_Dictionary, pdfeol(), AutoPtr< X, Del >::reset(), CAscii85::s_Encode(), str(), and string.

Referenced by PrintTo(), and CPdfTrailer::PrintTo().

◆ m_AllowCompression bool CPdfObject::m_AllowCompression private ◆ m_BitsPerCoord ◆ m_Buffer

Definition at line 145 of file pdf_object.hpp.

Referenced by EndTris(), GetWriteBuffer(), Line(), Poly(), PopGraphicsState(), PushGraphicsState(), Quad(), SetClipBox(), SetColor(), SetFillColor(), SetGraphicsState(), SetLineCapStyle(), SetLineDashStyle(), SetLineJoinStyle(), SetLineWidth(), Text(), Tri(), and x_PrintTo().

◆ m_Dictionary ◆ m_DrawColor ◆ m_DrawColorSet bool CPdfObject::m_DrawColorSet private ◆ m_FillColor ◆ m_FillColorSet bool CPdfObject::m_FillColorSet private ◆ m_FontName ◆ m_FontSize float CPdfObject::m_FontSize private ◆ m_Generation unsigned int CPdfObject::m_Generation private ◆ m_ObjNum unsigned int CPdfObject::m_ObjNum private ◆ m_PdfFilter ◆ m_PositionMultX double CPdfObject::m_PositionMultX private ◆ m_PositionMultY double CPdfObject::m_PositionMultY private ◆ m_RangeMaxX int CPdfObject::m_RangeMaxX private ◆ m_RangeMaxY int CPdfObject::m_RangeMaxY private ◆ m_RangeMinX int CPdfObject::m_RangeMinX private ◆ m_RangeMinY int CPdfObject::m_RangeMinY private

The documentation for this class was generated from the following files:


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