27#ifndef __DRAWING_TOOL_H 
   28#define __DRAWING_TOOL_H 
   47class STATUS_MIN_MAX_POPUP;
 
   97                                                       bool aDrawNow, 
VECTOR2I* tablesize );
 
  221                                     std::vector<BOARD_ITEM*>& aItems,
 
  222                                     std::vector<BOARD_ITEM*>& aPreview, 
LSET* aLayers );
 
  270                    std::optional<VECTOR2D> aStartingPoint,
 
  271                    std::stack<PCB_SHAPE*>* aCommittedGraphics );
 
  282                  std::optional<VECTOR2D> aStartingPoint );
 
  343        typedef std::numeric_limits<int> coord_limits;
 
  344        const int                        guardValue = 1;
 
  351        if( xDiff > maxDiff )
 
  353        if( yDiff > maxDiff )
 
  356        if( xDiff < -maxDiff )
 
  358        if( yDiff < -maxDiff )
 
  361        return aOrigin + 
VECTOR2I( 
int( xDiff ), 
int( yDiff ) );
 
 
  373        typedef std::numeric_limits<int> coord_limits;
 
  374        const int                        guardValue = 10;
 
  379        double maxRadius = coord_limits::max() / 2 - guardValue;
 
  380        double radius = std::hypot( xDiff, yDiff );
 
  384            double scaleFactor = maxRadius / 
radius;
 
  390        return aOrigin + 
VECTOR2I( 
int( xDiff ), 
int( yDiff ) );
 
 
 
constexpr BOX2I KiROUND(const BOX2D &aBoxD)
 
A base class derived from BOARD_ITEM for items that can be connected and have a net,...
 
Information pertinent to a Pcbnew printed circuit board.
 
An interface for classes handling user events controlling the view behavior such as zooming,...
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
LSET is a set of PCB_LAYER_IDs.
 
Common, abstract interface for edit frames.
 
Class that handles the drawing of a polygon, including management of last corner deletion and drawing...
 
Simple container to manage line stroke parameters.
 
VECTOR2_TRAITS< int32_t >::extended_type extended_type
 
Handle a list of polygons defining a copper zone.
 
PCB_LAYER_ID
A quick note on layer IDs:
 
The Cairo implementation of the graphics abstraction layer.
 
std::optional< VECTOR2I > OPT_VECTOR2I
 
VECTOR2< int32_t > VECTOR2I