| 
    KiCad PCB EDA Suite
    
   | 
 
Go to the source code of this file.
Enumerations | |
| enum class | FLIP_DIRECTION { LEFT_RIGHT , TOP_BOTTOM } | 
Functions | |
| template<typename T> | |
| constexpr T | MIRRORVAL (T aPoint, T aMirrorRef) | 
| Returns the mirror of aPoint relative to the aMirrorRef.   | |
| template<typename T> | |
| constexpr void | MIRROR (T &aPoint, const T &aMirrorRef) | 
| Updates aPoint with the mirror of aPoint relative to the aMirrorRef.   | |
| template<typename VT> | |
| constexpr void | MIRROR (VT &aPoint, const VT &aMirrorRef, FLIP_DIRECTION aFlipDirection) | 
| Updates aPoint with the mirror of aPoint relative to the aMirrorRef, in the specified direction.   | |
      
  | 
  strong | 
Updates aPoint with the mirror of aPoint relative to the aMirrorRef.
Definition at line 45 of file mirror.h.
References MIRRORVAL(), and T.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::applyTransform(), PCB_GENERATOR::baseMirror(), FOOTPRINT::Flip(), PAD::Flip(), PCB_BARCODE::Flip(), PCB_POINT::Flip(), REFERENCE_IMAGE::Flip(), EDA_SHAPE::flip(), MIRROR(), PCB_ARC::Mirror(), PCB_DIMENSION_BASE::Mirror(), PCB_TRACK::Mirror(), SCH_BUS_ENTRY_BASE::MirrorHorizontally(), SCH_JUNCTION::MirrorHorizontally(), SCH_LINE::MirrorHorizontally(), SCH_NO_CONNECT::MirrorHorizontally(), SCH_SHEET::MirrorHorizontally(), SCH_SYMBOL::MirrorHorizontally(), mirrorPad(), SCH_BUS_ENTRY_BASE::MirrorVertically(), SCH_JUNCTION::MirrorVertically(), SCH_LINE::MirrorVertically(), SCH_NO_CONNECT::MirrorVertically(), SCH_SHEET::MirrorVertically(), SCH_SYMBOL::MirrorVertically(), and PCB_IO_EASYEDAPRO_PARSER::ParseBoard().
      
  | 
  constexpr | 
Updates aPoint with the mirror of aPoint relative to the aMirrorRef, in the specified direction.
Definition at line 56 of file mirror.h.
References LEFT_RIGHT, and MIRROR().
Returns the mirror of aPoint relative to the aMirrorRef.
Definition at line 36 of file mirror.h.
References T.
Referenced by PCB_TEXT::Flip(), MIRROR(), PCB_TEXT::Mirror(), SCH_DIRECTIVE_LABEL::MirrorHorizontally(), SCH_TEXT::MirrorHorizontally(), SCH_DIRECTIVE_LABEL::MirrorVertically(), and SCH_TEXT::MirrorVertically().