| 
    KiCad PCB EDA Suite
    
   | 
 
#include <glyph.h>
  
Public Member Functions | |
| STROKE_GLYPH () | |
| STROKE_GLYPH (const STROKE_GLYPH &aGlyph) | |
| bool | IsStroke () const override | 
| void | AddPoint (const VECTOR2D &aPoint) | 
| void | RaisePen () | 
| void | Finalize () | 
| BOX2D | BoundingBox () override | 
| void | SetBoundingBox (const BOX2D &bbox) | 
| std::unique_ptr< GLYPH > | Transform (const VECTOR2D &aGlyphSize, const VECTOR2I &aOffset, double aTilt, const EDA_ANGLE &aAngle, bool aMirror, const VECTOR2I &aOrigin) | 
| void | Move (const VECTOR2I &aOffset) | 
| virtual bool | IsOutline () const | 
Public Attributes | |
| T | elements | 
| STL member.   | |
Private Attributes | |
| bool | m_penIsDown = false | 
| BOX2D | m_boundingBox | 
      
  | 
  inline | 
Definition at line 100 of file glyph.h.
Referenced by STROKE_GLYPH().
| STROKE_GLYPH::STROKE_GLYPH | ( | const STROKE_GLYPH & | aGlyph | ) | 
Definition at line 28 of file glyph.cpp.
References m_boundingBox, and STROKE_GLYPH().
| void STROKE_GLYPH::AddPoint | ( | const VECTOR2D & | aPoint | ) | 
      
  | 
  inlineoverridevirtual | 
Implements KIFONT::GLYPH.
Definition at line 111 of file glyph.h.
References m_boundingBox.
Referenced by KIFONT::STROKE_FONT::GetTextAsGlyphs().
| void STROKE_GLYPH::Finalize | ( | ) | 
      
  | 
  inlinevirtualinherited | 
Reimplemented in KIFONT::OUTLINE_GLYPH.
Definition at line 50 of file glyph.h.
Referenced by CALLBACK_GAL::DrawGlyph(), KIGFX::CAIRO_GAL_BASE::DrawGlyph(), and KIGFX::OPENGL_GAL::DrawGlyph().
      
  | 
  inlineoverridevirtual | 
Reimplemented from KIFONT::GLYPH.
| void STROKE_GLYPH::Move | ( | const VECTOR2I & | aOffset | ) | 
Definition at line 114 of file glyph.cpp.
References m_boundingBox.
Referenced by SCH_FIELD::GetRenderCache().
| void STROKE_GLYPH::RaisePen | ( | ) | 
Definition at line 52 of file glyph.cpp.
References m_penIsDown.
      
  | 
  inline | 
Definition at line 112 of file glyph.h.
References m_boundingBox.
| std::unique_ptr< GLYPH > STROKE_GLYPH::Transform | ( | const VECTOR2D & | aGlyphSize, | 
| const VECTOR2I & | aOffset, | ||
| double | aTilt, | ||
| const EDA_ANGLE & | aAngle, | ||
| bool | aMirror, | ||
| const VECTOR2I & | aOrigin ) | 
Definition at line 74 of file glyph.cpp.
References end, EDA_ANGLE::IsZero(), RotatePoint(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by drawMarkup(), and KIFONT::STROKE_FONT::GetTextAsGlyphs().
      
  | 
  private | 
Definition at line 122 of file glyph.h.
Referenced by BoundingBox(), Move(), SetBoundingBox(), and STROKE_GLYPH().
      
  | 
  private | 
Definition at line 121 of file glyph.h.
Referenced by AddPoint(), and RaisePen().