|
KiCad PCB EDA Suite
|
#include <pcb_textbox.h>
Public Types | |
| enum | COMPARE_FLAGS : int { DRC = 0x01 , INSTANCE_TO_INSTANCE = 0x02 } |
Public Member Functions | |
| PCB_TEXTBOX (BOARD_ITEM *aParent, KICAD_T aType=PCB_TEXTBOX_T) | |
| ~PCB_TEXTBOX () | |
| void | CopyFrom (const BOARD_ITEM *aOther) override |
| bool | IsType (const std::vector< KICAD_T > &aScanTypes) const override |
| Check whether the item is one of the listed types. | |
| void | Serialize (google::protobuf::Any &aContainer) const override |
| Serializes this object to the given Any message. | |
| bool | Deserialize (const google::protobuf::Any &aContainer) override |
| Deserializes the given protobuf message into this object. | |
| void | Serialize (kiapi::board::types::BoardTextBox &aOutput) const |
| bool | Deserialize (const kiapi::board::types::BoardTextBox &aInput) |
| wxString | GetFriendlyName () const override |
| VECTOR2I | GetTopLeft () const override |
| VECTOR2I | GetBotRight () const override |
| std::vector< VECTOR2I > | GetCorners () const override |
| Return 4 corners for a rectangle or rotated rectangle (stored as a poly). | |
| std::vector< VECTOR2I > | GetCornersInSequence (EDA_ANGLE angle) const override |
| void | SetShape (SHAPE_T aShape) override |
| VECTOR2I | GetMinSize () const |
| Return the minimum height needed to contain the textbox's wrapped text content plus margins. | |
| void | SetTop (int aVal) override |
| void | SetLeft (int aVal) override |
| void | SetRight (int aVal) override |
| void | SetBottom (int aVal) override |
| void | StyleFromSettings (const BOARD_DESIGN_SETTINGS &settings, bool aCheckSide) override |
| int | GetLegacyTextMargin () const |
| void | SetMarginLeft (int aLeft) |
| void | SetMarginTop (int aTop) |
| void | SetMarginRight (int aRight) |
| void | SetMarginBottom (int aBottom) |
| int | GetMarginLeft () const |
| int | GetMarginTop () const |
| int | GetMarginRight () const |
| int | GetMarginBottom () const |
| VECTOR2I | GetDrawPos () const override |
| VECTOR2I | GetDrawPos (bool aIsFlipped) const |
| EDA_ANGLE | GetTextAngle () const override |
| void | SetTextAngle (const EDA_ANGLE &aAngle) override |
| const EDA_ANGLE & | GetLibTextAngle () const |
| Text angle in the parent footprint's lib frame, or absolute when not in a footprint. | |
| void | SetLibTextAngle (const EDA_ANGLE &aAngle) |
| wxString | GetShownText (RESOLUTION_CONTEXT aContext, int aDepth=0) const override |
| Return the string actually shown after processing of the base text. | |
| bool | Matches (const EDA_SEARCH_DATA &aSearchData, void *aAuxData) const override |
| Compare the item against the search criteria in aSearchData. | |
| void | Move (const VECTOR2I &aMoveVector) override |
| Move this object. | |
| void | Rotate (const VECTOR2I &aRotCentre, const EDA_ANGLE &aAngle) override |
| Rotate this object. | |
| void | Mirror (const VECTOR2I &aCentre, FLIP_DIRECTION aFlipDirection) override |
| Mirror this object relative to a given horizontal axis the layer is not changed. | |
| void | Flip (const VECTOR2I &aCentre, FLIP_DIRECTION aFlipDirection) override |
| Flip this object, i.e. | |
| void | OnFootprintTransformed () override |
| Hook for items inside a footprint to refresh after the FP transform changes (translate, rotate, flip). | |
| void | OnFootprintRescaled (double aRatioX, double aRatioY, double aLinearFactor, const VECTOR2I &aAnchor, const EDA_ANGLE &aParentRotate) override |
| Apply a parent footprint scale to this item. | |
| VECTOR2I | GetTextSize () const override |
| void | SetTextSize (VECTOR2I aNewSize, bool aEnforceMinTextSize=true) override |
| int | GetTextThickness () const override |
| void | SetTextThickness (int aWidth) override |
| The TextThickness is that set by the user. | |
| void | GetMsgPanelInfo (EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) override |
| Populate aList of MSG_PANEL_ITEM objects with it's internal state for display purposes. | |
| const BOX2I | GetBoundingBox () const override |
| Return the orthogonal bounding box of this object for display purposes. | |
| bool | HitTest (const VECTOR2I &aPosition, int aAccuracy) const override |
| Test if aPosition is inside or on the boundary of this item. | |
| bool | HitTest (const BOX2I &aRect, bool aContained, int aAccuracy=0) const override |
| Test if aRect intersects this item. | |
| bool | HitTest (const SHAPE_LINE_CHAIN &aPoly, bool aContained) const override |
| Test if aPoly intersects this item. | |
| wxString | GetClass () const override |
| Return the class name. | |
| void | TransformTextToPolySet (SHAPE_POLY_SET &aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc) const |
| Function TransformTextToPolySet Convert the text to a polygonSet describing the actual character strokes (one per segment). | |
| void | TransformShapeToPolygon (SHAPE_POLY_SET &aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=false) const override |
| Convert the shape to a closed polygon. | |
| std::shared_ptr< SHAPE > | GetEffectiveShape (PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=FLASHING::DEFAULT, DRC_CONSTRAINT_T aUsage=NULL_CONSTRAINT) const override |
| Make a set of SHAPE objects representing the PCB_SHAPE. | |
| wxString | GetItemDescription (UNITS_PROVIDER *aUnitsProvider, bool aFull) const override |
| Return a user-visible description string of this item. | |
| BITMAPS | GetMenuImage () const override |
| Return a pointer to an image to be used in menus. | |
| double | ViewGetLOD (int aLayer, const KIGFX::VIEW *aView) const override |
| Return the level of detail (LOD) of the item. | |
| std::vector< int > | ViewGetLayers () const override |
| EDA_ITEM * | Clone () const override |
| Tests whether the border is disabled, as configured by the stroke. | |
| bool | IsBorderEnabled () const |
| Disables the border, this is done by changing the stroke internally. | |
| void | SetBorderEnabled (bool enabled) |
| void | SetBorderWidth (const int aSize) |
| int | GetBorderWidth () const |
| double | Similarity (const BOARD_ITEM &aBoardItem) const override |
| Return a measure of how likely the other object is to represent the same object. | |
| bool | operator== (const PCB_TEXTBOX &aOther) const |
| bool | operator== (const BOARD_ITEM &aBoardItem) const override |
| void | Serialize (google::protobuf::Any &aContainer, const EDA_IU_SCALE &aScale) const |
| void | Serialize (kiapi::common::types::GraphicShape &aOutput, const EDA_IU_SCALE &aScale) const |
| bool | Deserialize (const google::protobuf::Any &aContainer, const EDA_IU_SCALE &aScale) |
| bool | Deserialize (const kiapi::common::types::GraphicShape &aInput, const EDA_IU_SCALE &aScale) |
| bool | IsConnected () const override |
| Returns information if the object is derived from BOARD_CONNECTED_ITEM. | |
| void | SetLayer (PCB_LAYER_ID aLayer) override |
| Set the layer this item is on. | |
| PCB_LAYER_ID | GetLayer () const override |
| Return the primary layer this item is on. | |
| bool | IsOnLayer (PCB_LAYER_ID aLayer) const override |
| Test to see if this object is on the given layer. | |
| virtual LSET | GetLayerSet () const override |
| Return a std::bitset of all layers on which the item physically resides. | |
| virtual void | SetLayerSet (const LSET &aLayers) override |
| void | SetPosition (const VECTOR2I &aPos) override |
| VECTOR2I | GetPosition () const override |
| VECTOR2I | GetCenter () const override |
| This defaults to the center of the bounding box if not overridden. | |
| void | BeginEdit (const VECTOR2I &aStartPoint) |
| bool | ContinueEdit (const VECTOR2I &aPosition) |
| void | CalcEdit (const VECTOR2I &aPosition) |
| void | EndEdit (bool aClosed=true) |
| void | SetEditState (int aState) |
| void | SetArcAngleAndEnd (const EDA_ANGLE &aAngle, bool aCheckNegativeAngle=false) |
| void | SetArcAngle (const EDA_ANGLE &aAngle) override |
| std::vector< VECTOR2I > | GetConnectionPoints () const |
| bool | HasLineStroke () const override |
| Check if this item has line stoke properties. | |
| STROKE_PARAMS | GetStroke () const override |
| void | SetStroke (const STROKE_PARAMS &aStroke) override |
| int | GetWidth () const override |
| const VECTOR2I | GetFocusPosition () const override |
| Allows items to return their visual center rather than their anchor. | |
| bool | IsProxyItem () const override |
| void | SetIsProxyItem (bool aIsProxy=true) override |
| void | Normalize () override |
| Perform any normalization required after a user rotate and/or flip. | |
| void | NormalizeForCompare () override |
| Normalize coordinates to compare 2 similar PCB_SHAPES similat to Normalize(), but also normalize SEGMENT end points needed only for graphic comparisons. | |
| void | SetStart (const VECTOR2I &aStart) override |
| void | SetEnd (const VECTOR2I &aEnd) override |
| void | SetWidth (int aWidth) override |
| void | SetLibStrokeWidth (int aWidth) |
| void | SetArcGeometry (const VECTOR2I &aStart, const VECTOR2I &aMid, const VECTOR2I &aEnd) |
| void | SetBezierC1 (const VECTOR2I &aPt) override |
| void | SetBezierC2 (const VECTOR2I &aPt) override |
| void | SetPolyShape (const SHAPE_POLY_SET &aShape) override |
| void | SetEllipseCenter (const VECTOR2I &aPt) override |
| void | SetEllipseMajorRadius (int aR) override |
| void | SetEllipseMinorRadius (int aR) override |
| void | SetEllipseRotation (const EDA_ANGLE &aA) override |
| void | SetEllipseStartAngle (const EDA_ANGLE &aA) override |
| void | SetEllipseEndAngle (const EDA_ANGLE &aA) override |
| VECTOR2I | GetLibraryStart () const |
| VECTOR2I | GetLibraryEnd () const |
| SHAPE_T | GetLibraryShape () const |
| VECTOR2I | GetLibraryEllipseCenter () const |
| int | GetLibraryEllipseMajorRadius () const |
| int | GetLibraryEllipseMinorRadius () const |
| EDA_ANGLE | GetLibraryEllipseRotation () const |
| EDA_ANGLE | GetLibraryEllipseStartAngle () const |
| EDA_ANGLE | GetLibraryEllipseEndAngle () const |
| void | SetLibraryEllipse (const VECTOR2I &aCenter, int aMajor, int aMinor, const EDA_ANGLE &aRotation, const EDA_ANGLE &aStartAngle, const EDA_ANGLE &aEndAngle) |
| VECTOR2I | GetLibraryArcMid () const |
| VECTOR2I | GetLibraryBezierC1 () const |
| VECTOR2I | GetLibraryBezierC2 () const |
| SHAPE_POLY_SET | GetLibraryPolyShape () const |
| void | RebakeFromLib () |
| void | RebakeWithScale (double aScaleX, double aScaleY) |
| void | OverrideLibCoords (const VECTOR2I &aStart, const VECTOR2I &aEnd, const VECTOR2I &aArcMid=VECTOR2I(0, 0)) |
| void | OverrideLibBezier (const VECTOR2I &aC1, const VECTOR2I &aC2) |
| void | OverrideLibPoly (const SHAPE_POLY_SET &aPoly) |
| const SHAPE_POLY_SET & | GetLibPoly () const |
| void | Scale (double aScale) |
| void | UpdateHatching () const override |
| void | TransformShapeToPolygon (SHAPE_POLY_SET &aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=false, bool includeFill=false) const |
| Convert the shape to a closed polygon. | |
| void | TransformShapeToPolySet (SHAPE_POLY_SET &aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, KIGFX::RENDER_SETTINGS *aRenderSettings=nullptr) const override |
| Convert the item shape to a polyset. | |
| const BOX2I | ViewBBox () const override |
| Return the bounding box of the item covering all its layers. | |
| double | Similarity (const EDA_SHAPE &aOther) const |
| bool | operator== (const PCB_SHAPE &aShape) const |
| bool | operator== (const EDA_SHAPE &aOther) const |
| void | SetHasSolderMask (bool aVal) |
| bool | HasSolderMask () const |
| void | SetLocalSolderMaskMargin (std::optional< int > aMargin) |
| std::optional< int > | GetLocalSolderMaskMargin () const |
| int | GetSolderMaskExpansion () const |
| NETINFO_ITEM * | GetNet () const |
| Return #NET_INFO object for a given item. | |
| virtual void | SetNet (NETINFO_ITEM *aNetInfo) |
| Set a NET_INFO object for the item. | |
| void | UnpackNet (const kiapi::board::types::Net &aProto) |
| Assigns a net to this item from an API message. | |
| void | PackNet (kiapi::board::types::Net *aProto) const |
| int | GetNetCode () const |
| virtual bool | SetNetCode (int aNetCode, bool aNoAssert) |
| Set net using a net code. | |
| void | SetNetCode (int aNetCode) |
| wxString | GetNetname () const |
| wxString | GetNetnameMsg () const |
| const wxString & | GetShortNetname () const |
| const wxString & | GetDisplayNetname () const |
| virtual int | GetOwnClearance (PCB_LAYER_ID aLayer, wxString *aSource=nullptr) const |
| Return an item's "own" clearance in internal units. | |
| virtual std::optional< int > | GetClearanceOverrides (wxString *aSource) const |
| Return any clearance overrides set in the "classic" (ie: pre-rule) system. | |
| virtual std::optional< int > | GetLocalClearance () const |
| Return any local clearances set in the "classic" (ie: pre-rule) system. | |
| virtual std::optional< int > | GetLocalClearance (wxString *aSource) const |
| Return any local clearances set in the "classic" (ie: pre-rule) system. | |
| virtual NETCLASS * | GetEffectiveNetClass () const |
| Return the NETCLASS for this item. | |
| wxString | GetNetClassName () const |
| Returns the name of the effective netclass. | |
| void | SetLocalRatsnestVisible (bool aVisible) |
| bool | GetLocalRatsnestVisible () const |
| TEARDROP_PARAMETERS & | GetTeardropParams () |
| const TEARDROP_PARAMETERS & | GetTeardropParams () const |
| void | SetTeardropsEnabled (bool aEnable) |
| bool | GetTeardropsEnabled () const |
| void | SetTeardropBestLengthRatio (double aRatio) |
| double | GetTeardropBestLengthRatio () const |
| void | SetTeardropMaxLength (int aMaxLength) |
| int | GetTeardropMaxLength () const |
| void | SetTeardropBestWidthRatio (double aRatio) |
| double | GetTeardropBestWidthRatio () const |
| void | SetTeardropMaxWidth (int aMaxWidth) |
| int | GetTeardropMaxWidth () const |
| void | SetTeardropCurved (bool aCurve) |
| bool | GetTeardropCurved () const |
| void | SetTeardropPreferZoneConnections (bool aPrefer) |
| bool | GetTeardropPreferZoneConnections () const |
| void | SetTeardropAllowSpanTwoTracks (bool aAllow) |
| bool | GetTeardropAllowSpanTwoTracks () const |
| void | SetTeardropMaxTrackWidth (double aRatio) |
| double | GetTeardropMaxTrackWidth () const |
| bool | IsGroupableType () const |
| int | GetX () const |
| int | GetY () const |
| void | SetX (int aX) |
| void | SetY (int aY) |
| virtual bool | IsOnCopperLayer () const |
| virtual bool | HasHole () const |
| virtual bool | HasDrilledHole () const |
| virtual bool | IsTented (PCB_LAYER_ID aLayer) const |
| Checks if the given object is tented (its copper shape is covered by solder mask) on a given side of the board. | |
| virtual std::shared_ptr< SHAPE_SEGMENT > | GetEffectiveHoleShape (PCB_LAYER_ID aLayer=UNDEFINED_LAYER, DRC_CONSTRAINT_T aUsage=NULL_CONSTRAINT) const |
| virtual void | RunOnChildren (const std::function< void(BOARD_ITEM *)> &aFunction, RECURSE_MODE aMode) const |
| Invoke a function on all children. | |
| BOARD_ITEM_CONTAINER * | GetParent () const |
| FOOTPRINT * | GetParentFootprint () const |
| void | SetUuidDirect (const KIID &aUuid) |
| Raw UUID assignment. | |
| void | ResetUuidDirect () |
| void | SetUuid (const KIID &aUuid) |
| void | ResetUuid () |
| virtual void | RemapKIIDs (const std::map< KIID, KIID > &aIdMap) |
| Remap KIIDs this item stores to reference other items (e.g. | |
| VECTOR2I | GetFPRelativePosition () const |
| void | SetFPRelativePosition (const VECTOR2I &aPos) |
| virtual bool | IsLayerAgnostic () const |
| Check if this item's layer set must not be confined to a board's enabled layers. | |
| virtual bool | FitsEnabledLayers (const LSET &aEnabledLayers, int aCopperLayerCount) const |
| Check if a board offering aEnabledLayers can hold this item. | |
| const KIFONT::METRICS & | GetFontMetrics () const |
| virtual int | BoardLayerCount () const |
| Return the total number of layers for the board that this item resides on. | |
| virtual int | BoardCopperLayerCount () const |
| Return the total number of copper layers for the board that this item resides on. | |
| virtual LSET | BoardLayerSet () const |
| Return the LSET for the board that this item resides on. | |
| bool | IsSideSpecific () const |
| virtual BOARD_ITEM * | Duplicate (bool addToParentGroup, BOARD_COMMIT *aCommit=nullptr) const |
| Create a copy of this BOARD_ITEM. | |
| void | SwapItemData (BOARD_ITEM *aImage) |
| Swap data between aItem and aImage. | |
| virtual bool | IsKnockout () const |
| virtual void | SetIsKnockout (bool aKnockout) |
| bool | IsLocked () const override |
| void | SetLocked (bool aLocked) override |
| bool | IsIndexedInBoard () const |
| int | GetMaxError () const |
| void | DeleteStructure () |
| Delete this object after removing from its parent if it has one. | |
| virtual const BOARD * | GetBoard () const |
| Return the BOARD in which this BOARD_ITEM resides, or NULL if none. | |
| virtual BOARD * | GetBoard () |
| wxString | GetParentAsString () const |
| For "parent" property. | |
| wxString | GetLayerName () const |
| Return the name of the PCB layer on which the item resides. | |
| const std::vector< wxString > * | GetEmbeddedFonts () override |
| virtual wxString | LayerMaskDescribe () const |
| Return a string (to be shown to the user) describing a layer mask. | |
| KICAD_T | Type () const |
| Returns the type of object. | |
| virtual void | SetParent (EDA_ITEM *aParent) |
| virtual void | SetParentGroup (EDA_GROUP *aGroup) |
| virtual EDA_GROUP * | GetParentGroup () const |
| KIID | GetParentGroupId () const |
| bool | HasSelectedAncestorGroup () const |
| bool | IsModified () const |
| bool | IsNew () const |
| bool | IsMoving () const |
| bool | IsSelected () const |
| bool | IsEntered () const |
| bool | IsBrightened () const |
| bool | IsNetHighlighted () const |
| Net highlighting must not clear brightening owned by find or picker tools. | |
| void | SetNetHighlighted (bool aHighlighted) |
| bool | IsRollover () const |
| VECTOR2I | GetRolloverPos () const |
| void | SetIsRollover (bool aIsRollover, const VECTOR2I &aMousePos) |
| void | SetSelected () |
| void | SetBrightened () |
| void | ClearSelected () |
| void | ClearBrightened () |
| void | SetModified () |
| void | SetFlags (EDA_ITEM_FLAGS aMask) |
| void | XorFlags (EDA_ITEM_FLAGS aMask) |
| void | ClearFlags (EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS) |
| EDA_ITEM_FLAGS | GetFlags () const |
| bool | HasFlag (EDA_ITEM_FLAGS aFlag) const |
| EDA_ITEM_FLAGS | GetEditFlags () const |
| virtual void | ClearEditFlags () |
| EDA_ITEM_FLAGS | GetTempFlags () const |
| virtual void | ClearTempFlags () |
| virtual bool | RenderAsBitmap (double aWorldScale) const |
| void | SetIsShownAsBitmap (bool aBitmap) |
| bool | IsShownAsBitmap () const |
| void | SetForceVisible (bool aEnable) |
| Set and clear force visible flag used to force the item to be drawn even if it's draw attribute is set to not visible. | |
| bool | IsForceVisible () const |
| const std::map< wxString, wxString > & | GetCustomProperties () const |
| Custom user-defined string key/value properties attached to this item. | |
| void | SetCustomProperties (const std::map< wxString, wxString > &aProps) |
| void | SetCustomProperty (const wxString &aKey, const wxString &aValue) |
| bool | HasCustomProperties () const |
| void | ClearCustomProperties () |
| void | RemoveCustomProperty (const wxString &aKey) |
| std::vector< wxString > | RemoveConflictingCustomProperties () |
| Remove custom properties whose keys collide with an existing field or built-in property name (matched case-insensitively). | |
| bool | GetCustomProperty (const wxString &aKey, wxString &aValue) const |
| std::vector< PROPERTY_BASE * > | GetCustomPropertiesAsInspectables () const |
| std::vector< PROPERTY_BASE * > | GetDynamicProperties () const override |
| Return dynamically-computed properties specific to this object instance (e.g. | |
| virtual VECTOR2I | GetSortPosition () const |
| Return the coordinates that should be used for sorting this element visually compared to other elements. | |
| virtual INSPECT_RESULT | Visit (INSPECTOR inspector, void *testData, const std::vector< KICAD_T > &aScanTypes) |
| May be re-implemented for each derived class in order to handle all the types given by its member data. | |
| wxString | GetTypeDesc () const |
| Return a translated description of the type for this EDA_ITEM for display in user facing messages. | |
| virtual wxString | DisambiguateItemDescription (UNITS_PROVIDER *aUnitsProvider, bool aFull) const |
| virtual bool | Replace (const EDA_SEARCH_DATA &aSearchData, void *aAuxData=nullptr) |
| Perform a text replace using the find and replace criteria in aSearchData on items that support text find and replace. | |
| virtual bool | IsReplaceable () const |
| Override this method in any derived object that supports test find and replace. | |
| bool | operator< (const EDA_ITEM &aItem) const |
| Test if another item is less than this object. | |
| virtual EMBEDDED_FILES * | GetEmbeddedFiles () |
| bool | IsSCH_ITEM () const |
| bool | IsBOARD_ITEM () const |
| virtual void | ViewDraw (int aLayer, VIEW *aView) const |
| Draw the parts of the object belonging to layer aLayer. | |
| VIEW_ITEM_DATA * | viewPrivData () const |
| void | SetForcedTransparency (double aForcedTransparency) |
| double | GetForcedTransparency () const |
| bool | Set (PROPERTY_BASE *aProperty, wxAny &aValue, bool aNotify=true) |
| template<typename T> | |
| bool | Set (PROPERTY_BASE *aProperty, T aValue, bool aNotify=true) |
| bool | Set (PROPERTY_BASE *aProperty, wxVariant aValue, bool aNotify=true) |
| template<typename T> | |
| bool | Set (const wxString &aProperty, T aValue, bool aNotify=true) |
| wxAny | Get (PROPERTY_BASE *aProperty) const |
| template<typename T> | |
| T | Get (PROPERTY_BASE *aProperty) const |
| template<typename T> | |
| std::optional< T > | Get (const wxString &aProperty) const |
| void | SwapShape (EDA_SHAPE *aImage) |
| wxString | ShowShape () const |
| wxString | SHAPE_T_asString () const |
| bool | IsAnyFill () const |
| bool | IsSolidFill () const |
| bool | IsHatchedFill () const |
| virtual bool | IsFilledForHitTesting () const |
| virtual void | SetFilled (bool aFlag) |
| void | SetFillMode (FILL_T aFill) |
| FILL_T | GetFillMode () const |
| void | SetFillModeProp (UI_FILL_MODE) |
| UI_FILL_MODE | GetFillModeProp () const |
| void | SetHatchingDirty () |
| const SHAPE_POLY_SET & | GetHatching () const |
| const std::vector< SEG > & | GetHatchLines () const |
| bool | IsClosed () const |
| COLOR4D | GetFillColor () const |
| void | SetFillColor (const COLOR4D &aColor) |
| virtual int | GetEffectiveWidth () const |
| virtual int | GetHatchLineWidth () const |
| virtual int | GetHatchLineSpacing () const |
| void | SetLineStyle (const LINE_STYLE aStyle) |
| LINE_STYLE | GetLineStyle () const |
| void | SetLineColor (const COLOR4D &aColor) |
| COLOR4D | GetLineColor () const |
| SHAPE_T | GetShape () const |
| const LINE_ENDING & | GetStartEnding () const |
| void | SetStartEnding (const LINE_ENDING &aEnding) |
| const LINE_ENDING & | GetEndEnding () const |
| void | SetEndEnding (const LINE_ENDING &aEnding) |
| LINE_ENDING_STYLE | GetStartEndingStyle () const |
| void | SetStartEndingStyle (LINE_ENDING_STYLE aStyle) |
| LINE_ENDING_STYLE | GetEndEndingStyle () const |
| void | SetEndEndingStyle (LINE_ENDING_STYLE aStyle) |
| int | GetStartEndingLength () const |
| void | SetStartEndingLength (int aLength) |
| int | GetStartEndingWidth () const |
| void | SetStartEndingWidth (int aWidth) |
| int | GetEndEndingLength () const |
| void | SetEndEndingLength (int aLength) |
| int | GetEndEndingWidth () const |
| void | SetEndEndingWidth (int aWidth) |
| int | GetStartEndingStrokeWidth () const |
| void | SetStartEndingStrokeWidth (int aWidth) |
| int | GetEndEndingStrokeWidth () const |
| void | SetEndEndingStrokeWidth (int aWidth) |
| void | GetEndingTangents (EDA_ANGLE &aStartTangent, EDA_ANGLE &aEndTangent, int aLineWidth=0) const |
| Compute outward-facing tangent angles at the start and end of the shape. | |
| bool | GetLineEndingEndpoints (VECTOR2I &aStartPoint, VECTOR2I &aEndPoint) const |
| Return the source endpoints used to place line endings. | |
| bool | ShortenArcForEndings (EDA_ANGLE &aStartAngle, EDA_ANGLE &aArcAngle, double aRadius, int aLineWidth) const |
| Shorten an arc body for line endings. | |
| std::optional< BEZIER< double > > | ShortenedBezierCurve (int aLineWidth) const |
| Return the cubic Bezier curve shortened for line endings. | |
| std::vector< VECTOR2D > | ShortenedBezierPolyline (int aLineWidth) const |
| Return the flattened Bezier polyline after line-ending shortening. | |
| bool | ShortenPolyForEndings (VECTOR2D &aFirst, VECTOR2D &aLast, const VECTOR2D &aSecond, const VECTOR2D &aPenultimate, int aLineWidth) const |
| bool | ShortenBodyPolyPoints (std::vector< VECTOR2I > &aPoints, bool aClosed, int aOutlineIdx, int aLineWidth) const |
| Apply line-ending body shortening to copied/generated polyline points. | |
| bool | GetShortenedBodyPolyPoints (const SHAPE_LINE_CHAIN &aOutline, int aOutlineIdx, std::vector< VECTOR2I > &aPoints, int aLineWidth) const |
| Copy an outline and apply line-ending body shortening when applicable. | |
| const VECTOR2I & | GetStart () const |
| Return the starting point of the graphic. | |
| int | GetStartY () const |
| int | GetStartX () const |
| void | SetStartY (int y) |
| void | SetStartX (int x) |
| void | SetCenterY (int y) |
| void | SetCenterX (int x) |
| const VECTOR2I & | GetEnd () const |
| Return the ending point of the graphic. | |
| int | GetEndY () const |
| int | GetEndX () const |
| void | SetEndY (int aY) |
| void | SetEndX (int aX) |
| void | SetRadius (int aX) |
| const VECTOR2I & | GetBezierC1 () const |
| const VECTOR2I & | GetBezierC2 () const |
| const VECTOR2I & | GetEllipseCenter () const |
| int | GetEllipseMajorRadius () const |
| int | GetEllipseMinorRadius () const |
| EDA_ANGLE | GetEllipseRotation () const |
| EDA_ANGLE | GetEllipseStartAngle () const |
| EDA_ANGLE | GetEllipseEndAngle () const |
| const ELLIPSE< int > & | GetEllipse () const |
| Direct read-only access to the underlying ellipse payload. | |
| VECTOR2I | getCenter () const |
| void | SetCenter (const VECTOR2I &aCenter) |
| EDA_ANGLE | GetArcAngle () const |
| EDA_ANGLE | GetSegmentAngle () const |
| bool | EndsSwapped () const |
| Have the start and end points been swapped since they were set? | |
| VECTOR2I | GetArcMid () const |
| std::vector< VECTOR2I > | GetRectCorners () const |
| void | CalcArcAngles (EDA_ANGLE &aStartAngle, EDA_ANGLE &aEndAngle) const |
| Calc arc start and end angles such that aStartAngle < aEndAngle. | |
| int | GetRadius () const |
| void | SetCachedArcData (const VECTOR2I &aStart, const VECTOR2I &aMid, const VECTOR2I &aEnd, const VECTOR2I &aCenter) |
| Set the data used for mid point caching. | |
| const std::vector< VECTOR2I > & | GetBezierPoints () const |
| std::vector< VECTOR2I > | GetPolyPoints () const |
| Duplicate the polygon outlines into a flat list of VECTOR2I points. | |
| int | GetPointCount () const |
| SHAPE_POLY_SET & | GetPolyShape () |
| const SHAPE_POLY_SET & | GetPolyShape () const |
| bool | IsPolyShapeValid () const |
| void | SetPolyPoints (const std::vector< VECTOR2I > &aPoints) |
| void | RebuildBezierToSegmentsPointsList (int aMaxError) |
| Rebuild the m_bezierPoints vertex list that approximate the Bezier curve by a list of segments. | |
| void | RebuildBezierToSegmentsPointsList () |
| virtual std::vector< SHAPE * > | MakeEffectiveShapes (bool aEdgeOnly=false) const |
| Make a set of SHAPE objects representing the EDA_SHAPE. | |
| std::vector< SHAPE * > | MakeLineEndingEffectiveShapes (int aLineWidth) const |
| Make the line-ending geometry associated with this shape. | |
| std::vector< SHAPE * > | MakeEffectiveShapesWithLineEndings (int aLineWidth) const |
| Make effective geometry for the shape body shortened for line endings plus the line-ending geometry itself. | |
| virtual std::vector< SHAPE * > | MakeEffectiveShapesForHitTesting () const |
| std::vector< SHAPE * > | MakeEffectiveShapesForStroking (int aLineWidth=-1) const |
| Make a set of SHAPE objects to hand to STROKE_PARAMS::Stroke(). | |
| void | ShapeGetMsgPanelInfo (EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) |
| void | SetRectangleHeight (const int &aHeight) |
| void | SetRectangleWidth (const int &aWidth) |
| void | SetRectangle (const long long int &aHeight, const long long int &aWidth) |
| void | SetCornerRadius (int aRadius) |
| int | GetCornerRadius () const |
| bool | IsClockwiseArc () const |
| double | GetLength () const |
| int | GetRectangleHeight () const |
| int | GetRectangleWidth () const |
| void | TransformLineEndingsToPolygon (SHAPE_POLY_SET &aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, int aLineWidth) const |
| Append only the line-ending geometry associated with this shape to a polygon set. | |
| void | TransformWithLineEndingsToPolygon (SHAPE_POLY_SET &aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=false) const |
| Convert the shape body shortened for line endings plus line-ending geometry to polygons. | |
| bool | GetLineEndingsBoundingBox (BOX2I &aBBox, int aLineWidth) const |
| int | Compare (const EDA_SHAPE *aOther) const |
| void | Serialize (google::protobuf::Any &aContainer, const EDA_IU_SCALE &aScale) const |
| void | Serialize (kiapi::common::types::Text &aOutput, const EDA_IU_SCALE &aScale) const |
| bool | Deserialize (const google::protobuf::Any &aContainer, const EDA_IU_SCALE &aScale) |
| bool | Deserialize (const kiapi::common::types::Text &aInput, const EDA_IU_SCALE &aScale) |
| virtual const wxString & | GetText () const |
| Return the string associated with the text object. | |
| bool | HasTextVars () const |
| Indicates the ShownText has text var references which need to be processed. | |
| const std::vector< TEXT_VAR_REF_KEY > & | GetTextVarReferences () const |
Return the set of ${...} references extracted from the source text. | |
| virtual void | SetText (const wxString &aText) |
| wxString | EvaluateText (const wxString &aText) const |
| int | GetTextThicknessProperty () const |
| void | SetAutoThickness (bool aAuto) |
| bool | GetAutoThickness () const |
| int | GetEffectiveTextPenWidth (int aDefaultPenWidth=0) const |
| The EffectiveTextPenWidth uses the text thickness if > 1 or aDefaultPenWidth. | |
| void | SetTextAngleDegrees (double aOrientation) |
| double | GetTextAngleDegrees () const |
| void | SetItalic (bool aItalic) |
| Set the text to be italic - this will also update the font if needed. | |
| void | SetItalicFlag (bool aItalic) |
| Set only the italic flag, without changing the font. | |
| bool | IsItalic () const |
| void | SetBold (bool aBold) |
| Set the text to be bold - this will also update the font if needed. | |
| void | SetBoldFlag (bool aBold) |
| Set only the bold flag, without changing the font. | |
| bool | IsBold () const |
| void | MigrateLegacyBoldStrokeWidth () |
| Migrate a pre-v11 bold stroke text so its stored thickness holds the base (non-bold) width. | |
| virtual void | SetVisible (bool aVisible) |
| virtual bool | IsVisible () const |
| void | SetMirrored (bool isMirrored) |
| bool | IsMirrored () const |
| void | SetMultilineAllowed (bool aAllow) |
| bool | IsMultilineAllowed () const |
| void | SetHorizJustify (GR_TEXT_H_ALIGN_T aType) |
| GR_TEXT_H_ALIGN_T | GetHorizJustify () const |
| void | SetVertJustify (GR_TEXT_V_ALIGN_T aType) |
| GR_TEXT_V_ALIGN_T | GetVertJustify () const |
| void | SetKeepUpright (bool aKeepUpright) |
| bool | IsKeepUpright () const |
| void | FlipHJustify () |
| void | SetAttributes (const EDA_TEXT &aSrc, bool aSetPosition=true) |
| Set the text attributes from another instance. | |
| void | SetAttributes (const TEXT_ATTRIBUTES &aTextAttrs) |
| void | SwapAttributes (EDA_TEXT &aTradingPartner) |
| Swap the text attributes of the two involved instances. | |
| void | SwapText (EDA_TEXT &aTradingPartner) |
| void | CopyText (const EDA_TEXT &aSrc) |
| const TEXT_ATTRIBUTES & | GetAttributes () const |
| bool | Replace (const EDA_SEARCH_DATA &aSearchData) |
| Helper function used in search and replace dialog. | |
| bool | IsDefaultFormatting () const |
| void | SetFont (KIFONT::FONT *aFont) |
| KIFONT::FONT * | GetFont () const |
| void | SetUnresolvedFontName (const wxString &aFontName) |
| wxString | GetUnresolvedFontName () const |
| bool | ResolveFont (const std::vector< wxString > *aEmbeddedFonts) |
| wxString | GetFontName () const |
| void | SetFontProp (const wxString &aFontName) |
| wxString | GetFontProp () const |
| void | SetLineSpacing (double aLineSpacing) |
| double | GetLineSpacing () const |
| virtual void | SetTextWidth (int aWidth) |
| virtual int | GetTextWidth () const |
| virtual void | SetTextHeight (int aHeight) |
| virtual int | GetTextHeight () const |
| void | SetTextColor (const COLOR4D &aColor) |
| COLOR4D | GetTextColor () const |
| virtual void | SetTextPos (const VECTOR2I &aPoint) |
| virtual VECTOR2I | GetTextPos () const |
| virtual void | SetTextX (int aX) |
| virtual void | SetTextY (int aY) |
| void | SetActiveUrl (const wxString &aUrl) const |
| virtual void | Offset (const VECTOR2I &aOffset) |
| void | Empty () |
| void | Print (const RENDER_SETTINGS *aSettings, const VECTOR2I &aOffset, const COLOR4D &aColor) |
| Print this text object to the device context aDC. | |
| std::shared_ptr< SHAPE_COMPOUND > | GetEffectiveTextShape (bool aTriangulate=true, const BOX2I &aBBox=BOX2I(), const EDA_ANGLE &aAngle=ANGLE_0) const |
| build a list of segments (SHAPE_SEGMENT) to describe a text shape. | |
| virtual bool | TextHitTest (const VECTOR2I &aPoint, int aAccuracy=0) const |
| Test if aPoint is within the bounds of this object. | |
| virtual bool | TextHitTest (const BOX2I &aRect, bool aContains, int aAccuracy=0) const |
| Test if object bounding box is contained within or intersects aRect. | |
| BOX2I | GetTextBox (const RENDER_SETTINGS *aSettings, int aLine=-1) const |
| Useful in multiline texts to calculate the full text or a line area (for zones filling, locate functions....) | |
| int | GetInterline (const RENDER_SETTINGS *aSettings) const |
| Return the distance between two lines of text. | |
| wxString | GetTextStyleName () const |
| void | GetLinePositions (const RENDER_SETTINGS *aSettings, std::vector< VECTOR2I > &aPositions, int aLineCount) const |
| Populate aPositions with the position of each line of a multiline text, according to the vertical justification and the rotation of the whole text. | |
| double | Levenshtein (const EDA_TEXT &aOther) const |
| Return the levenstein distance between two texts. | |
| double | Similarity (const EDA_TEXT &aOther) const |
| virtual void | Format (OUTPUTFORMATTER *aFormatter, int aControlBits) const |
| Output the object to aFormatter in s-expression form. | |
| virtual EDA_ANGLE | GetDrawRotation () const |
| virtual KIFONT::FONT * | GetDrawFont (const RENDER_SETTINGS *aSettings) const |
| virtual void | ClearRenderCache () |
| virtual void | ClearBoundingBoxCache () |
| std::vector< std::unique_ptr< KIFONT::GLYPH > > * | GetRenderCache (const KIFONT::FONT *aFont, const wxString &forResolvedText, const VECTOR2I &aOffset={ 0, 0 }) const |
| void | SetupRenderCache (const wxString &aResolvedText, const KIFONT::FONT *aFont, const EDA_ANGLE &aAngle, const VECTOR2I &aOffset) |
| void | AddRenderCacheGlyph (const SHAPE_POLY_SET &aPoly) |
| int | Compare (const EDA_TEXT *aOther) const |
| bool | operator== (const EDA_TEXT &aRhs) const |
| bool | operator< (const EDA_TEXT &aRhs) const |
| bool | operator> (const EDA_TEXT &aRhs) const |
| virtual bool | HasHyperlink () const |
| wxString | GetHyperlink () const |
| void | SetHyperlink (wxString aLink) |
| void | RemoveHyperlink () |
Static Public Member Functions | |
| static bool | ClassOf (const EDA_ITEM *aItem) |
| template<class T> | |
| static INSPECT_RESULT | IterateForward (std::deque< T > &aList, INSPECTOR inspector, void *testData, const std::vector< KICAD_T > &scanTypes) |
| This changes first parameter to avoid the DList and use the main queue instead. | |
| template<class T> | |
| static INSPECT_RESULT | IterateForward (std::vector< T > &aList, INSPECTOR inspector, void *testData, const std::vector< KICAD_T > &scanTypes) |
| Change first parameter to avoid the DList and use std::vector instead. | |
| static bool | Replace (const EDA_SEARCH_DATA &aSearchData, wxString &aText) |
| Perform a text replace on aText using the find and replace criteria in aSearchData on items that support text find and replace. | |
| static bool | Sort (const EDA_ITEM *aLeft, const EDA_ITEM *aRight) |
| Helper function to be used by the C++ STL sort algorithm for sorting a STL container of EDA_ITEM pointers. | |
| static bool | ShortenSegmentForEndings (VECTOR2I &aStart, VECTOR2I &aEnd, const LINE_ENDING &aStartEnding, const LINE_ENDING &aEndEnding, int aLineWidth) |
| Shorten a segment body for line endings. | |
| static GR_TEXT_H_ALIGN_T | MapHorizJustify (int aHorizJustify) |
| static GR_TEXT_V_ALIGN_T | MapVertJustify (int aVertJustify) |
| static bool | ValidateHyperlink (const wxString &aURL) |
| Check if aURL is a valid hyperlink. | |
| static bool | IsGotoPageHref (const wxString &aHref, wxString *aDestination=nullptr) |
| Check if aHref is a valid internal hyperlink. | |
| static wxString | GotoPageHref (const wxString &aDestination) |
| Generate a href to a page in the current schematic. | |
Public Attributes | |
| const KIID | m_Uuid |
Static Public Attributes | |
| static VECTOR2I | ZeroOffset |
| A value of wxPoint(0,0) which can be passed to the Draw() functions. | |
Protected Member Functions | |
| EDA_ANGLE | getDrawRotation () const override |
| virtual void | swapData (BOARD_ITEM *aImage) override |
| void | syncLibCoords () override |
| const KIFONT::METRICS & | getFontMetrics () const override |
| bool | isMoving () const override |
| const FOOTPRINT * | transformFp () const |
| void | rebakeFromTransform (const TRANSFORM_TRS &aXform) |
| int | getMaxError () const override |
| SHAPE_POLY_SET | getHatchingKnockouts () const override |
| bool | Matches (const wxString &aText, const EDA_SEARCH_DATA &aSearchData) const |
| Compare aText against search criteria in aSearchData. | |
| EDA_ITEM * | findParent (KICAD_T aType) const |
| wxString | getFriendlyName (FRAME_T aFrameType) const |
| void | setPosition (const VECTOR2I &aPos) |
| VECTOR2I | getPosition () const |
| virtual void | setFilled (bool aFlag) |
| void | move (const VECTOR2I &aMoveVector) |
| void | rotate (const VECTOR2I &aRotCentre, const EDA_ANGLE &aAngle) |
| void | flip (const VECTOR2I &aCentre, FLIP_DIRECTION aFlipDirection) |
| void | scale (double aScale) |
| const BOX2I | getBoundingBox () const |
| void | computeArcBBox (BOX2I &aBBox) const |
| bool | hitTest (const VECTOR2I &aPosition, int aAccuracy=0) const |
| bool | hitTest (const BOX2I &aRect, bool aContained, int aAccuracy=0) const |
| bool | hitTest (const SHAPE_LINE_CHAIN &aPoly, bool aContained) const |
| const std::vector< VECTOR2I > | buildBezierToSegmentsPointsList (int aMaxError) const |
| void | beginEdit (const VECTOR2I &aStartPoint) |
| bool | continueEdit (const VECTOR2I &aPosition) |
| void | calcEdit (const VECTOR2I &aPosition) |
| void | endEdit (bool aClosed=true) |
| Finish editing the shape. | |
| void | setEditState (int aState) |
| std::vector< SHAPE * > | makeEffectiveShapes (bool aEdgeOnly, bool aLineChainOnly=false, bool aHittesting=false) const |
| Make a set of SHAPE objects representing the EDA_SHAPE. | |
| std::vector< SHAPE * > | makeShortenedBodyShapes (int aLineWidth, bool aEdgeOnly=false) const |
| Make effective geometry for the shape body shortened for line endings, without the line-ending geometry itself. | |
| SHAPE_ELLIPSE | buildShapeEllipse () const |
| void | recalcEllipseArcEndpoints () |
| When m_shape == ELLIPSE_ARC, recompute m_start/m_end from m_ellipse. | |
| SHAPE_POLY_SET & | hatching () const |
| std::vector< SEG > & | hatchLines () const |
| virtual void | cacheShownText () |
| void | printOneLineOfText (const RENDER_SETTINGS *aSettings, const VECTOR2I &aOffset, const COLOR4D &aColor, const wxString &aText, const VECTOR2I &aPos) |
| Print each line of this EDA_TEXT. | |
| bool | containsURL () const |
| bool | isStrokeFont () const |
| Return true if this text is (or, while a font resolution is still pending, is named as) a stroke font, as opposed to an outline font. | |
Static Protected Member Functions | |
| static double | lodScaleForThreshold (const KIGFX::VIEW *aView, int aWhatIu, int aThresholdIu) |
| Get the scale at which aWhatIu would be drawn at the same size as aThresholdIu on screen. | |
Static Protected Attributes | |
| static constexpr double | LOD_HIDE = std::numeric_limits<double>::max() |
| Return this constant from ViewGetLOD() to hide the item unconditionally. | |
| static constexpr double | LOD_SHOW = 0.0 |
| Return this constant from ViewGetLOD() to show the item unconditionally. | |
Private Attributes | |
| int | m_marginLeft |
| int | m_marginTop |
| int | m_marginRight |
| int | m_marginBottom |
| EDA_ANGLE | m_libTextAngle |
| bool | m_localRatsnestVisible |
| KICAD_T | m_structType |
| Run time identification, keep private so it can never be changed after a ctor sets it. | |
| bool | m_isSCH_ITEM |
| bool | m_isBOARD_ITEM |
| VIEW_ITEM_DATA * | m_viewPrivData |
| double | m_forcedTransparency |
| Additional transparency for diff'ing items. | |
| wxString | m_text |
| wxString | m_shown_text |
| bool | m_shown_text_has_text_var_refs = false |
| std::vector< TEXT_VAR_REF_KEY > | m_text_var_refs |
| std::reference_wrapper< const EDA_IU_SCALE > | m_IuScale |
| std::unique_ptr< EDA_TEXT_RENDER_CACHE_DATA > | m_render_cache |
| std::map< int, BBOX_CACHE_ENTRY > | m_bbox_cache |
| std::mutex | m_bbox_cacheMutex |
| TEXT_ATTRIBUTES | m_attributes |
| wxString | m_unresolvedFontName |
| VECTOR2I | m_pos |
| bool | m_visible |
Definition at line 37 of file pcb_textbox.h.
|
inherited |
| Enumerator | |
|---|---|
| DRC | |
| INSTANCE_TO_INSTANCE | |
Definition at line 556 of file board_item.h.
| PCB_TEXTBOX::PCB_TEXTBOX | ( | BOARD_ITEM * | aParent, |
| KICAD_T | aType = PCB_TEXTBOX_T ) |
Definition at line 46 of file pcb_textbox.cpp.
References ANGLE_0, BOARD_ITEM::BOARD_ITEM(), EDA_TEXT::EDA_TEXT(), GetLegacyTextMargin(), GR_TEXT_H_ALIGN_LEFT, GR_TEXT_V_ALIGN_CENTER, m_borderEnabled, m_libTextAngle, m_marginBottom, m_marginLeft, m_marginRight, m_marginTop, PCB_SHAPE::PCB_SHAPE(), pcbIUScale, RECTANGLE, EDA_TEXT::SetHorizJustify(), EDA_TEXT::SetMultilineAllowed(), and EDA_TEXT::SetVertJustify().
Referenced by Clone(), CopyFrom(), operator==(), operator==(), PCB_TABLECELL::PCB_TABLECELL(), Similarity(), and swapData().
| PCB_TEXTBOX::~PCB_TEXTBOX | ( | ) |
Definition at line 64 of file pcb_textbox.cpp.
|
inherited |
Definition at line 720 of file eda_text.cpp.
References KIFONT::OUTLINE_GLYPH::CacheTriangulation(), and m_render_cache.
|
inlineinherited |
Definition at line 80 of file pcb_shape.h.
References EDA_SHAPE::beginEdit(), and syncLibCoords().
|
protectedinherited |
Definition at line 3021 of file eda_shape.cpp.
References ANGLE_0, ANGLE_360, SHAPE_LINE_CHAIN::Append(), ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, getMaxError(), GetPolyShape(), GetShape(), m_editState, SHAPE_POLY_SET::NewOutline(), SHAPE_POLY_SET::Outline(), POLY, RebuildBezierToSegmentsPointsList(), RECTANGLE, SEGMENT, SetArcGeometry(), SetBezierC1(), SetBezierC2(), SHAPE_LINE_CHAIN::SetClosed(), SetEllipseCenter(), SetEllipseEndAngle(), SetEllipseMajorRadius(), SetEllipseMinorRadius(), SetEllipseRotation(), SetEllipseStartAngle(), SetEnd(), SetStart(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by PCB_SHAPE::BeginEdit(), and SCH_SHAPE::BeginEdit().
|
virtualinherited |
Return the total number of copper layers for the board that this item resides on.
Definition at line 203 of file board_item.cpp.
References BOARD, GetBoard(), and BOARD::GetCopperLayerCount().
Referenced by PAD::ClearZoneLayerOverrides(), PCB_VIA::GetLayerSet(), PAD::PAD(), PCB_VIA::SanitizeLayers(), and PNS_KICAD_IFACE_BASE::syncPad().
|
virtualinherited |
Return the total number of layers for the board that this item resides on.
Definition at line 192 of file board_item.cpp.
References BOARD, GetBoard(), and BOARD::GetLayerSet().
|
virtualinherited |
Return the LSET for the board that this item resides on.
Definition at line 214 of file board_item.cpp.
References LSET::AllLayersMask(), BOARD, GetBoard(), and BOARD::GetEnabledLayers().
Referenced by ALTIUM_PCB::ConvertPads6ToFootprintItemOnCopper().
|
protectedinherited |
Definition at line 1215 of file eda_shape.cpp.
References BEZIER_POLY::GetPoly(), m_bezierC1, m_bezierC2, m_end, and m_start.
Referenced by makeEffectiveShapes(), MakeEffectiveShapesForStroking(), and RebuildBezierToSegmentsPointsList().
|
protectedinherited |
Definition at line 1228 of file eda_shape.cpp.
References ELLIPSE_ARC, m_ellipse, and m_shape.
Referenced by getBoundingBox(), GetLength(), hitTest(), hitTest(), makeEffectiveShapes(), MakeEffectiveShapesForStroking(), SCH_SHAPE::Plot(), TransformShapeToPolygon(), and UpdateHatching().
|
protectedvirtualinherited |
Reimplemented in SCH_LABEL_BASE.
Definition at line 587 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), ExtractTextVarReferences(), m_shown_text, m_shown_text_has_text_var_refs, m_text, m_text_var_refs, and UnescapeString().
Referenced by SCH_LABEL_BASE::cacheShownText(), CopyText(), EDA_TEXT(), Empty(), Replace(), SetText(), and SwapText().
Calc arc start and end angles such that aStartAngle < aEndAngle.
Each may be between -360.0 and 360.0.
Definition at line 1350 of file eda_shape.cpp.
References ANGLE_360, getCenter(), GetEnd(), and GetStart().
Referenced by CREEPAGE_GRAPH::Addshape(), BOARD_ADAPTER::addShape(), computeArcBBox(), KIGFX::PCB_PAINTER::draw(), GetArcAngle(), hitTest(), makeShortenedBodyShapes(), BRDITEMS_PLOTTER::PlotShape(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveArc(), SegmentIntersectsBoard(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), and TransformWithLineEndingsToPolygon().
|
inlineinherited |
Definition at line 93 of file pcb_shape.h.
References EDA_SHAPE::calcEdit(), and syncLibCoords().
Referenced by DRAWING_TOOL::drawShape().
|
protectedinherited |
Definition at line 3124 of file eda_shape.cpp.
References std::abs(), ANGLE_0, ANGLE_180, ANGLE_360, ANGLE_90, ARC, BEZIER, center, CIRCLE, EDA_ANGLE::Cos(), VECTOR2< T >::Distance(), ELLIPSE, ELLIPSE_ARC, GetArcAngle(), GetEnd(), getMaxError(), GetPointCount(), GetPolyShape(), GetRadius(), GetShape(), GetStart(), KiROUND(), m_arcCenter, m_editState, m_ellipse, m_end, m_start, SHAPE_POLY_SET::Outline(), POLY, RADIANS_T, radius, RebuildBezierToSegmentsPointsList(), RECTANGLE, SEGMENT, SetArcGeometry(), SetBezierC1(), SetBezierC2(), SetEllipseCenter(), SetEllipseEndAngle(), SetEllipseMajorRadius(), SetEllipseMinorRadius(), SetEllipseRotation(), SetEllipseStartAngle(), SetEnd(), SHAPE_LINE_CHAIN::SetPoint(), SetStart(), SHAPE_T_asString(), EDA_ANGLE::Sin(), sq, VECTOR2< T >::SquaredEuclideanNorm(), UNIMPLEMENTED_FOR, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PCB_SHAPE::CalcEdit(), and SCH_SHAPE::CalcEdit().
|
inlinestatic |
Definition at line 49 of file pcb_textbox.h.
References PCB_TEXTBOX_T, and EDA_ITEM::Type().
Referenced by TEXT_SEARCH_HANDLER::getResultCell().
|
virtualinherited |
Definition at line 658 of file eda_text.cpp.
References m_bbox_cache, and m_bbox_cacheMutex.
Referenced by BOOST_AUTO_TEST_CASE(), cacheShownText(), SCH_FIELD::ClearCaches(), Offset(), PCB_DIMENSION_BASE::OnFootprintTransformed(), PCB_TEXT::OnFootprintTransformed(), PCB_TEXTBOX::OnFootprintTransformed(), Replace(), ResolveFont(), SetAttributes(), SetBoldFlag(), SetFont(), SetHorizJustify(), SetItalicFlag(), SetKeepUpright(), SetLineSpacing(), SetMirrored(), SetMultilineAllowed(), SetTextAngle(), SetTextHeight(), SetTextSize(), SetTextThickness(), SetTextWidth(), SetVertJustify(), SwapAttributes(), and DIALOG_TEXT_PROPERTIES::TransferDataFromWindow().
|
inlineinherited |
Definition at line 154 of file eda_item.h.
References BRIGHTENED, and ClearFlags().
Referenced by KICAD_DIFF::ConfigureSchDiffCanvasContext(), FOOTPRINT_DIFF_WIDGET::DisplayDiff(), SCH_EDIT_FRAME::FocusOnItem(), SYMBOL_EDIT_FRAME::FocusOnItem(), PL_SELECTION_TOOL::unhighlight(), SCH_SELECTION_TOOL::unhighlight(), PCB_SELECTION_TOOL::unhighlightInternal(), and PCB_TEST_SELECTION_TOOL::unhighlightInternal().
|
inlineinherited |
Definition at line 270 of file eda_item.h.
References m_customProperties.
|
inlinevirtualinherited |
Reimplemented in LIB_SYMBOL.
Definition at line 178 of file eda_item.h.
References ClearFlags(), and GetEditFlags().
Referenced by BOARD::Add(), FOOTPRINT::Add(), LIB_SYMBOL::ClearEditFlags(), DRAWING_TOOL::drawShape(), SCH_MOVE_TOOL::finalizeMoveOperation(), PL_DRAWING_TOOLS::PlaceItem(), BOARD_COMMIT::Push(), SCH_EDIT_FRAME::PutDataInPreviousState(), BOARD_COMMIT::Revert(), SCH_ITEM::SwapFlags(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), and FOOTPRINT::UpdateFields().
|
inlineinherited |
Definition at line 160 of file eda_item.h.
References EDA_ITEM_ALL_FLAGS, m_flags, and m_netHighlighted.
Referenced by FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), PNS_KICAD_IFACE::AddItem(), PNS_KICAD_IFACE_GENERATOR::AddItem(), AlignSchematicItemsToGrid(), SCH_MOVE_TOOL::AlignToGrid(), BACK_ANNOTATE::applyChangelist(), PCB_CONTROL::ApplyDesignBlockLayout(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), FOOTPRINT::BuildCourtyardCaches(), ClearBrightened(), ClearEditFlags(), ClearSelected(), ClearTempFlags(), SYMBOL_EDITOR_EDIT_TOOL::Copy(), MULTICHANNEL_TOOL::copyRuleAreaContents(), FOOTPRINT_EDITOR_CONTROL::CreateFootprint(), SYMBOL_EDITOR_PIN_TOOL::CreateImagePins(), PCB_TOOL_BASE::doInteractiveItemPlacement(), SCH_MOVE_TOOL::doMoveSelection(), KIGFX::SCH_PAINTER::draw(), SCH_ITEM::Duplicate(), PCB_TUNING_PATTERN::EditCancel(), PCB_VIA_STACK::EditCancel(), PCB_VIA_STITCH::EditCancel(), PCB_TUNING_PATTERN::EditFinish(), PCB_VIA_STACK::EditFinish(), PCB_VIA_STITCH::EditFinish(), BOARD::ExchangeFootprint(), FOOTPRINT_EDIT_FRAME::findOrCreateFootprintInstanceTab(), SCH_IO_KICAD_SEXPR::Format(), SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), SYMBOL_EDIT_FRAME::GetSymbolFromUndoList(), SCH_SELECTION_TOOL::GuessSelectionCandidates(), SCH_COLLECTOR::Inspect(), FOOTPRINT_EDIT_FRAME::LoadFootprintFromLibrary(), SCH_IO_PADS::LoadSchematicFile(), SCH_ALIGN_TOOL::moveItem(), FOOTPRINT_EDITOR_CONTROL::NewFootprint(), FOOTPRINT_EDIT_FRAME::OpenProjectFiles(), SCH_EASYEDAPRO_PARSER::ParseSchematic(), SCH_EASYEDAPRO_V3_PARSER::ParseSchematic(), PCB_BASE_FRAME::PlaceFootprint(), DRAWING_TOOL::PlaceMicroviaStack(), SYMBOL_EDITOR_PIN_TOOL::PlacePin(), SCH_MOVE_TOOL::preprocessBreakOrSliceSelection(), SCH_COMMIT::pushSchEdit(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), PCB_SELECTION_TOOL::RebuildSelection(), PAD::Recombine(), FOOTPRINT_EDIT_FRAME::RefreshLibraryFootprintTab(), GERBVIEW_FRAME::RemapLayers(), SCH_COMMIT::Revert(), DRC_TEST_PROVIDER_DISALLOW::Run(), ISSUE22864_FIXTURE::RunAlignmentAndVerify(), ISSUE22864_FIXTURE::RunAlignmentAndVerifyNoSkew(), FOOTPRINT_EDIT_FRAME::SaveFootprintInLibrary(), HEADLESS_FOOTPRINT_CONTEXT::SaveFootprintInLibrary(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), SCH_IO_KICAD_SEXPR_LIB_CACHE::savePin(), SCH_SELECTION_TOOL::SelectMultiple(), SetIsShownAsBitmap(), SCH_DRAWING_TOOLS::TwoClickPlace(), SCH_SELECTION_TOOL::unhighlight(), SCH_SHAPE::UpdateHatching(), and SCOPED_FLAGS_CLEANER::~SCOPED_FLAGS_CLEANER().
|
virtualinherited |
Reimplemented in PCB_DIMENSION_BASE, and SCH_FIELD.
Definition at line 652 of file eda_text.cpp.
References m_render_cache.
Referenced by cacheShownText(), PCB_DIMENSION_BASE::ClearRenderCache(), SCH_FIELD::ClearRenderCache(), PCB_TABLE::Normalize(), SCH_TABLE::Normalize(), PCB_TEXT::Offset(), PCB_TEXT::OnFootprintTransformed(), PCB_TEXTBOX::OnFootprintTransformed(), Replace(), SetAttributes(), SetBoldFlag(), SetFont(), SetHorizJustify(), SetItalicFlag(), SetKeepUpright(), SetLineSpacing(), SetMirrored(), SetMultilineAllowed(), SetTextAngle(), SetTextHeight(), SetTextSize(), SetTextThickness(), SetTextWidth(), SetVertJustify(), SetVisible(), SwapAttributes(), and DIALOG_TEXT_PROPERTIES::TransferDataFromWindow().
|
inlineinherited |
Definition at line 153 of file eda_item.h.
References ClearFlags(), and SELECTED.
Referenced by PCB_POINT_EDITOR::addCorner(), BOOST_AUTO_TEST_CASE(), FOOTPRINT_DIFF_WIDGET::DisplayDiff(), EDIT_TOOL::Duplicate(), LIB_SYMBOL::LIB_SYMBOL(), ARRAY_TOOL::onDialogClosed(), DRAWING_TOOL::PlaceGridItem(), SCH_COMMIT::Revert(), GRAPHIC_EDIT_TOOL::runInteractive(), SCH_TOOL_BASE< T >::saveCopyInUndoList(), SCH_COMMIT::Stage(), PL_SELECTION_TOOL::unhighlight(), SCH_SELECTION_TOOL::unhighlight(), PCB_SELECTION_TOOL::unhighlightInternal(), PCB_TEST_SELECTION_TOOL::unhighlightInternal(), and GERBVIEW_SELECTION_TOOL::unselectVisually().
|
inlinevirtualinherited |
Reimplemented in LIB_SYMBOL.
Definition at line 191 of file eda_item.h.
References ClearFlags(), and GetTempFlags().
Referenced by LIB_SYMBOL::ClearTempFlags(), SCH_EDIT_FRAME::PutDataInPreviousState(), and SCH_ITEM::SwapFlags().
|
overridevirtual |
Tests whether the border is disabled, as configured by the stroke.
Reimplemented from PCB_SHAPE.
Definition at line 813 of file pcb_textbox.cpp.
References PCB_TEXTBOX().
|
inherited |
Definition at line 3465 of file eda_shape.cpp.
References ARC, EDA_ANGLE::AsTenthsOfADegree(), BEZIER, ELLIPSE< NumericType >::Center, SHAPE_POLY_SET::CVertex(), EDA_SHAPE(), ELLIPSE, ELLIPSE_ARC, ELLIPSE< NumericType >::EndAngle, GetArcMid(), STROKE_PARAMS::GetLineStyle(), GetPolyShape(), STROKE_PARAMS::GetWidth(), m_bezierC1, m_bezierC2, m_bezierPoints, m_cornerRadius, m_ellipse, m_end, m_fill, m_shape, m_start, m_stroke, ELLIPSE< NumericType >::MajorRadius, ELLIPSE< NumericType >::MinorRadius, POLY, RECTANGLE, ELLIPSE< NumericType >::Rotation, ELLIPSE< NumericType >::StartAngle, TEST, TEST_E, TEST_PT, and SHAPE_POLY_SET::TotalVertices().
Referenced by SCH_SHAPE::compare(), and BOARD::cmp_drawings::operator()().
|
inherited |
Definition at line 1205 of file eda_text.cpp.
References EDA_TEXT(), GetFontName(), GetTextPos(), m_attributes, m_text, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by operator<(), operator==(), and operator>().
|
protectedinherited |
Definition at line 2239 of file eda_shape.cpp.
References ANGLE_0, ANGLE_180, ANGLE_270, ANGLE_90, CalcArcAngles(), GetRadius(), IsAnyFill(), m_arcCenter, m_end, m_start, BOX2< Vec >::Merge(), EDA_ANGLE::Normalize(), radius, and BOX2< Vec >::SetOrigin().
Referenced by getBoundingBox().
|
protectedinherited |
Definition at line 992 of file eda_text.cpp.
References FOR_GUI, GetShownText(), MARKUP::MARKUP_PARSER::Parse(), recursiveDescent(), and TO_UTF8.
Referenced by SCH_TEXT::HasHypertext(), and SCH_TEXTBOX::HasHypertext().
|
inlineinherited |
Definition at line 86 of file pcb_shape.h.
References EDA_SHAPE::continueEdit(), result, and syncLibCoords().
Referenced by DRAWING_TOOL::drawShape().
|
protectedinherited |
Definition at line 3085 of file eda_shape.cpp.
References SHAPE_LINE_CHAIN::Append(), ARC, BEZIER, CIRCLE, SHAPE_LINE_CHAIN::CLastPoint(), SHAPE_LINE_CHAIN::CPoint(), ELLIPSE, ELLIPSE_ARC, SHAPE_LINE_CHAIN::GetPointCount(), GetPolyShape(), GetShape(), m_editState, SHAPE_POLY_SET::Outline(), POLY, RECTANGLE, SEGMENT, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by PCB_SHAPE::ContinueEdit(), and SCH_SHAPE::ContinueEdit().
|
overridevirtual |
Reimplemented from PCB_SHAPE.
Definition at line 69 of file pcb_textbox.cpp.
References BOARD_ITEM::BOARD_ITEM(), PCB_TEXTBOX(), PCB_TEXTBOX_T, and EDA_ITEM::Type().
|
inherited |
Definition at line 238 of file eda_text.cpp.
References cacheShownText(), EDA_TEXT(), and m_text.
|
inherited |
Delete this object after removing from its parent if it has one.
Definition at line 303 of file board_item.cpp.
References GetParent(), and BOARD_ITEM_CONTAINER::Remove().
|
inherited |
Definition at line 461 of file eda_shape.cpp.
References Deserialize().
|
inherited |
Definition at line 364 of file eda_shape.cpp.
References ARC, BEZIER, CIRCLE, DEGREES_T, ELLIPSE, ELLIPSE_ARC, FromProtoEnum(), getMaxError(), m_arcCenter, m_arcMidData, m_bezierC1, m_bezierC2, m_editState, m_end, m_endEnding, m_endsSwapped, m_fillColor, m_proxyItem, m_start, m_startEnding, m_stroke, POLY, RebuildBezierToSegmentsPointsList(), RECTANGLE, SEGMENT, SetArcGeometry(), SetBezierC1(), SetBezierC2(), SetCornerRadius(), SetEllipseCenter(), SetEllipseEndAngle(), SetEllipseMajorRadius(), SetEllipseMinorRadius(), SetEllipseRotation(), SetEllipseStartAngle(), SetEnd(), SetFillColor(), SetFillMode(), SetPolyShape(), SetShape(), SetStart(), kiapi::common::UnpackColor(), kiapi::common::UnpackDistance(), kiapi::common::UnpackLineEnding(), kiapi::common::UnpackPolySet(), kiapi::common::UnpackStroke(), kiapi::common::UnpackVector2(), and COLOR4D::UNSPECIFIED.
|
inherited |
Definition at line 220 of file eda_text.cpp.
References Deserialize(), and text.
|
inherited |
Definition at line 201 of file eda_text.cpp.
References GetAttributes(), SetAttributes(), SetHyperlink(), SetText(), SetTextPos(), text, kiapi::common::UnpackTextAttributes(), and kiapi::common::UnpackVector2().
|
overridevirtual |
Deserializes the given protobuf message into this object.
| aContainer | is an Any which should have a concrete type matching this object |
Reimplemented from PCB_SHAPE.
Definition at line 160 of file pcb_textbox.cpp.
References Deserialize().
Referenced by PCB_TABLECELL::Deserialize(), and Deserialize().
| bool PCB_TEXTBOX::Deserialize | ( | const kiapi::board::types::BoardTextBox & | aInput | ) |
Definition at line 117 of file pcb_textbox.cpp.
References FromProtoEnum(), EDA_TEXT::GetAttributes(), TEXT_ATTRIBUTES::m_Angle, EDA_TEXT::SetAttributes(), SetBorderEnabled(), PCB_SHAPE::SetEnd(), BOARD_ITEM::SetIsKnockout(), PCB_SHAPE::SetLayer(), BOARD_ITEM::SetLocked(), SetMarginBottom(), SetMarginLeft(), SetMarginRight(), SetMarginTop(), PCB_SHAPE::SetPosition(), EDA_TEXT::SetText(), SetTextAngle(), BOARD_ITEM::SetUuidDirect(), text, kiapi::common::UnpackCustomProperties(), kiapi::common::UnpackTextAttributes(), and kiapi::common::UnpackVector2().
|
inlinevirtualinherited |
Reimplemented in FOOTPRINT.
Definition at line 456 of file eda_item.h.
References GetItemDescription().
Referenced by SELECTION_TOOL::doSelectionMenu().
|
virtualinherited |
Create a copy of this BOARD_ITEM.
| addToParentGroup | Indicates whether or not the new item is added to the group containing the old item. If true, aCommit must be provided. |
Reimplemented in FOOTPRINT, PCB_TABLE, and ZONE.
Definition at line 352 of file board_item.cpp.
References BOARD_ITEM(), EDA_ITEM::Clone(), EDA_ITEM::GetParentGroup(), group, COMMIT::Modify(), NO_RECURSE, and ResetUuid().
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), PCB_POINT_EDITOR::addCorner(), PCB_GROUP::DeepDuplicate(), KIGFX::PCB_PAINTER::draw(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), EDIT_TOOL::Duplicate(), FOOTPRINT::Duplicate(), ZONE::Duplicate(), FOOTPRINT::DuplicateItem(), ARRAY_TOOL::onDialogClosed(), and GRAPHIC_EDIT_TOOL::runInteractive().
|
inherited |
Definition at line 580 of file eda_text.cpp.
References cacheShownText(), and m_text.
Referenced by SCH_IO_KICAD_LEGACY_LIB_CACHE::LoadPart().
|
inlineinherited |
Definition at line 99 of file pcb_shape.h.
References EDA_SHAPE::endEdit(), and syncLibCoords().
Referenced by DRAWING_TOOL::drawShape().
|
protectedinherited |
Finish editing the shape.
| aClosed | Should polygon shapes be closed (yes for pcbnew/fpeditor, no for libedit). |
Definition at line 3394 of file eda_shape.cpp.
References ARC, BEZIER, CIRCLE, SHAPE_LINE_CHAIN::CLastPoint(), SHAPE_LINE_CHAIN::CPoint(), ELLIPSE, ELLIPSE_ARC, SHAPE_LINE_CHAIN::GetPointCount(), GetPolyShape(), GetShape(), m_editState, SHAPE_POLY_SET::Outline(), POLY, recalcEllipseArcEndpoints(), RECTANGLE, SHAPE_LINE_CHAIN::Remove(), SEGMENT, SHAPE_LINE_CHAIN::SetClosed(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by PCB_SHAPE::EndEdit(), and SCH_SHAPE::EndEdit().
|
inlineinherited |
Have the start and end points been swapped since they were set?
Definition at line 452 of file eda_shape.h.
References m_endsSwapped.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
inherited |
Definition at line 619 of file eda_text.cpp.
References EXPRESSION_EVALUATOR::Evaluate().
Definition at line 137 of file eda_item.cpp.
References EDA_ITEM(), GetParent(), and Type().
Referenced by BOARD_ITEM::GetBoard(), BOARD_ITEM::GetBoard(), BOARD_ITEM::GetParentFootprint(), SCH_ITEM::GetParentSymbol(), SCH_ITEM::GetParentSymbol(), and SCH_ITEM::Schematic().
|
virtualinherited |
Check if a board offering aEnabledLayers can hold this item.
A layer-agnostic item always fits; anything else needs at least one of its own layers enabled. aCopperLayerCount is passed rather than read from the item because the item may still belong to the board it is being copied from.
Reimplemented in FOOTPRINT, and PCB_VIA.
Definition at line 37 of file board_item.cpp.
References GetLayerSet(), and IsLayerAgnostic().
Referenced by BOOST_AUTO_TEST_CASE(), and PCB_VIA::FitsEnabledLayers().
|
overridevirtual |
Flip this object, i.e.
change the board side for this object.
| aCentre | the rotation point. |
| aFlipDirection | the flip direction |
Reimplemented from PCB_SHAPE.
Definition at line 676 of file pcb_textbox.cpp.
References ANGLE_180, PCB_SHAPE::Flip(), GetTextAngle(), EDA_TEXT::IsMirrored(), BOARD_ITEM::IsSideSpecific(), LEFT_RIGHT, m_libTextAngle, EDA_TEXT::SetMirrored(), and EDA_TEXT::SetTextAngle().
|
protectedinherited |
Definition at line 1150 of file eda_shape.cpp.
References ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, getMaxError(), GetPolyShape(), m_arcCenter, m_bezierC1, m_bezierC2, m_ellipse, m_end, m_hatchingDirty, m_shape, m_start, MIRROR(), SHAPE_POLY_SET::Mirror(), POLY, RebuildBezierToSegmentsPointsList(), recalcEllipseArcEndpoints(), RECTANGLE, SEGMENT, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by PCB_SHAPE::Flip(), PCB_SHAPE::Mirror(), SCH_SHAPE::MirrorHorizontally(), and SCH_SHAPE::MirrorVertically().
|
inlineinherited |
Definition at line 247 of file eda_text.h.
References GetHorizJustify(), GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, and SetHorizJustify().
Referenced by AdjustTextForSymbolOrientation(), SCH_TEXT::MirrorHorizontally(), SCH_TEXT::MirrorSpinStyle(), SCH_TEXT::MirrorVertically(), SCH_TEXT::Rotate90(), and SimulateRenderTransform().
|
virtualinherited |
Output the object to aFormatter in s-expression form.
| aFormatter | The OUTPUTFORMATTER object to write to. |
| aControlBits | The control bit definition for object specific formatting. |
| IO_ERROR | on write error. |
Definition at line 1063 of file eda_text.cpp.
References CTL_OMIT_COLOR, CTL_OMIT_HYPERLINK, KICAD_FORMAT::FormatBool(), FormatDouble2Str(), EDA_UNIT_UTILS::FormatInternalUnits(), GetAutoThickness(), GetFont(), GetHorizJustify(), GetHyperlink(), GetLineSpacing(), GetTextColor(), GetTextHeight(), GetTextThickness(), GetTextWidth(), GetVertJustify(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_V_ALIGN_CENTER, GR_TEXT_V_ALIGN_TOP, HasHyperlink(), IsBold(), IsItalic(), IsMirrored(), KiROUND(), m_IuScale, OUTPUTFORMATTER::Print(), OUTPUTFORMATTER::Quotew(), and COLOR4D::UNSPECIFIED.
Referenced by SCH_IO_KICAD_SEXPR::saveField(), and SCH_IO_KICAD_SEXPR_LIB_CACHE::saveField().
|
inherited |
Definition at line 84 of file inspectable_impl.h.
References PROPERTY_BASE::get(), PROPERTY_MANAGER::GetProperty(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), T, TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
inherited |
Definition at line 74 of file inspectable.cpp.
References PROPERTY_BASE::getter(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CLASS_D_DESC::CLASS_D_DESC(), MATCH_PROPERTIES_CATALOG::Copy(), KICAD_DIFF::DiffItemProperties(), PROPERTIES_PANEL::getItemValue(), PCBEXPR_VAR_REF::GetValue(), DIALOG_FIND_BY_PROPERTIES::getVariantAwareValue(), KICAD_DIFF::ItemProperties(), plan(), FOOTPRINT::ResolveTextVar(), SCH_SYMBOL::ResolveTextVar(), and SCHEMATIC::SCHEMATIC().
|
inherited |
Definition at line 72 of file inspectable_impl.h.
References PROPERTY_BASE::get(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), T, TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
inherited |
Definition at line 1441 of file eda_shape.cpp.
References CalcArcAngles().
Referenced by BOARD_CONSTRAINT_ADAPTER::ApplyReferenceValues(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), calcEdit(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), GENCAD_EXPORTER::footprintWriteShape(), GetArcMid(), GetLength(), idf_append_shape(), makeEffectiveShapes(), BRDITEMS_PLOTTER::PlotShape(), OUTSET_ROUTINE::ProcessItem(), CONSTRAINT_OVERLAY::render(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), ShapeGetMsgPanelInfo(), AR_MATRIX::TracePcbShape(), and CREEPAGE_OVERLAY::Update().
|
inherited |
Definition at line 1337 of file eda_shape.cpp.
References GetArcAngle(), m_arcCenter, m_arcMidData, m_end, m_start, and RotatePoint().
Referenced by PCB_GRID_HELPER::AddConstructionItems(), PCB_POINT_EDITOR::addCorner(), PAD::AddPrimitive(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), KI_TEST::CheckFpShape(), Compare(), ConnectBoardShapes(), CONVERT_TOOL::CreateLines(), editArcMidKeepEndpoints(), formatArc(), PCB_SHAPE::GetConnectionPoints(), GetEndingTangents(), PCB_SHAPE::GetFocusPosition(), PCB_SHAPE::GetLibraryArcMid(), GRAPH_CONNECTION::GetShapes(), GraphicEditArc(), hash_fp_item(), IsClockwiseArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadArc(), CONVERT_TOOL::makePolysFromChainedSegs(), SCH_SHAPE::Plot(), processShapeSegment(), CONVERT_TOOL::SegmentToArc(), Serialize(), SetArcGeometry(), PCB_SHAPE::syncLibCoords(), PLOTTER::ThickArc(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), TransformShapeToPolygon(), and ARC_GEOM_SYNCER::updateSME().
|
inlineinherited |
Definition at line 270 of file eda_text.h.
References m_attributes.
Referenced by FEATURES_MANAGER::AddText(), BOARD_ADAPTER::addText(), PCB_IO_IPC2581::addText(), LIB_SYMBOL::Compare(), SCH_FIELD::compare(), MULTICHANNEL_TOOL::copyRuleAreaContents(), Deserialize(), PCB_TEXTBOX::Deserialize(), SCH_TEXTBOX::Deserialize(), KIGFX::DS_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), DS_DRAW_ITEM_TEXT::GetApproxBBox(), GetEffectiveTextShape(), PCB_TEXT::GetKnockoutCache(), GetRenderCache(), SIM_MODEL::MigrateSimModel(), std::hash< EDA_TEXT >::operator()(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), BRDITEMS_PLOTTER::PlotText(), CLIPBOARD_IO::SaveSelection(), Serialize(), PCB_TEXTBOX::Serialize(), SCH_TEXTBOX::Serialize(), PCB_TEXT::TransformTextToPolySet(), and PCB_TEXTBOX::TransformTextToPolySet().
|
inlineinherited |
Definition at line 170 of file eda_text.h.
References GetTextThickness().
Referenced by EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), PCB_IO_KICAD_SEXPR::format(), GetTextThicknessProperty(), IsDefaultFormatting(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), and SetAutoThickness().
|
inlineinherited |
Definition at line 365 of file eda_shape.h.
References m_bezierC1.
Referenced by PAD::AddPrimitive(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KI_TEST::CheckFpShape(), ConnectBoardShapes(), PCB_IO_KICAD_SEXPR::format(), formatBezier(), GetEndingTangents(), PCB_SHAPE::GetLibraryBezierC1(), hash_fp_item(), hashShape(), SCH_SHAPE::Plot(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveBezier(), Serialize(), GRAPHICS_IMPORTER::setupSplineOrLine(), PCB_SHAPE::syncLibCoords(), TransformShapeToPolygon(), and BEZIER_GEOM_SYNCER::updateBezier().
|
inlineinherited |
Definition at line 368 of file eda_shape.h.
References m_bezierC2.
Referenced by PAD::AddPrimitive(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KI_TEST::CheckFpShape(), ConnectBoardShapes(), PCB_IO_KICAD_SEXPR::format(), formatBezier(), GetEndingTangents(), PCB_SHAPE::GetLibraryBezierC2(), hash_fp_item(), hashShape(), SCH_SHAPE::Plot(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveBezier(), Serialize(), GRAPHICS_IMPORTER::setupSplineOrLine(), PCB_SHAPE::syncLibCoords(), TransformShapeToPolygon(), and BEZIER_GEOM_SYNCER::updateBezier().
|
inlineinherited |
Definition at line 491 of file eda_shape.h.
References m_bezierPoints.
Referenced by FEATURES_MANAGER::AddShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BuildCreepageBoardEdges(), GetEndingTangents(), GetLineEndingEndpoints(), idf_append_shape(), GRAPHICS_CLEANER::isNullShape(), makeBezierChain(), CONVERT_TOOL::makePolysFromChainedSegs(), processShapeSegment(), CONSTRAINT_OVERLAY::render(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), and GRAPHICS_IMPORTER::setupSplineOrLine().
|
virtualinherited |
Definition at line 95 of file board_item.cpp.
References BOARD, EDA_ITEM::findParent(), PCB_T, and EDA_ITEM::Type().
|
virtualinherited |
Return the BOARD in which this BOARD_ITEM resides, or NULL if none.
Definition at line 86 of file board_item.cpp.
References BOARD, EDA_ITEM::findParent(), PCB_T, and EDA_ITEM::Type().
Referenced by CN_CONNECTIVITY_ALGO::Add(), FOOTPRINT::Add(), COMPONENTS_MANAGER::AddComponent(), BOARD_ADAPTER::addShape(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::applyDataToFootprint(), PCB_BARCODE::AssembleBarcode(), BOARD_ITEM_DESC::BOARD_ITEM_DESC(), BoardCopperLayerCount(), BoardLayerCount(), BoardLayerSet(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CN_CONNECTIVITY_ALGO::Build(), FOOTPRINT::BuildNetTieCache(), ZONE::BuildSmoothedPoly(), ZONE::CacheBoundingBox(), TMATCH::checkCandidateNetConsistency(), collidesWithArea(), ConstraintItemIsLocked(), PG_NET_SELECTOR_EDITOR::CreateControls(), PCB_TUNING_PATTERN::CreateNew(), FOOTPRINT::DeserializeDefinition(), PCB_GROUP::DeserializeGroup(), BOARD_INSPECTION_TOOL::DiffFootprint(), DIMENSION_DESC::DIMENSION_DESC(), doIntersectsAreaFunc(), KIGFX::PCB_PAINTER::Draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::drawChartSymbols(), KIGFX::PCB_PAINTER::drawDrillMarks(), KIGFX::PCB_PAINTER::drawDrillSymbol(), ZONE::Duplicate(), enclosedByAreaFunc(), existsOnLayerFunc(), ZONE_FILLER::Fill(), FOOTPRINT_EDIT_FRAME::findOrCreateFootprintInstanceTab(), PAD::FlashLayer(), PCB_VIA::FlashLayer(), FOOTPRINT::Flip(), PAD::Flip(), PCB_ARC::Flip(), PCB_BARCODE::Flip(), PCB_DIMENSION_BASE::Flip(), PCB_DRILL_MAP::Flip(), PCB_GENERATOR::Flip(), PCB_POINT::Flip(), PCB_REFERENCE_IMAGE::Flip(), PCB_SHAPE::Flip(), PCB_TABLE::Flip(), PCB_TARGET::Flip(), PCB_TEXT::Flip(), PCB_TRACK::Flip(), PCB_VIA::Flip(), PCB_VIA_STACK::Flip(), ZONE::Flip(), FOOTPRINT::FootprintNeedsUpdate(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), fromToFunc(), PCB_DRILL_MAP::GetBoardOutlines(), FOOTPRINT::GetBoundingBox(), NETINFO_ITEM::GetBoundingBox(), PCB_DRILL_MAP::GetBoundingBox(), ZONE::GetBoundingBox(), FOOTPRINT::GetBoundingHull(), FOOTPRINT::GetBoundingHull(), PCB_BASE_EDIT_FRAME::GetContextualTextVars(), PCB_TRACK::GetDelay(), BOARD_CONNECTED_ITEM::GetDisplayNetname(), PCB_VIA::GetDrillConstraint(), FOOTPRINT::GetDynamicProperties(), BOARD_CONNECTED_ITEM::GetEffectiveNetClass(), GetEmbeddedFonts(), getFieldFunc(), PCB_VIA_STITCH::GetGuardedNetCode(), PCB_SHAPE::getHatchingKnockouts(), ZONE::GetInteractingZones(), PAD::GetItemDescription(), PCB_SHAPE::GetItemDescription(), ZONE::GetItemDescription(), PCB_PROPERTIES_PANEL::getItemValue(), FOOTPRINT::GetLayerBoundingBox(), GetLayerName(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getLiveFieldValueForVariant(), GetMaxError(), PCB_VIA::GetMinAnnulus(), FOOTPRINT::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfo(), PCB_TUNING_PATTERN::GetMsgPanelInfo(), ZONE::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfoBase_Common(), PCB_VIA_STITCH::GetNetCode(), BOARD_CONNECTED_ITEM::GetNetnameMsg(), PCB_VIA::GetOutermostConnectedLayers(), BOARD_CONNECTED_ITEM::GetOwnClearance(), PAD::GetPostMachiningKnockout(), PCB_VIA::GetPostMachiningKnockout(), PCB_TUNING_PATTERN::GetPreviewItems(), ALIGN_DISTRIBUTE_TOOL::GetSelections(), PCB_MARKER::GetSeverity(), PCB_FIELD::GetShownText(), PCB_TABLECELL::GetShownText(), PCB_TEXT::GetShownText(), PCB_TEXTBOX::GetShownText(), FOOTPRINT::GetSide(), PAD::GetSolderMaskExpansion(), PCB_SHAPE::GetSolderMaskExpansion(), PCB_TRACK::GetSolderMaskExpansion(), PCB_VIA::GetSolderMaskExpansion(), PAD::GetSolderPasteMargin(), PCB_DRILL_MAP::GetSpanChoice(), PCB_DRILL_MAP::GetSymbolExtent(), PCB_FOOTPRINT_FIELD_PROPERTY::getter(), BOARD::GetTrackLength(), PCB_DIMENSION_BASE::GetValueFieldText(), PCB_DIMENSION_BASE::GetValueMode(), DIALOG_FIND_BY_PROPERTIES::getVariantAwareValue(), PCB_TRACK::GetWidthConstraint(), PCB_VIA::GetWidthConstraint(), PCB_VIA_STITCH::GetZonesNeedingRefillAfterUpdate(), hasExactNetclassFunc(), hasNetChainFunc(), PCB_DRILL_MAP::HitTest(), inDiffPairFunc(), inNetChainClassFunc(), inNetChainFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), PAD::IsBackdrilledOrPostMachined(), PCB_VIA::IsBackdrilledOrPostMachined(), isCoupledDiffPairFunc(), PCB_VIA::IsGhostLayer(), IsLocked(), IsSideSpecific(), PCB_VIA::IsTented(), LayerMaskDescribe(), PCB_VIA::LayerMaskDescribe(), ZONE::Move(), CN_VISITOR::operator()(), FOOTPRINT::operator=(), FOOTPRINT::operator=(), PCB_IO_EAGLE::packageWire(), padNeedsUpdate(), PartitionNetChainAroundNet(), PCB_DRILL_MAP::PCB_DRILL_MAP(), ZONE_PAINTER::PCB_PAINTER(), PCB_DRAW_PANEL_GAL::prepareGridSources(), SPRINT_LAYOUT_PARSER::processCircle(), SPRINT_LAYOUT_PARSER::processLine(), SPRINT_LAYOUT_PARSER::processPad(), SPRINT_LAYOUT_PARSER::processPoly(), PCB_TUNING_PATTERN::recoverBaseline(), FOOTPRINT::Remove(), BOARD::ResolveDRCExclusions(), FOOTPRINT::ResolveTextVar(), FOOTPRINT::ResolveTextVar(), FOOTPRINT::Serialize(), PCB_ARC::Serialize(), PCB_BARCODE::Serialize(), PCB_DIMENSION_BASE::Serialize(), PCB_GROUP::Serialize(), PCB_POINT::Serialize(), PCB_REFERENCE_IMAGE::Serialize(), PCB_SHAPE::Serialize(), PCB_TABLE::Serialize(), PCB_TEXT::Serialize(), PCB_TEXTBOX::Serialize(), PCB_TRACK::Serialize(), PCB_VIA::Serialize(), ZONE::Serialize(), PAD::SetAttribute(), PCB_VIA::SetBottomLayer(), PCB_VIA_STITCH::SetGuardedNetCode(), PCB_SHAPE::SetIsProxyItem(), BOARD_CONNECTED_ITEM::SetLayer(), PCB_VIA::SetLayerPair(), PAD::SetLayerSet(), BOARD_CONNECTED_ITEM::SetNetCode(), PCB_TUNING_PATTERN::SetNetCode(), PCB_VIA_STITCH::SetNetCode(), PCB_DRILL_MAP::SetSpanChoice(), PCB_FOOTPRINT_FIELD_PROPERTY::setter(), PCB_VIA::SetTopLayer(), PCB_DIMENSION_BASE::SetUnitsMode(), PCB_FIELDS_GRID_TABLE::SetValueAsLong(), PCB_TUNING_PATTERN::ShowPropertiesDialog(), PCB_VIA_STACK::ShowPropertiesDialog(), PCB_VIA_STITCH::ShowPropertiesDialog(), PCB_TEXT::StyleFromSettings(), PCB_TEXTBOX::StyleFromSettings(), SwapItemData(), DRC_TEST_PROVIDER_SOLDER_MASK::testItemAgainstItems(), CONNECTIVITY_DATA::TestTrackEndpointDangling(), BOARD_CONNECTED_ITEM::UnpackNet(), ZONE_PRIORITY_CONTEXT_MENU::update(), BOARD::UpdateRatsnestExclusions(), PCB_PROPERTIES_PANEL::valueChanged(), FOOTPRINT::ViewBBox(), PAD::ViewBBox(), PCB_TRACK::ViewBBox(), PAD::ViewGetLayers(), PCB_VIA::ViewGetLayers(), PAD::ViewGetLOD(), PCB_REFERENCE_IMAGE::ViewGetLOD(), PCB_VIA::ViewGetLOD(), ZONE::ZONE(), and zoneNeedsUpdate().
|
inline |
Definition at line 205 of file pcb_textbox.h.
References EDA_SHAPE::m_stroke.
Referenced by PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC().
|
overridevirtual |
Reimplemented from EDA_SHAPE.
Definition at line 284 of file pcb_textbox.cpp.
References ANGLE_180, ANGLE_270, ANGLE_90, EDA_TEXT::GetDrawRotation(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetEndX(), EDA_SHAPE::GetEndY(), EDA_SHAPE::GetStart(), EDA_SHAPE::GetStartX(), and EDA_SHAPE::GetStartY().
|
overridevirtual |
Return the orthogonal bounding box of this object for display purposes.
This box should be an enclosing perimeter for visible components of this object, and the units should be in the pcb or schematic coordinate system. It is OK to overestimate the size by a few counts.
Reimplemented from PCB_SHAPE.
Definition at line 756 of file pcb_textbox.cpp.
References GetCorners(), PCB_SHAPE::GetWidth(), BOX2< Vec >::Inflate(), BOX2< Vec >::Merge(), and BOX2< Vec >::Normalize().
Referenced by BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::drawChartSymbols(), HitTest(), HitTest(), and BRDITEMS_PLOTTER::PlotChartSymbols().
|
protectedinherited |
Definition at line 1594 of file eda_shape.cpp.
References ARC, SHAPE_ELLIPSE::BBox(), BEZIER, buildShapeEllipse(), CIRCLE, computeArcBBox(), ELLIPSE, ELLIPSE_ARC, GetEnd(), GetPolyShape(), GetRadius(), GetRectCorners(), GetStart(), GetWidth(), BOX2< Vec >::Inflate(), m_bezierPoints, m_shape, BOX2< Vec >::Merge(), BOX2< Vec >::Normalize(), POLY, RECTANGLE, SEGMENT, BOX2< Vec >::SetEnd(), BOX2< Vec >::SetOrigin(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by PCB_SHAPE::GetBoundingBox(), SCH_SHAPE::GetBoundingBox(), getCenter(), GetCornersInSequence(), hitTest(), and TransformShapeToPolygon().
|
inlineoverridevirtualinherited |
This defaults to the center of the bounding box if not overridden.
Reimplemented from BOARD_ITEM.
Definition at line 78 of file pcb_shape.h.
References EDA_SHAPE::getCenter().
Referenced by PCB_GRID_HELPER::AddConstructionItems(), FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCarrier(), KI_TEST::CheckFpShape(), constraintMemberForEditPoint(), ConstraintShapeAnchors(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), PCB_SELECTION_TOOL::extendTableCellSelectionTo(), GENCAD_EXPORTER::footprintWriteShape(), GetConnectionPoints(), GetFocusPosition(), hash_fp_item(), hashShape(), idf_append_shape(), RECTANGLE_POINT_EDIT_BEHAVIOR::MakePoints(), CONVERT_TOOL::makePolysFromClosedGraphics(), outlineProximity(), PCB_IO_EAGLE::packageRectangle(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), CONSTRAINT_OVERLAY::render(), EDIT_TOOL::Rotate(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), SegmentIntersectsBoard(), AR_MATRIX::TracePcbShape(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), CREEPAGE_OVERLAY::Update(), CIRCLE_GEOM_SYNCER::updateCenterPoint(), CIRCLE_GEOM_SYNCER::updateCenterRadius(), RECTANGLE_GEOM_SYNCER::updateCenterSize(), ARC_GEOM_SYNCER::updateCRAA(), ARC_GEOM_SYNCER::updateCSA(), PCB_POINT_EDITOR::updateItem(), RECTANGLE_POINT_EDIT_BEHAVIOR::UpdatePoints(), and LINE_GEOM_SYNCER::updateStartMidpoint().
|
inherited |
Definition at line 1277 of file eda_shape.cpp.
References ARC, BEZIER, BOX2< Vec >::Centre(), CIRCLE, ELLIPSE, ELLIPSE_ARC, getBoundingBox(), m_arcCenter, m_ellipse, m_end, m_shape, m_start, POLY, RECTANGLE, SEGMENT, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by CREEPAGE_GRAPH::Addshape(), BOOST_AUTO_TEST_CASE(), CalcArcAngles(), PCB_SHAPE::GetCenter(), SCH_SHAPE::GetCenter(), getPosition(), hitTest(), hitTest(), makeEffectiveShapes(), SCH_SHAPE::Plot(), PLOTTER::ThickArc(), TransformShapeToPolygon(), and UpdateHatching().
|
inlineoverridevirtual |
|
inlinevirtualinherited |
Return any clearance overrides set in the "classic" (ie: pre-rule) system.
| aSource | [out] optionally reports the source as a user-readable string. |
Reimplemented in PAD.
Definition at line 169 of file board_connected_item.h.
Referenced by DRC_ENGINE::EvalRules().
|
inherited |
Definition at line 435 of file pcb_shape.cpp.
References ARC, EDA_ANGLE::AsRadians(), BEZIER, CIRCLE, circle(), ELLIPSE, ELLIPSE_ARC, EDA_SHAPE::GetArcMid(), GetCenter(), KIGEOM::GetCircleKeyPoints(), EDA_SHAPE::GetEllipseCenter(), EDA_SHAPE::GetEllipseEndAngle(), EDA_SHAPE::GetEllipseMajorRadius(), EDA_SHAPE::GetEllipseMinorRadius(), EDA_SHAPE::GetEllipseRotation(), EDA_SHAPE::GetEllipseStartAngle(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetPolyShape(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetRectCorners(), EDA_SHAPE::GetStart(), EDA_SHAPE::IsSolidFill(), KI_FALLTHROUGH, KiROUND(), M_PI, EDA_SHAPE::m_shape, POLY, RECTANGLE, SEGMENT, EDA_SHAPE::SHAPE_T_asString(), UNDEFINED, and UNIMPLEMENTED_FOR.
Referenced by CN_LIST::Add(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), and DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer().
|
inherited |
Definition at line 599 of file eda_shape.cpp.
References m_cornerRadius.
Referenced by BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), PCB_IO_KICAD_SEXPR::format(), formatRect(), RECTANGLE_POINT_EDIT_BEHAVIOR::MakePoints(), RECTANGLE_POINT_EDIT_BEHAVIOR::MakePoints(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), SegmentIntersectsBoard(), Serialize(), PCB_IO_IPC2581::shapeHash(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), TransformShapeToPolygon(), UpdateHatching(), RECTANGLE_POINT_EDIT_BEHAVIOR::UpdatePoints(), and RECTANGLE_POINT_EDIT_BEHAVIOR::UpdatePoints().
|
overridevirtual |
Return 4 corners for a rectangle or rotated rectangle (stored as a poly).
Unimplemented for other shapes.
Reimplemented from PCB_SHAPE.
Definition at line 232 of file pcb_textbox.cpp.
References GetCornersInSequence(), and EDA_TEXT::GetDrawRotation().
Referenced by BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), and GetBoundingBox().
Reimplemented from EDA_SHAPE.
Definition at line 238 of file pcb_textbox.cpp.
References center, EDA_SHAPE::GetCornersInSequence(), EDA_ANGLE::IsZero(), left, EDA_SHAPE::m_end, EDA_SHAPE::m_shape, EDA_SHAPE::m_start, EDA_ANGLE::Normalize(), RECTANGLE, right, RotatePoint(), and top().
Referenced by PCB_TABLE::DrawBorders(), GetCorners(), GetDrawPos(), PCB_TABLE::GetEffectiveShape(), PCB_TABLECELL::GetShownText(), and GetShownText().
|
inlineinherited |
Custom user-defined string key/value properties attached to this item.
Keys and values are arbitrary strings; their meaning is defined by the user. The only constraint is that keys may not duplicate a built-in property (or field name, for items that have fields).
Definition at line 242 of file eda_item.h.
References m_customProperties.
Referenced by BOOST_AUTO_TEST_CASE(), KICAD_FORMAT::FormatCustomProperties(), and kiapi::common::PackCustomProperties().
|
inherited |
Definition at line 200 of file eda_item.cpp.
References m_customProperties, m_dynamicCustomPropsCache, and TYPE_HASH.
Referenced by GetDynamicProperties(), FOOTPRINT::GetDynamicProperties(), SCH_SHEET::GetDynamicProperties(), and SCH_SYMBOL::GetDynamicProperties().
|
inherited |
Definition at line 188 of file eda_item.cpp.
References m_customProperties.
Referenced by customPropertyFunc(), EDA_CUSTOM_PROPERTY::getter(), hasCustomPropertyFunc(), PCB_PROPERTIES_PANEL::onKeyRenamed(), and SCH_PROPERTIES_PANEL::onKeyRenamed().
|
inherited |
Definition at line 192 of file board_connected_item.cpp.
References BOARD_ITEM::BOARD, emptyString, BOARD_ITEM::GetBoard(), and m_netinfo.
Referenced by KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), and PCB_TRACK::ViewGetLOD().
|
virtualinherited |
Reimplemented in SCH_FIELD, SCH_TEXT, and SCH_TEXTBOX.
Definition at line 630 of file eda_text.cpp.
References KIGFX::RENDER_SETTINGS::GetDefaultFont(), GetFont(), KIFONT::FONT::GetFont(), IsBold(), and IsItalic().
Referenced by FEATURES_MANAGER::AddText(), PCB_IO_IPC2581::addText(), LABEL_BBOX_FIXTURE::CheckTextBoundingBoxWidth(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), GetEffectiveTextShape(), KIGFX::SCH_PAINTER::getFont(), GetInterline(), PCB_TABLECELL::GetShownText(), PCB_TEXTBOX::GetShownText(), GetTextBox(), BRDITEMS_PLOTTER::PlotText(), printOneLineOfText(), PCB_TEXT::TransformTextToPolySet(), and PCB_TEXTBOX::TransformTextToPolySet().
|
overridevirtual |
Reimplemented from EDA_TEXT.
Definition at line 359 of file pcb_textbox.cpp.
References GetDrawPos().
Referenced by KIGFX::PCB_PAINTER::draw(), GetDrawPos(), and TransformTextToPolySet().
| VECTOR2I PCB_TEXTBOX::GetDrawPos | ( | bool | aIsFlipped | ) | const |
Definition at line 365 of file pcb_textbox.cpp.
References center, GetCornersInSequence(), EDA_TEXT::GetDrawRotation(), EDA_TEXT::GetHorizJustify(), GetMarginBottom(), GetMarginLeft(), GetMarginRight(), GetMarginTop(), EDA_TEXT::GetVertJustify(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_INDETERMINATE, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, GR_TEXT_V_ALIGN_BOTTOM, GR_TEXT_V_ALIGN_CENTER, GR_TEXT_V_ALIGN_INDETERMINATE, GR_TEXT_V_ALIGN_TOP, EDA_TEXT::IsMirrored(), RotatePoint(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
inlinevirtualinherited |
Reimplemented in PCB_TEXT, and SCH_FIELD.
Definition at line 419 of file eda_text.h.
References GetTextAngle().
Referenced by FEATURES_MANAGER::AddText(), BOARD_ADAPTER::addText(), PCB_IO_IPC2581::addText(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), PCB_TABLE::DrawBorders(), PCB_IO_KICAD_SEXPR::formatRenderCache(), PCB_TEXTBOX::GetBotRight(), PCB_TEXTBOX::GetCorners(), PCB_TEXTBOX::GetDrawPos(), PCB_TEXTBOX::getDrawRotation(), PCB_TABLE::GetEffectiveShape(), GetEffectiveTextShape(), GetLinePositions(), PCB_TEXTBOX::GetMinSize(), SCH_TEXT::GetOffsetToMatchSCH_FIELD(), GetRenderCache(), PCB_TABLECELL::GetShownText(), PCB_TEXTBOX::GetShownText(), PCB_TEXTBOX::GetTopLeft(), BRDITEMS_PLOTTER::PlotText(), printOneLineOfText(), PCB_TEXTBOX::SetBottom(), PCB_TEXTBOX::SetLeft(), PCB_TEXTBOX::SetRight(), PCB_TEXTBOX::SetTop(), TextHitTest(), and TextHitTest().
|
inlineoverrideprotectedvirtual |
Reimplemented from EDA_SHAPE.
Definition at line 213 of file pcb_textbox.h.
References EDA_TEXT::GetDrawRotation().
|
overridevirtualinherited |
Return dynamically-computed properties specific to this object instance (e.g.
custom fields, pin-map entries). These are NOT registered in PROPERTY_MANAGER and do NOT appear in GetProperties(TYPE_ID).
The returned PROPERTY_BASE* pointers are owned by the object and remain valid until the object is destroyed or its property set changes.
Reimplemented from INSPECTABLE.
Reimplemented in FOOTPRINT, SCH_SHEET, and SCH_SYMBOL.
Definition at line 226 of file eda_item.cpp.
References GetCustomPropertiesAsInspectables().
|
inlineinherited |
Definition at line 170 of file eda_item.h.
References IS_BROKEN, IS_CHANGED, IS_MOVING, IS_NEW, IS_PASTED, m_flags, and STRUCT_DELETED.
Referenced by SCH_EDIT_TOOL::ChangeTextType(), ClearEditFlags(), SCH_EDIT_FRAME::DeleteJunction(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SCH_EDIT_TOOL::editFieldText(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), SCH_EDITOR_CONTROL::EditWithSymbolEditor(), SCH_DRAWING_TOOLS::findWire(), SCH_SYMBOL::GetMsgPanelInfo(), SELECTION_CONDITIONS::IdleSelection(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), SCH_EDIT_FRAME::SelectUnit(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), and SCH_ITEM::SwapFlags().
|
virtualinherited |
Reimplemented in PAD, and PCB_VIA.
Definition at line 405 of file board_item.cpp.
References KIGFX::VIEW_ITEM::GetClass(), and UNIMPLEMENTED_FOR.
Referenced by collidesWithArea(), DRC_RTREE::Insert(), ItemHasDRCViolation(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), DRC_TEST_PROVIDER_HOLE_TO_HOLE::testHoleAgainstHole(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZone(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstZones(), and PCB_CONTROL::UpdateMessagePanel().
|
virtualinherited |
Return the NETCLASS for this item.
Definition at line 137 of file board_connected_item.cpp.
References BOARD_ITEM::BOARD, NETCLASS::Default, BOARD_ITEM::GetBoard(), and m_netinfo.
Referenced by PCB_TUNING_PATTERN::CreateNew(), DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), PCB_TUNING_PATTERN::EditStart(), DRC_ENGINE::EvalRules(), PCB_VIA::GetDrillValue(), BOARD_INSPECTION_TOOL::getItemDescription(), LENGTH_DELAY_CALCULATION::GetLengthCalculationItem(), PAD::GetMsgPanelInfo(), ZONE::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfoBase_Common(), GetNetClassName(), hasExactNetclassFunc(), hasNetclassFunc(), ZONE_PAINTER::PCB_PAINTER(), PCB_EDIT_FRAME::SetTrackSegmentWidth(), PNS::DP_MEANDER_PLACER::Start(), PNS::MEANDER_PLACER::Start(), PNS::MEANDER_SKEW_PLACER::Start(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem().
|
overridevirtual |
Make a set of SHAPE objects representing the PCB_SHAPE.
Caller owns the objects.
Reimplemented from PCB_SHAPE.
Definition at line 827 of file pcb_textbox.cpp.
References PCB_SHAPE::GetEffectiveShape(), EDA_TEXT::GetEffectiveTextShape(), PCB_SHAPE::GetStroke(), and PCB_SHAPE::GetWidth().
|
inherited |
The EffectiveTextPenWidth uses the text thickness if > 1 or aDefaultPenWidth.
Definition at line 422 of file eda_text.cpp.
References BOLD_STROKE_MULTIPLIER, ClampTextPenSize(), GetPenSizeForBold(), GetPenSizeForNormal(), GetTextSize(), GetTextThickness(), GetTextWidth(), IsBold(), isStrokeFont(), and KiROUND().
Referenced by FEATURES_MANAGER::AddText(), BOARD_ADAPTER::addText(), PCB_IO_IPC2581::addText(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), LABEL_BBOX_FIXTURE::CheckTextBoundingBoxWidth(), KIGFX::DS_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), SCH_HIERLABEL::GetBodyBoundingBox(), SCH_LABEL::GetBodyBoundingBox(), SCH_LABEL_BASE::GetBodyBoundingBox(), GetEffectiveTextShape(), PCB_TEXT::getKnockoutMargin(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_DIRECTIVE_LABEL::GetPenWidth(), SCH_FIELD::GetPenWidth(), SCH_TEXT::GetPenWidth(), PCB_TABLECELL::GetShownText(), PCB_TEXTBOX::GetShownText(), SCH_TABLECELL::GetShownText(), SCH_TEXTBOX::GetShownText(), GetTextBox(), GetTextThicknessProperty(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), BRDITEMS_PLOTTER::PlotText(), printOneLineOfText(), PCB_TEXT::TextHitTest(), PCB_TEXT::TransformTextToPolySet(), PCB_TEXTBOX::TransformTextToPolySet(), PCB_DIM_ALIGNED::updateGeometry(), PCB_DIM_LEADER::updateGeometry(), PCB_DIM_ORTHOGONAL::updateGeometry(), PCB_DIM_RADIAL::updateGeometry(), PCB_DIM_ALIGNED::updateText(), and PCB_DIM_ORTHOGONAL::updateText().
|
inherited |
build a list of segments (SHAPE_SEGMENT) to describe a text shape.
| aTriangulate | true to build also the triangulation of each shape |
| aUseTextRotation | true to use the actual text draw rotation. false to build a list of shape for a not rotated text ("native" shapes). |
Definition at line 1125 of file eda_text.cpp.
References SHAPE_SIMPLE::Append(), KIFONT::FONT::Draw(), KIGFX::GAL::DrawGlyphs(), FOR_CANVAS, GetAttributes(), BOX2< Vec >::GetCenter(), GetDrawFont(), GetDrawPos(), GetDrawRotation(), GetEffectiveTextPenWidth(), getFontMetrics(), GetRenderCache(), GetShownText(), GetTextSize(), BOX2< Vec >::GetWidth(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_V_ALIGN_CENTER, KIFONT::FONT::IsOutline(), TEXT_ATTRIBUTES::m_Angle, TEXT_ATTRIBUTES::m_Halign, TEXT_ATTRIBUTES::m_Size, and TEXT_ATTRIBUTES::m_Valign.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_DIMENSION_BASE::GetEffectiveShape(), PCB_TEXT::GetEffectiveShape(), PCB_TEXTBOX::GetEffectiveShape(), SCH_SELECTION_TOOL::GuessSelectionCandidates(), and PCB_SELECTION_TOOL::hitTestDistance().
|
inlinevirtualinherited |
Reimplemented in SCH_SHAPE.
Definition at line 164 of file eda_shape.h.
References GetWidth().
Referenced by PCB_SHAPE::GetBoundingBox(), PCB_SHAPE::GetEffectiveShape(), GetHatchLineWidth(), hitTest(), hitTest(), hitTest(), makeEffectiveShapes(), MakeEffectiveShapesForStroking(), makeShortenedBodyShapes(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), and TransformWithLineEndingsToPolygon().
|
inlineinherited |
Direct read-only access to the underlying ellipse payload.
Useful for copying into a SHAPE_ELLIPSE when building effective collision shapes.
Definition at line 427 of file eda_shape.h.
|
inlineinherited |
Definition at line 377 of file eda_shape.h.
References m_ellipse.
Referenced by PCB_GRID_HELPER::AddConstructionItems(), FEATURES_MANAGER::AddShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), KI_TEST::ellipseEquationAt(), evalEllipsePoint(), formatEllipse(), formatEllipseArc(), PCB_SHAPE::GetConnectionPoints(), hash_fp_item(), hashShape(), FOOTPRINT::cmp_drawings::operator()(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), processShapeSegment(), CONSTRAINT_OVERLAY::render(), Serialize(), shapeNeedsUpdate(), PCB_SHAPE::syncLibCoords(), ELLIPSE_ARC_GEOM_SYNCER::updateAll(), and ELLIPSE_GEOM_SYNCER::updateAll().
|
inlineinherited |
Definition at line 423 of file eda_shape.h.
References m_ellipse.
Referenced by FEATURES_MANAGER::AddShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CheckLibSymbolGraphics(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), formatEllipseArc(), PCB_SHAPE::GetConnectionPoints(), hash_fp_item(), hashShape(), FOOTPRINT::cmp_drawings::operator()(), BRDITEMS_PLOTTER::PlotShape(), processShapeSegment(), CONSTRAINT_OVERLAY::render(), Serialize(), ShapeGetMsgPanelInfo(), shapeNeedsUpdate(), PCB_SHAPE::syncLibCoords(), and ELLIPSE_ARC_GEOM_SYNCER::updateAll().
|
inlineinherited |
Definition at line 386 of file eda_shape.h.
References m_ellipse.
Referenced by FEATURES_MANAGER::AddShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CheckLibSymbolGraphics(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), KI_TEST::ellipseEquationAt(), evalEllipsePoint(), formatEllipse(), formatEllipseArc(), PCB_SHAPE::GetConnectionPoints(), SCH_SHAPE::GetItemDescription(), hash_fp_item(), hashShape(), GRAPHICS_CLEANER::isNullShape(), FOOTPRINT::cmp_drawings::operator()(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), processShapeSegment(), CONSTRAINT_OVERLAY::render(), Serialize(), ShapeGetMsgPanelInfo(), shapeNeedsUpdate(), PCB_SHAPE::syncLibCoords(), ELLIPSE_ARC_GEOM_SYNCER::updateAll(), and ELLIPSE_GEOM_SYNCER::updateAll().
|
inlineinherited |
Definition at line 395 of file eda_shape.h.
References m_ellipse.
Referenced by FEATURES_MANAGER::AddShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CheckLibSymbolGraphics(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), KI_TEST::ellipseEquationAt(), evalEllipsePoint(), formatEllipse(), formatEllipseArc(), PCB_SHAPE::GetConnectionPoints(), SCH_SHAPE::GetItemDescription(), hash_fp_item(), hashShape(), GRAPHICS_CLEANER::isNullShape(), FOOTPRINT::cmp_drawings::operator()(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), processShapeSegment(), CONSTRAINT_OVERLAY::render(), Serialize(), ShapeGetMsgPanelInfo(), shapeNeedsUpdate(), PCB_SHAPE::syncLibCoords(), ELLIPSE_ARC_GEOM_SYNCER::updateAll(), and ELLIPSE_GEOM_SYNCER::updateAll().
|
inlineinherited |
Definition at line 404 of file eda_shape.h.
References m_ellipse.
Referenced by FEATURES_MANAGER::AddShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), KI_TEST::ellipseEquationAt(), evalEllipsePoint(), formatEllipse(), formatEllipseArc(), PCB_SHAPE::GetConnectionPoints(), hash_fp_item(), hashShape(), FOOTPRINT::cmp_drawings::operator()(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), processShapeSegment(), CONSTRAINT_OVERLAY::render(), Serialize(), ShapeGetMsgPanelInfo(), shapeNeedsUpdate(), PCB_SHAPE::syncLibCoords(), ELLIPSE_ARC_GEOM_SYNCER::updateAll(), and ELLIPSE_GEOM_SYNCER::updateAll().
|
inlineinherited |
Definition at line 414 of file eda_shape.h.
References m_ellipse.
Referenced by FEATURES_MANAGER::AddShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_CLEANER::areEquivalent(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CheckLibSymbolGraphics(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), formatEllipseArc(), PCB_SHAPE::GetConnectionPoints(), hash_fp_item(), hashShape(), FOOTPRINT::cmp_drawings::operator()(), BRDITEMS_PLOTTER::PlotShape(), processShapeSegment(), CONSTRAINT_OVERLAY::render(), Serialize(), ShapeGetMsgPanelInfo(), shapeNeedsUpdate(), PCB_SHAPE::syncLibCoords(), and ELLIPSE_ARC_GEOM_SYNCER::updateAll().
|
inlinevirtualinherited |
Reimplemented in BOARD, FOOTPRINT, LIB_SYMBOL, SCH_SYMBOL, and SCHEMATIC.
Definition at line 549 of file eda_item.h.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::Parse().
|
overridevirtualinherited |
Reimplemented from EDA_ITEM.
Definition at line 460 of file board_item.cpp.
References BOARD, and GetBoard().
|
inlineinherited |
Return the ending point of the graphic.
Definition at line 325 of file eda_shape.h.
References m_end.
Referenced by EE_GRID_HELPER::AddConstructionItems(), PCB_GRID_HELPER::AddConstructionItems(), PCB_POINT_EDITOR::addCorner(), PAD::AddPrimitive(), FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), BOARD_CONSTRAINT_ADAPTER::ApplyReferenceValues(), GRAPHICS_CLEANER::areEquivalent(), AssertOutlineValid(), PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCarrier(), buildChainedClosedContour(), BuildConstraintFromItems(), CalcArcAngles(), calcEdit(), KI_TEST::CheckFpShape(), CheckLibSymbolGraphics(), checkNormalizeIsStable(), ConnectBoardShapes(), constraintMemberForEditPoint(), ConstraintShapeAnchors(), PCB_EDIT_TABLE_TOOL::copyCell(), SCH_EDIT_TABLE_TOOL::copyCell(), CONVERT_TOOL::CreateLines(), doConvertOutlineToPolygon(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), DRAWING_TOOL::DrawLine(), KI_ARC_EDIT::EditArcEndpointKeepCenter(), editArcEndpointKeepTangent(), extensionRay(), GENCAD_EXPORTER::footprintWriteShape(), PCB_IO_KICAD_SEXPR::format(), formatArc(), formatBezier(), formatRect(), free_end(), GetBotRight(), PCB_TEXTBOX::GetBotRight(), getBoundingBox(), PCB_SHAPE::GetConnectionPoints(), GetEndingTangents(), GetLength(), GetLineEndingEndpoints(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_TABLECELL::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), GetRectCorners(), CADSTAR_SCH_ARCHIVE_LOADER::getScaledLibPart(), GetSegmentAngle(), GRAPH_CONNECTION::GetShapes(), SCH_TABLECELL::GetShownText(), SCH_TEXTBOX::GetShownText(), CONVERT_TOOL::getStartEndPoints(), PCB_TEXTBOX::GetTopLeft(), GraphicEditArc(), hash_fp_item(), hashShape(), hitTest(), hitTest(), idf_append_shape(), SCH_SHAPE::IsEndPoint(), GRAPHICS_CLEANER::isNullShape(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadArc(), SCH_IO_EAGLE::loadSymbolRectangle(), makeEffectiveShapes(), DSN::SPECCTRA_DB::makeIMAGE(), RECTANGLE_POINT_EDIT_BEHAVIOR::MakePoints(), CONVERT_TOOL::makePolysFromChainedSegs(), makeShortenedBodyShapes(), SCH_SCREEN::MarkConnections(), GRAPHICS_CLEANER::mergeRects(), EDIT_TOOL::ModifyLines(), GRAPHIC_EXTEND_PLANNER::NearestEndpoint(), PCB_SHAPE::Normalize(), PCB_TABLE::Normalize(), SCH_SHAPE::Normalize(), SCH_TABLE::Normalize(), PCB_SHAPE::NormalizeForCompare(), ALLEGRO::BOARD_BUILDER::GRAPHIC_KEY_HASH::operator()(), outlineProximity(), SCH_EDITOR_CONTROL::Paste(), GRAPHIC_EXTEND_PLANNER::Plan(), BRDITEMS_PLOTTER::PlotShape(), OUTSET_ROUTINE::ProcessItem(), DOGBONE_CORNER_ROUTINE::ProcessLinePair(), LINE_CHAMFER_ROUTINE::ProcessLinePair(), LINE_EXTENSION_ROUTINE::ProcessLinePair(), LINE_FILLET_ROUTINE::ProcessLinePair(), processShapeSegment(), GRAPHIC_EXTEND_PLANNER::QueryBounds(), CONSTRAINT_OVERLAY::render(), PCB_GRID_HELPER::ResolveSnap(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveBezier(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveRectangle(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveTextBox(), SegmentIntersectsBoard(), PCB_SELECTION_TOOL::selectAllConnectedShapes(), Serialize(), PCB_TEXTBOX::Serialize(), SCH_TEXTBOX::Serialize(), GRAPHICS_IMPORTER::setupSplineOrLine(), ShapeGetMsgPanelInfo(), PCB_SHAPE::syncLibCoords(), PLOTTER::ThickArc(), AR_MATRIX::TracePcbShape(), DIALOG_TEXT_PROPERTIES::TransferDataFromWindow(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), TransformShapeToPolygon(), TransformWithLineEndingsToPolygon(), CREEPAGE_OVERLAY::Update(), BEZIER_GEOM_SYNCER::updateBezier(), CIRCLE_GEOM_SYNCER::updateCenterPoint(), RECTANGLE_GEOM_SYNCER::updateCorners(), ARC_GEOM_SYNCER::updateCRAA(), LINE_GEOM_SYNCER::updateEnds(), PCB_POINT_EDITOR::updateItem(), RECTANGLE_POINT_EDIT_BEHAVIOR::UpdatePoints(), LINE_GEOM_SYNCER::updatePolar(), and ARC_GEOM_SYNCER::updateSME().
|
inlineinherited |
Definition at line 180 of file eda_shape.h.
References m_endEnding.
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), PCB_IO_KICAD_SEXPR::format(), formatArc(), formatBezier(), formatPoly(), SCH_IO_KICAD_SEXPR_PARSER::ParseSchematic(), SCH_SHAPE::Plot(), and BRDITEMS_PLOTTER::PlotShape().
|
inlineinherited |
Definition at line 194 of file eda_shape.h.
References m_endEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 201 of file eda_shape.h.
References m_endEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 186 of file eda_shape.h.
References m_endEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 196 of file eda_shape.h.
References m_endEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inherited |
Compute outward-facing tangent angles at the start and end of the shape.
When aLineWidth > 0, the tangent accounts for line shortening so that end shapes align with the visible stroke on tight curves.
Definition at line 3968 of file eda_shape.cpp.
References ANGLE_0, ANGLE_180, ANGLE_90, ARC, ARROW_OPEN, BEZIER, bezierLength(), SHAPE_LINE_CHAIN::CPoint(), cw, DEGREES_T, delta, VECTOR2< T >::EuclideanNorm(), findBezierTAtLength(), GetArcMid(), GetBezierC1(), GetBezierC2(), GetBezierPoints(), SHAPE_ARC::GetCentralAngle(), LINE_ENDING::GetCurveOrientationDepth(), GetEnd(), SHAPE_ARC::GetEndAngle(), GetPolyShape(), SHAPE_ARC::GetRadius(), GetStart(), SHAPE_ARC::GetStartAngle(), LINE_ENDING::GetStyle(), m_bezierC1, m_bezierC2, m_end, m_endEnding, m_shape, m_start, m_startEnding, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), POLY, RAD2DEG(), radius, SEGMENT, and ShortenedBezierCurve().
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), GetLineEndingsBoundingBox(), MakeLineEndingEffectiveShapes(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), and TransformLineEndingsToPolygon().
|
inlineinherited |
Definition at line 327 of file eda_shape.h.
References m_end.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), PCB_TEXTBOX::GetBotRight(), GetRectangleWidth(), PCB_TEXTBOX::GetTopLeft(), and DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run().
|
inlineinherited |
Definition at line 326 of file eda_shape.h.
References m_end.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), PCB_TEXTBOX::GetBotRight(), GetRectangleHeight(), PCB_TEXTBOX::GetTopLeft(), and DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run().
|
inlineinherited |
Definition at line 159 of file eda_shape.h.
References m_fillColor.
Referenced by EE_GRAPHIC_TOOL::DrawShape(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), KIGFX::SCH_PAINTER::getRenderColor(), SCH_IO_ALTIUM::ParsePolygon(), SCH_RULE_AREA::Plot(), SCH_SHAPE::Plot(), SCH_IO_KICAD_SEXPR::saveShape(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveSymbolDrawItem(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveTextBox(), SCH_TABLECELL_DESC::SCH_TABLECELL_DESC(), SCH_TEXTBOX::Serialize(), and DIALOG_TEXT_PROPERTIES::TransferDataToWindow().
|
inlineinherited |
Definition at line 148 of file eda_shape.h.
References m_fill.
Referenced by PCB_IO_IPC2581::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KI_TEST::CheckFpShape(), DIPTRACE_SCH_IMPORT_FIXTURE::CountFilledPolysForRefdes(), DIPTRACE_SCH_IMPORT_FIXTURE::CountOpenPolysWithPointCountForRefdes(), KIGFX::SCH_PAINTER::draw(), EE_GRAPHIC_TOOL::DrawShape(), LIB_SYMBOL::FixupDrawItems(), fixupSchFillMode(), PCB_IO_KICAD_SEXPR::format(), KIGFX::SCH_PAINTER::getRenderColor(), hash_fp_item(), IsAnyFill(), IsHatchedFill(), IsSolidFill(), CONVERT_TOOL::makePolysFromClosedGraphics(), SCH_IO_ALTIUM::ParsePolygon(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveBezier(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveCircle(), SCH_IO_KICAD_LEGACY_LIB_CACHE::savePolyLine(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveRectangle(), SCH_IO_KICAD_SEXPR::saveShape(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveSymbolDrawItem(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveTextBox(), SCH_SHAPE_DESC::SCH_SHAPE_DESC(), Serialize(), SCH_TEXTBOX::Serialize(), shapeNeedsUpdate(), and UpdateHatching().
|
inherited |
Definition at line 718 of file eda_shape.cpp.
References CROSS_HATCH, HATCH, m_fill, NO_FILL, NONE, REVERSE_HATCH, and SOLID.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 167 of file eda_item.h.
References m_flags.
Referenced by BACK_ANNOTATE::applyChangelist(), BuildBoardPolygonOutlines(), checkCourtyardCloses(), collidesWithArea(), PCB_TABLE::DeleteMarkedCells(), SCH_TABLE::DeleteMarkedCells(), doConvertOutlineToPolygon(), PL_EDIT_TOOL::DoDelete(), PCB_TOOL_BASE::doInteractiveItemPlacement(), doIntersectsAreaFunc(), KIGFX::SCH_PAINTER::draw(), PCB_TUNING_PATTERN::EditCancel(), PCB_VIA_STITCH::EditCancel(), PCB_TUNING_PATTERN::EditFinish(), PCB_VIA_STITCH::EditFinish(), enclosedByAreaFunc(), DRC_ENGINE::EvalRules(), PCB_SELECTION_TOOL::FilterCollectorForHierarchy(), SCH_SELECTION_TOOL::FilterCollectorForHierarchy(), findNext(), DRC_ITEM::GetViolationLayers(), hasExactNetclassFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), LIB_SYMBOL::LIB_SYMBOL(), CONVERT_TOOL::makePolysFromChainedSegs(), DIALOG_FOOTPRINT_CHECKER::OnSelectItem(), LIB_SYMBOL::operator=(), BOARD_COMMIT::Push(), PAD::Recombine(), DRC_TEST_PROVIDER_CONNECTIVITY::Run(), SCH_EDIT_FRAME::SaveCopyInUndoList(), SCH_IO_KICAD_SEXPR::saveTable(), PAD::SetAttribute(), PCB_VIA::SetBottomLayer(), BOARD_CONNECTED_ITEM::SetLayer(), PCB_VIA::SetLayerPair(), PAD::SetLayerSet(), BOARD_CONNECTED_ITEM::SetNetCode(), PCB_VIA::SetTopLayer(), DS_DATA_ITEM::SyncDrawItems(), DS_DATA_ITEM_BITMAP::SyncDrawItems(), DS_DATA_ITEM_POLYGONS::SyncDrawItems(), CONNECTIVITY_DATA::TestTrackEndpointDangling(), PCB_TUNING_PATTERN::Update(), PCB_VIA_STACK::Update(), and PCB_VIA_STITCH::Update().
|
overridevirtualinherited |
Allows items to return their visual center rather than their anchor.
For some shapes this is similar to GetCenter(), but for unfilled shapes a point on the outline is better.
Reimplemented from EDA_ITEM.
Definition at line 639 of file pcb_shape.cpp.
References ARC, BEZIER, CIRCLE, SHAPE_LINE_CHAIN::CPoint(), EDA_SHAPE::GetArcMid(), GetCenter(), EDA_SHAPE::GetPolyShape(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetStart(), EDA_SHAPE::IsAnyFill(), EDA_SHAPE::m_shape, SHAPE_POLY_SET::Outline(), POLY, RECTANGLE, VECTOR2< T >::x, and VECTOR2< T >::y.
|
inlineinherited |
Definition at line 286 of file eda_text.h.
References m_attributes.
Referenced by BOARD_ADAPTER::addText(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), LIB_SYMBOL::Compare(), KIGFX::DS_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), Format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::formatRenderCache(), GetDrawFont(), SCH_FIELD::GetDrawFont(), SCH_TEXT::GetDrawFont(), SCH_TEXTBOX::GetDrawFont(), GetFontName(), GetFontProp(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_FIELD::GetMsgPanelInfo(), SCH_LABEL_BASE::GetMsgPanelInfo(), SCH_TABLECELL::GetMsgPanelInfo(), SCH_TEXT::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), FIELDS_GRID_TABLE::GetValue(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), isStrokeFont(), SCH_TEXTBOX::Serialize(), SetBold(), and SetItalic().
|
inherited |
Definition at line 169 of file board_item.cpp.
References KIFONT::METRICS::Default().
Referenced by FEATURES_MANAGER::AddText(), BOARD_ADAPTER::addText(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::drawDrillSymbol(), PCB_TEXT::getFontMetrics(), PCB_TEXTBOX::getFontMetrics(), BRDITEMS_PLOTTER::PlotBoardGraphicItem(), BRDITEMS_PLOTTER::PlotDimension(), BRDITEMS_PLOTTER::PlotFootprintGraphicItems(), BRDITEMS_PLOTTER::PlotFootprintTextItems(), PCB_TEXT::TransformTextToPolySet(), and PCB_TEXTBOX::TransformTextToPolySet().
|
inlineoverrideprotectedvirtual |
Reimplemented from EDA_TEXT.
Definition at line 221 of file pcb_textbox.h.
References BOARD_ITEM::GetFontMetrics().
|
inherited |
Definition at line 1016 of file eda_text.cpp.
References GetFont(), and KIFONT::FONT::GetName().
Referenced by Compare(), and IsDefaultFormatting().
|
inherited |
Definition at line 1025 of file eda_text.cpp.
References _, GetFont(), IsEeschemaType(), and KICAD_FONT_NAME.
Referenced by EDA_TEXT_DESC::EDA_TEXT_DESC().
|
inlineinherited |
Definition at line 167 of file view_item.h.
References m_forcedTransparency.
Referenced by KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::getRenderColor(), EDA_ITEM::operator=(), ZONE_PAINTER::PCB_PAINTER(), and LIB_SYMBOL::SetParent().
|
inherited |
Definition at line 415 of file board_item.cpp.
References GetParentFootprint(), and EDA_ITEM::GetPosition().
Referenced by PCB_IO_IPC2581::addLocationNode(), PCB_IO_IPC2581::addPackage(), EDA_DATA::PACKAGE::AddPin(), CHECK_SHAPE_LIBPOS_MIRROR(), PCB_IO_KICAD_SEXPR::format(), PCB_FIELDS_GRID_TABLE::GetValue(), FOOTPRINT::cmp_drawings::operator()(), FOOTPRINT::cmp_pads::operator()(), padNeedsUpdate(), processTextItem(), and PCB_FIELDS_GRID_TABLE::SetValue().
|
inlineoverridevirtual |
|
protectedinherited |
Definition at line 1484 of file eda_shape.cpp.
References _, ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, FRAME_SCH_SYMBOL_EDITOR, IsProxyItem(), m_shape, POLY, RECTANGLE, and SEGMENT.
Referenced by PCB_SHAPE::GetFriendlyName(), and ShapeGetMsgPanelInfo().
|
inherited |
Definition at line 731 of file eda_shape.cpp.
References m_hatchingCache, and UpdateHatching().
Referenced by FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), EXPORTER_STEP::buildGraphic3DShape(), hitTest(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), and TransformShapeToPolygon().
|
overrideprotectedvirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 542 of file pcb_shape.cpp.
References SHAPE_POLY_SET::Append(), ARC_LOW_DEF, B_CrtYd, BOARD_ITEM::BOARD_ITEM(), ERROR_OUTSIDE, F_CrtYd, BOARD_ITEM::GetBoard(), EDA_ITEM::GetBoundingBox(), GetBoundingBox(), EDA_SHAPE::GetHatchLineSpacing(), BOARD_ITEM::GetLayer(), GetLayer(), BOARD_ITEM::GetParentFootprint(), BOX2< Vec >::Intersects(), EDA_TEXT::IsVisible(), PCB_FIELD_T, PCB_SHAPE_T, PCB_TEXT_T, PCB_TEXTBOX_T, RECURSE, and EDA_ITEM::Type().
|
inherited |
Definition at line 742 of file eda_shape.cpp.
References m_hatchingCache, and UpdateHatching().
Referenced by BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), and KIGFX::SCH_PAINTER::draw().
|
inlinevirtualinherited |
Reimplemented in SCH_SHAPE.
Definition at line 166 of file eda_shape.h.
References GetHatchLineWidth().
Referenced by PCB_SHAPE::getHatchingKnockouts(), and UpdateHatching().
|
inlinevirtualinherited |
Reimplemented in SCH_SHAPE.
Definition at line 165 of file eda_shape.h.
References GetEffectiveWidth().
Referenced by KIGFX::PCB_PAINTER::draw(), GetHatchLineSpacing(), and UpdateHatching().
|
inlineinherited |
Definition at line 239 of file eda_text.h.
References m_attributes.
Referenced by AdjustFieldForSymbolOrientation(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), SCH_TEXTBOX::compare(), SCH_DRAWING_TOOLS::createNewText(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), KIGFX::PCB_PAINTER::draw(), EE_GRAPHIC_TOOL::DrawShape(), EDA_TEXT_DESC::EDA_TEXT_DESC(), AUTOPLACER::fieldHPlacement(), FlipHJustify(), Format(), PCB_TEXTBOX::GetDrawPos(), SCH_TEXTBOX::GetDrawPos(), SCH_FIELD::GetEffectiveHorizJustify(), SCH_FIELD::GetMsgPanelInfo(), SCH_TEXT::GetMsgPanelInfo(), SCH_LABEL_BASE::GetSpinStyle(), GetTextBox(), hash_fp_item(), IsDefaultFormatting(), SCH_FIELD::IsHorizJustifyFlipped(), AUTOPLACER::justifyField(), PCB_TEXT::KeepUpright(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), SIM_MODEL::MigrateSimModel(), PCB_TEXT::Mirror(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SCH_TEXT::MirrorHorizontally(), SCH_TEXTBOX::MirrorHorizontally(), SCH_TEXT::MirrorVertically(), SCH_TEXTBOX::MirrorVertically(), SCH_TEXT::NormalizeJustification(), PCB_IO_EAGLE::orientFPText(), SCH_EASYEDA_PARSER::ParseSchematic(), SCH_FIELD::Plot(), positioningChanged(), positioningChanged(), printOneLineOfText(), processTextItem(), SCH_FIELD::Rotate(), SCH_IO_KICAD_LEGACY::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SCH_TEXTBOX::Serialize(), SCH_EDIT_TOOL::Swap(), and swapFieldPositionsWithMatching().
|
inlineinherited |
Definition at line 443 of file eda_text.h.
References m_hyperlink.
Referenced by SCH_EDIT_TOOL::ChangeTextType(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), CLIPBOARD_IO::SaveSelection(), and Serialize().
|
inherited |
Return the distance between two lines of text.
Calculates the distance (pitch) between two lines of text. This distance includes the interline distance plus room for characters like j, {, and [. It also used for single line text, to calculate the text bounding box.
Definition at line 730 of file eda_text.cpp.
References GetDrawFont(), getFontMetrics(), GetInterline(), GetLineSpacing(), GetTextHeight(), and KiROUND().
Referenced by BOOST_AUTO_TEST_CASE(), CADSTAR_ARCHIVE_PARSER::FixTextPositionNoAlignment(), GetInterline(), GetLinePositions(), and SCH_TEXT::Plot().
|
overridevirtual |
Return a user-visible description string of this item.
This description is used in disambiguation menus, the message panel, ERC/DRC reports, etc.
The default version of this function raises an assertion in the debug mode and returns a string to indicate that it was not overridden to provide the object specific text.
| aLong | indicates a long string is acceptable |
Reimplemented from PCB_SHAPE.
Definition at line 799 of file pcb_textbox.cpp.
References _, KIUI::EllipsizeMenuText(), FOR_GUI, BOARD_ITEM::GetLayerName(), GetShownText(), and EDA_TEXT::GetText().
|
inlineoverridevirtualinherited |
Return the primary layer this item is on.
Reimplemented from BOARD_CONNECTED_ITEM.
Definition at line 68 of file pcb_shape.h.
References BOARD_ITEM::m_layer.
Referenced by CN_LIST::Add(), BOARD_ADAPTER::addFootprintShapes(), GRAPHICS_CLEANER::areEquivalent(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BuildBoardPolygonOutlines(), ALLEGRO::BOARD_BUILDER::buildFootprint(), KIGFX::PCB_PAINTER::draw(), KICAD_DIFF::ExtractBoardGeometry(), findClosestOutlineGap(), Flip(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), getHatchingKnockouts(), GraphicEditBoundary(), DSN::SPECCTRA_DB::makeIMAGE(), EDIT_TOOL::ModifyLines(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), BRDITEMS_PLOTTER::PlotBoardGraphicItem(), BRDITEMS_PLOTTER::PlotFootprintGraphicItems(), BRDITEMS_PLOTTER::PlotShape(), DOGBONE_CORNER_ROUTINE::ProcessLinePair(), LINE_CHAMFER_ROUTINE::ProcessLinePair(), LINE_FILLET_ROUTINE::ProcessLinePair(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), PAD::Recombine(), Serialize(), PCB_TEXTBOX::Serialize(), shapeNeedsUpdate(), Similarity(), StyleFromSettings(), PCB_TEXTBOX::StyleFromSettings(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), TestBoardOutlinesGraphicItems(), FOOTPRINT::TransformFPShapesToPolySet(), PCB_TEXTBOX::TransformTextToPolySet(), ViewGetLayers(), and PCB_TEXTBOX::ViewGetLayers().
|
inherited |
Return the name of the PCB layer on which the item resides.
Definition at line 225 of file board_item.cpp.
References BOARD, GetBoard(), BOARD::GetStandardLayerName(), and m_layer.
Referenced by PCB_BARCODE::GetItemDescription(), PCB_DIMENSION_BASE::GetItemDescription(), PCB_DRILL_MAP::GetItemDescription(), PCB_SHAPE::GetItemDescription(), PCB_TEXT::GetItemDescription(), PCB_TEXTBOX::GetItemDescription(), PCB_TRACK::GetItemDescription(), PCB_BARCODE::GetMsgPanelInfo(), PCB_DIM_LEADER::GetMsgPanelInfo(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_DRILL_CHART::GetMsgPanelInfo(), PCB_DRILL_MAP::GetMsgPanelInfo(), PCB_POINT::GetMsgPanelInfo(), PCB_SHAPE::GetMsgPanelInfo(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TARGET::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), ZONE::GetMsgPanelInfo(), FOOTPRINT_SEARCH_HANDLER::getResultCell(), TEXT_SEARCH_HANDLER::getResultCell(), PCB_FIELD::GetShownText(), PCB_TABLECELL::GetShownText(), PCB_TEXT::GetShownText(), PCB_TEXTBOX::GetShownText(), PCB_FIELDS_GRID_TABLE::GetValue(), FABMASTER::loadZone(), and FOOTPRINT::ResolveTextVar().
|
overridevirtualinherited |
Return a std::bitset of all layers on which the item physically resides.
Reimplemented from BOARD_ITEM.
Definition at line 405 of file pcb_shape.cpp.
References B_Cu, B_Mask, F_Cu, F_Mask, m_hasSolderMask, and BOARD_ITEM::m_layer.
Referenced by KI_TEST::CheckFpShape(), PCB_IO_KICAD_SEXPR::format(), BRDITEMS_PLOTTER::PlotShape(), and PCB_SELECTION_TOOL::selectAllConnectedShapes().
| int PCB_TEXTBOX::GetLegacyTextMargin | ( | ) | const |
Definition at line 192 of file pcb_textbox.cpp.
References PCB_SHAPE::GetStroke(), GetTextSize(), PCB_SHAPE::GetWidth(), and KiROUND().
Referenced by PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), and PCB_TEXTBOX().
|
inherited |
Definition at line 537 of file eda_shape.cpp.
References ARC, EDA_ANGLE::AsRadians(), BEZIER, buildShapeEllipse(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CSegment(), VECTOR2< T >::Distance(), ELLIPSE, ELLIPSE_ARC, GetArcAngle(), GetEnd(), SHAPE_ELLIPSE::GetLength(), GetPolyShape(), GetRadius(), GetStart(), SEG::Length(), m_bezierPoints, m_shape, POLY, SEGMENT, SHAPE_LINE_CHAIN::SegmentCount(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), DRAWING_TOOL::drawShape(), DOGBONE_CORNER_ROUTINE::ProcessLinePair(), LINE_CHAMFER_ROUTINE::ProcessLinePair(), LINE_EXTENSION_ROUTINE::ProcessLinePair(), LINE_FILLET_ROUTINE::ProcessLinePair(), ShapeGetMsgPanelInfo(), and PCB_CONTROL::UpdateMessagePanel().
|
inlineinherited |
Definition at line 282 of file pcb_shape.h.
References m_libPoly.
Referenced by PCB_IO_KICAD_SEXPR::format().
|
inherited |
Definition at line 1219 of file pcb_shape.cpp.
References ARC, EDA_SHAPE::GetArcMid(), m_libArcMid, m_libShape, and transformFp().
Referenced by BOOST_AUTO_TEST_CASE(), PCB_IO_KICAD_SEXPR::format(), FOOTPRINT::cmp_drawings::operator()(), and shapeNeedsUpdate().
|
inherited |
Definition at line 1231 of file pcb_shape.cpp.
References EDA_SHAPE::GetBezierC1(), BOARD_ITEM::GetParent(), m_libBezierC1, PCB_PAD_T, transformFp(), and EDA_ITEM::Type().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), FOOTPRINT::cmp_drawings::operator()(), and shapeNeedsUpdate().
|
inherited |
Definition at line 1243 of file pcb_shape.cpp.
References EDA_SHAPE::GetBezierC2(), BOARD_ITEM::GetParent(), m_libBezierC2, PCB_PAD_T, transformFp(), and EDA_ITEM::Type().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), FOOTPRINT::cmp_drawings::operator()(), and shapeNeedsUpdate().
|
inlineinherited |
Definition at line 231 of file pcb_shape.h.
References m_libEllipseCenter.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and PCB_IO_KICAD_SEXPR::format().
|
inlineinherited |
Definition at line 236 of file pcb_shape.h.
References m_libEllipseEndAngle.
Referenced by BOOST_FIXTURE_TEST_CASE(), and PCB_IO_KICAD_SEXPR::format().
|
inlineinherited |
Definition at line 232 of file pcb_shape.h.
References m_libEllipseMajorRadius.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and PCB_IO_KICAD_SEXPR::format().
|
inlineinherited |
Definition at line 233 of file pcb_shape.h.
References m_libEllipseMinorRadius.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and PCB_IO_KICAD_SEXPR::format().
|
inlineinherited |
Definition at line 234 of file pcb_shape.h.
References m_libEllipseRotation.
Referenced by BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and PCB_IO_KICAD_SEXPR::format().
|
inlineinherited |
Definition at line 235 of file pcb_shape.h.
References m_libEllipseStartAngle.
Referenced by BOOST_FIXTURE_TEST_CASE(), and PCB_IO_KICAD_SEXPR::format().
|
inlineinherited |
Definition at line 228 of file pcb_shape.h.
References m_libEnd.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), NormalizeForCompare(), FOOTPRINT::cmp_drawings::operator()(), and shapeNeedsUpdate().
|
inherited |
Definition at line 1255 of file pcb_shape.cpp.
References BOARD_ITEM::GetParent(), EDA_SHAPE::GetPolyShape(), TRANSFORM_TRS::InverseApply(), SHAPE_POLY_SET::IterateWithHoles(), m_libPoly, PCB_PAD_T, SHAPE_POLY_SET::SetVertex(), transformFp(), and EDA_ITEM::Type().
Referenced by BOOST_AUTO_TEST_CASE(), FOOTPRINT::cmp_drawings::operator()(), and shapeNeedsUpdate().
|
inlineinherited |
Definition at line 229 of file pcb_shape.h.
References m_libShape.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), and PCB_TEXTBOX::OnFootprintTransformed().
|
inlineinherited |
Definition at line 227 of file pcb_shape.h.
References m_libStart.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CHECK_SHAPE_LIBPOS_MIRROR(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), NormalizeForCompare(), FOOTPRINT::cmp_drawings::operator()(), and shapeNeedsUpdate().
|
inline |
Text angle in the parent footprint's lib frame, or absolute when not in a footprint.
Definition at line 122 of file pcb_textbox.h.
References m_libTextAngle.
|
inlineinherited |
Definition at line 172 of file eda_shape.h.
References m_stroke.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inherited |
Return the source endpoints used to place line endings.
Definition at line 4155 of file eda_shape.cpp.
References ARC, BEZIER, SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), GetBezierPoints(), GetEnd(), GetPolyShape(), GetStart(), m_shape, SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), POLY, and SEGMENT.
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), GetLineEndingsBoundingBox(), MakeLineEndingEffectiveShapes(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), and TransformLineEndingsToPolygon().
|
inherited |
Definition at line 2904 of file eda_shape.cpp.
References ARROW_OPEN, GetEndingTangents(), GetLineEndingEndpoints(), LINE_ENDING::GetShapes(), LINE_ENDING::GetStrokeWidth(), LINE_ENDING::GetStyle(), hasLineEnding(), BOX2< Vec >::Inflate(), m_endEnding, m_startEnding, BOX2< Vec >::Merge(), NONE, and BOX2< Vec >::Normalize().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_SHAPE::GetBoundingBox(), and SCH_LINE::GetBoundingBox().
|
inherited |
Populate aPositions with the position of each line of a multiline text, according to the vertical justification and the rotation of the whole text.
| aPositions | is the list to populate by the VECTOR2I positions. |
| aLineCount | is the number of lines (not recalculated here for efficiency reasons. |
Definition at line 914 of file eda_text.cpp.
References GetDrawPos(), GetDrawRotation(), GetInterline(), GetVertJustify(), GR_TEXT_V_ALIGN_BOTTOM, GR_TEXT_V_ALIGN_CENTER, GR_TEXT_V_ALIGN_INDETERMINATE, GR_TEXT_V_ALIGN_TOP, RotatePoint(), and VECTOR2< T >::y.
Referenced by FEATURES_MANAGER::AddText(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), BRDITEMS_PLOTTER::PlotText(), and Print().
|
inlineinherited |
Definition at line 298 of file eda_text.h.
References m_attributes.
Referenced by BOOST_AUTO_TEST_CASE(), Format(), GetInterline(), GetTextBox(), FOOTPRINT::cmp_drawings::operator()(), and SCH_TEXTBOX::Serialize().
|
inherited |
Definition at line 3761 of file eda_shape.cpp.
References DEFAULT, m_stroke, and SOLID.
Referenced by EXPORTER_STEP::buildGraphic3DShape(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), hash_fp_item(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), and SCH_TEXTBOX::Serialize().
|
inlinevirtualinherited |
Return any local clearances set in the "classic" (ie: pre-rule) system.
Reimplemented in PAD, and ZONE.
Definition at line 179 of file board_connected_item.h.
Referenced by DRC_ENGINE::EvalRules().
|
inlinevirtualinherited |
Return any local clearances set in the "classic" (ie: pre-rule) system.
| aSource | [out] optionally reports the source as a user-readable string. |
Reimplemented in PAD, and ZONE.
Definition at line 190 of file board_connected_item.h.
|
inlineinherited |
Definition at line 209 of file board_connected_item.h.
References m_localRatsnestVisible.
Referenced by BOARD::ExchangeFootprint().
|
inlineinherited |
Definition at line 339 of file pcb_shape.h.
References m_solderMaskMargin.
Referenced by DRC_ENGINE::EvalRules(), PCB_IO_KICAD_SEXPR::format(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), and Serialize().
|
inline |
Definition at line 110 of file pcb_textbox.h.
References m_marginBottom.
Referenced by PCB_IO_KICAD_SEXPR::format(), GetDrawPos(), GetMinSize(), PCB_TABLECELL::GetShownText(), GetShownText(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), Serialize(), and Similarity().
|
inline |
Definition at line 107 of file pcb_textbox.h.
References m_marginLeft.
Referenced by PCB_TABLE::Autosize(), PCB_IO_KICAD_SEXPR::format(), GetDrawPos(), GetMinSize(), PCB_TABLECELL::GetShownText(), GetShownText(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), Serialize(), and Similarity().
|
inline |
Definition at line 109 of file pcb_textbox.h.
References m_marginRight.
Referenced by PCB_TABLE::Autosize(), PCB_IO_KICAD_SEXPR::format(), GetDrawPos(), GetMinSize(), PCB_TABLECELL::GetShownText(), GetShownText(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), Serialize(), and Similarity().
|
inline |
Definition at line 108 of file pcb_textbox.h.
References m_marginTop.
Referenced by PCB_IO_KICAD_SEXPR::format(), GetDrawPos(), GetMinSize(), PCB_TABLECELL::GetShownText(), GetShownText(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), Serialize(), and Similarity().
|
inherited |
Definition at line 175 of file board_item.cpp.
References ARC_HIGH_DEF, BOARD, and GetBoard().
Referenced by STEP_PCB_MODEL::AddPadShape(), BOARD_ADAPTER::addShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), BOARD_ADAPTER::addText(), DSN::appendPadstackShape(), PAD::BuildEffectivePolygon(), PAD::buildEffectiveShape(), EXPORTER_STEP::buildFootprint3DShapes(), EXPORTER_STEP::buildGraphic3DShape(), ZONE::BuildSmoothedPoly(), EXPORTER_STEP::buildTrack3DShape(), FOOTPRINT::CheckNetTies(), PCB_BARCODE::ComputeTextPoly(), BOARD_ADAPTER::createLayers(), CONVERT_TOOL::CreateLines(), BOARD_ADAPTER::createPadWithMargin(), BOARD_ADAPTER::createTrackWithMargin(), PAD::doCheckPad(), KIGFX::PCB_PAINTER::draw(), PCB_TEXT::GetEffectiveShape(), PCB_SHAPE::getMaxError(), PCB_POINT_EDITOR::makePoints(), CONVERT_TOOL::makePolysFromClosedGraphics(), CONVERT_TOOL::makePolysFromOpenGraphics(), PAD::MergePrimitivesAsPolygon(), BRDITEMS_PLOTTER::PlotShape(), process(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), CONSTRAINT_OVERLAY::render(), PNS_KICAD_IFACE_BASE::syncBarcode(), PNS_KICAD_IFACE_BASE::syncDimension(), PNS_KICAD_IFACE_BASE::syncTextItem(), ZONE::TransformSmoothedOutlineToPolygon(), and GENCAD_EXPORTER::writePadShape().
|
overrideprotectedvirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1691 of file pcb_shape.cpp.
References BOARD_ITEM::GetMaxError().
Referenced by rebakeFromTransform().
|
overridevirtual |
Return a pointer to an image to be used in menus.
The default version returns the right arrow image. Override this function to provide object specific menu images.
Reimplemented from PCB_SHAPE.
Definition at line 807 of file pcb_textbox.cpp.
References add_textbox.
| VECTOR2I PCB_TEXTBOX::GetMinSize | ( | ) | const |
Return the minimum height needed to contain the textbox's wrapped text content plus margins.
Width is unconstrained (returns 0) so text freely rewraps. The constrained axis depends on rotation: y-axis for 0/180, x-axis for 90/270.
Definition at line 198 of file pcb_textbox.cpp.
References std::abs(), ANGLE_270, ANGLE_90, EDA_TEXT::GetDrawRotation(), BOX2< Vec >::GetHeight(), GetMarginBottom(), GetMarginLeft(), GetMarginRight(), GetMarginTop(), EDA_TEXT::GetText(), GetTextAngle(), and EDA_TEXT::GetTextBox().
|
overridevirtual |
Populate aList of MSG_PANEL_ITEM objects with it's internal state for display purposes.
| aFrame | is the EDA_DRAW_FRAME that displays the message panel |
| aList | is the list to populate. |
Reimplemented from PCB_SHAPE.
Definition at line 544 of file pcb_textbox.cpp.
References _, std::abs(), KIUI::EllipsizeStatusText(), EDA_TEXT::GetEffectiveTextPenWidth(), EDA_SHAPE::GetEnd(), EDA_TEXT::GetFont(), BOARD_ITEM::GetLayerName(), EDA_SHAPE::GetStart(), EDA_TEXT::GetText(), GetTextAngle(), EDA_TEXT::GetTextHeight(), GetTextThickness(), EDA_TEXT::GetTextWidth(), BOARD_ITEM::IsLocked(), EDA_TEXT::IsMirrored(), EDA_SHAPE::m_stroke, UNITS_PROVIDER::MessageTextFromValue(), and PCB_EDIT_FRAME_NAME.
|
inlineinherited |
Return #NET_INFO object for a given item.
Definition at line 81 of file board_connected_item.h.
References m_netinfo.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), TEARDROP_MANAGER::buildCrossingStub(), PNS_KICAD_IFACE::createBoardItem(), CONVERT_TOOL::CreateLines(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), PCB_TUNING_PATTERN::EditStart(), EDIT_TOOL::FilletTracks(), PNS::NODE::FindItemByParent(), PAD::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfoBase_Common(), MODEL_ZONES_OVERVIEW::GetValueByRow(), PCB_TUNING_PATTERN::initBaseLines(), isCoupledDiffPairFunc(), CADSTAR_PCB_ARCHIVE_LOADER::makeTracksFromShapes(), ROUTER_TOOL::OptimizeSelected(), PartitionNetChainAroundNet(), BOARD_EDITOR_CONTROL::RepairBoard(), BOARD_INSPECTION_TOOL::reportClearance(), test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run(), PCB_EDIT_FRAME::saveSelectionToDesignBlock(), CONVERT_TOOL::SegmentToArc(), PCB_SELECTION_TOOL::selectNetChain(), PNS_KICAD_IFACE_BASE::syncArc(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), PNS_KICAD_IFACE_BASE::syncPad(), PNS_KICAD_IFACE_BASE::syncTrack(), PNS_KICAD_IFACE_BASE::syncVia(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testKnockoutTextAgainstZone(), PCB_CONTROL::UpdateMessagePanel(), and BOARD_NETLIST_UPDATER::UpdateNetlist().
|
inherited |
Returns the name of the effective netclass.
Primarily for the use of the property system.
Definition at line 156 of file board_connected_item.cpp.
References GetEffectiveNetClass(), and NETCLASS::GetName().
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), and main().
|
inherited |
Definition at line 129 of file board_connected_item.cpp.
References m_netinfo.
Referenced by CREEPAGE_GRAPH::AddNetElements(), TEARDROP_MANAGER::areItemsInSameZone(), BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ZONE_FILLER::buildCopperItemClearances(), PCB_VIA_STITCH::buildPlacementCells(), KI_TEST::CheckFpZone(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkStubLengths(), TEARDROP_MANAGER::collidesWithOtherNets(), computeConstraint(), connectedItemFilter(), PCB_VIA_STACK::CreateFromItems(), GENCAD_EXPORTER::createRoutesSection(), TEARDROP_MANAGER::createTeardrop(), DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), DRAWING_TOOL::DrawVia(), BOARD::ExchangeFootprint(), extractDiffPairCoupledItems(), ZONE_FILLER::Fill(), MULTICHANNEL_TOOL::fixupNet(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), CONNECTIVITY_DATA::GetConnectedItems(), ZONE::GetInteractingZones(), PCB_SHAPE::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfo(), PCB_TUNING_PATTERN::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfoBase_Common(), GetNetnameMsg(), DIFF_PHASE_SKEW_TOOL::getNetPaths(), CONNECTIVITY_DATA::GetRatsnestForItems(), CONNECTIVITY_DATA::GetRatsnestForPad(), BOARD_INSPECTION_TOOL::highlightNet(), GENERAL_COLLECTOR::Inspect(), BOARD_INSPECTION_TOOL::InspectDRCError(), CONNECTIVITY_DATA::IsConnectedOnLayer(), ZONE::IsIsland(), ItemHasDRCViolation(), ZONE_FILLER::knockoutThermalReliefs(), CN_CONNECTIVITY_ALGO::markItemNetAsDirty(), MatchPendingStackExpansion(), AR_AUTOPLACER::nearestPad(), ROUTER_TOOL::NeighboringSegmentFilter(), DIALOG_DRC::OnDRCItemSelected(), PCB_TRACK::cmp_tracks::operator()(), ZONE_SETTINGS::operator<<(), ZONE_PAINTER::PCB_PAINTER(), BRDITEMS_PLOTTER::PlotShape(), process(), BOARD_EDITOR_CONTROL::RepairBoard(), BOARD_INSPECTION_TOOL::reportClearance(), PCB_VIA_STACK::reuseMembers(), DRC_TEST_PROVIDER_CONNECTION_WIDTH::Run(), ZONE::SameNet(), PCB_SELECTION_CONDITIONS::sameNetFunc(), CN_CONNECTIVITY_ALGO::searchConnections(), PCB_SELECTION_TOOL::selectNet(), PCB_SELECTION_TOOL::selectNetChain(), ZONE::Similarity(), EDIT_TOOL::SwapGateNets(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZone(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testKnockoutTextAgainstZone(), DRC_TEST_PROVIDER_SOLDER_MASK::testMaskItemAgainstZones(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackClearances(), CONNECTIVITY_DATA::TestTrackEndpointDangling(), DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZonesToZones(), BOARD::TracksInNet(), PCB_SELECTION_TOOL::unrouteSelected(), PCB_CONTROL::UpdateMessagePanel(), PCB_TRACK::ViewGetLOD(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem(), and BOARD_EDITOR_CONTROL::ZoneMerge().
|
inherited |
Definition at line 162 of file board_connected_item.cpp.
References m_netinfo.
Referenced by STEP_PCB_MODEL::AddPadShape(), BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), EXPORTER_STEP::buildTrack3DShape(), KIGFX::PCB_PAINTER::draw(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PAD::GetMsgPanelInfo(), PCB_SHAPE::GetMsgPanelInfo(), ZONE::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfoBase_Common(), BOARD_NETLIST_UPDATER::getNetname(), GetNetnameMsg(), ZONE_SEARCH_HANDLER::getResultCell(), ALTIUM_PCB::HelperCreateTuningPatterns(), isCoupledDiffPairFunc(), FABMASTER::loadZone(), PackNet(), BRDITEMS_PLOTTER::PlotPad(), BRDITEMS_PLOTTER::PlotShape(), BRDITEMS_PLOTTER::PlotZone(), BOARD_INSPECTION_TOOL::reportClearance(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testKnockoutTextAgainstZone(), and DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem().
|
inherited |
Definition at line 168 of file board_connected_item.cpp.
References _, BOARD_ITEM::GetBoard(), GetNetCode(), GetNetname(), and UnescapeString().
Referenced by PAD::GetItemDescription(), PCB_SHAPE::GetItemDescription(), PCB_TRACK::GetItemDescription(), PCB_VIA::GetItemDescription(), and ZONE::GetItemDescription().
|
virtualinherited |
Return an item's "own" clearance in internal units.
| aLayer | the layer in question. |
| aSource | [out] optionally reports the source as a user-readable string. |
Reimplemented in PAD.
Definition at line 117 of file board_connected_item.cpp.
References BOARD_ITEM::GetBoard(), DRC_ENGINE::GetCachedOwnClearance(), BOARD::GetDesignSettings(), and BOARD_DESIGN_SETTINGS::m_DRCEngine.
Referenced by KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), PCB_TRACK::GetMsgPanelInfo(), PCB_VIA::GetMsgPanelInfo(), ZONE::GetMsgPanelInfo(), and PAD::GetOwnClearance().
|
inlineinherited |
Definition at line 266 of file board_item.h.
References EDA_ITEM::m_parent.
Referenced by BOOST_AUTO_TEST_CASE(), ZONE::Clone(), FOOTPRINT::CoverageRatio(), BOARD_ADAPTER::createTrackWithMargin(), EDIT_TOOL::DeleteItems(), DeleteStructure(), KICAD_DIFF::PCB_DIFFER::diffProperties(), doIntersectsAreaFunc(), KIGFX::PCB_PAINTER::draw(), enclosedByAreaFunc(), PCB_SELECTION_TOOL::extendTableCellSelectionTo(), PCB_SELECTION_TOOL::FilterCollectorForFreePads(), PCB_SELECTION_TOOL::FilterCollectorForTableCells(), PCB_SHAPE::Flip(), getClosestGroup(), PCB_TABLECELL::GetColumn(), PCB_TABLECELL::GetColumnWidth(), PCB_SHAPE::GetLibraryBezierC1(), PCB_SHAPE::GetLibraryBezierC2(), PCB_SHAPE::GetLibraryPolyShape(), PCBEXPR_VAR_REF::GetObject(), PCB_TABLECELL::GetParentGroup(), PCB_TABLECELL::GetRow(), PCB_TABLECELL::GetRowHeight(), DRC_RTREE::Insert(), PAD::IsLocked(), PCB_SELECTION_TOOL::itemPassesFilter(), KICAD_DIFF::PCB_DIFFER::itemRefdes(), memberOfGroupFunc(), EDIT_TOOL::MoveExact(), moveSelectionBy(), PAD::operator==(), PAD::PAD(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), PCB_BOARD_OUTLINE::PCB_BOARD_OUTLINE(), PCB_FIELD::PCB_FIELD(), PCB_FIELD::PCB_FIELD(), PCB_TABLECELL_DESC::PCB_TABLECELL_DESC(), PCB_VIA::PCB_VIA(), BRDITEMS_PLOTTER::PlotBarCode(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), PCB_SELECTION_TOOL::pruneObscuredSelectionCandidates(), SPRINT_LAYOUT_PARSER::resolveGroups(), PCB_GRID_HELPER::ResolveSnap(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), ITEM_EVAL_EXPECTATION::RunTest(), PCB_TABLECELL::SetColumnWidth(), PCB_TABLECELL::SetRowHeight(), PAD::Similarity(), PCB_BOARD_OUTLINE::Similarity(), SwapItemData(), PCB_SHAPE::syncLibCoords(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), PCB_SELECTION_TOOL::toggleTableCellSelection(), PCB_SHAPE::transformFp(), KIGFX::PCB_VIEW::Update(), and PCB_PROPERTIES_PANEL::valueChanged().
|
inherited |
For "parent" property.
Definition at line 451 of file board_item.cpp.
References EDA_ITEM::m_parent.
Referenced by BOARD_ITEM_DESC::BOARD_ITEM_DESC().
|
inherited |
Definition at line 112 of file board_item.cpp.
References EDA_ITEM::findParent(), and PCB_FOOTPRINT_T.
Referenced by CN_CONNECTIVITY_ALGO::Add(), PCB_IO_IPC2581::addPad(), FEATURES_MANAGER::AddPadShape(), STEP_PCB_MODEL::AddPadShape(), PCB_CONTROL::AppendBoard(), PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), BOOST_FIXTURE_TEST_CASE(), PCB_GROUP_TOOL::canGroupItem(), CHAIN_TOPOLOGY::CHAIN_TOPOLOGY(), DRC_TEST_PROVIDER_SOLDER_MASK::checkItemMask(), collidesWithArea(), ZONE::computeBoundingBox(), computeConstraint(), PCB_BARCODE::ComputeTextPoly(), DIALOG_TRACK_VIA_PROPERTIES::confirmPadChange(), ConstraintItemIsLocked(), CONVERT_TOOL::CreatePolys(), customPropertyFunc(), EDIT_TOOL::DeleteItems(), PCB_BARCODE::Deserialize(), doPushPadProperties(), KIGFX::PCB_PAINTER::Draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), EDIT_TOOL::Duplicate(), enclosedByAreaFunc(), DRC_ENGINE::EvalRules(), PCB_SELECTION_TOOL::FilterCollectorForHierarchy(), findOverlappingPairs(), MULTICHANNEL_TOOL::fixupNet(), PAD::Flip(), PCB_BARCODE::Flip(), PCB_POINT::Flip(), PCB_TABLE::Flip(), PCB_TEXT::Flip(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_IPC2581::generateLayerSetNet(), PCB_BARCODE::GetAngle(), ZONE::GetBoardOutline(), PAD::GetClearanceOverrides(), PCB_BASE_EDIT_FRAME::GetContextualTextVars(), PCB_TEXT::GetDrawRotation(), ZONE::GetEffectiveShape(), PCB_DIMENSION_BASE::GetEnd(), GetFPRelativePosition(), PCB_SHAPE::getHatchingKnockouts(), ZONE::GetHatchLines(), ZONE::GetInteractingZones(), PAD::GetItemDescription(), PCB_FIELD::GetItemDescription(), PCB_SHAPE::GetItemDescription(), PCB_TEXT::GetItemDescription(), PCB_SHAPE::GetMenuImage(), PCB_BARCODE::GetMsgPanelInfo(), PCB_SHAPE::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PAD::GetOffset(), PAD::GetOrientation(), PAD::GetPosition(), PCB_BARCODE::GetPosition(), PAD::GetPrimaryDrillSize(), PAD::GetPrimitiveLibScale(), ALIGN_DISTRIBUTE_TOOL::GetSelections(), PCB_FIELD::GetShownText(), PCB_TABLECELL::GetShownText(), PCB_TEXT::GetShownText(), PCB_TEXTBOX::GetShownText(), PAD::GetSize(), PAD::GetSolderMaskExpansion(), PAD::GetSolderPasteMargin(), PCB_DIMENSION_BASE::GetStart(), PCB_TEXT::GetTextAngle(), PCB_TEXTBOX::GetTextAngle(), PCB_TEXT::GetTextPos(), PCB_TEXT::GetTextSize(), PCB_TEXTBOX::GetTextSize(), PCB_TEXT::GetTextThickness(), PCB_TEXTBOX::GetTextThickness(), PCB_FIELDS_GRID_TABLE::GetValue(), PCBEXPR_COMPONENT_CLASS_REF::GetValue(), PCBEXPR_VAR_REF::GetValue(), PAD::GetZoneConnectionOverrides(), PCB_SELECTION_TOOL::grabUnconnected(), hasComponentClassFunc(), hasCustomPropertyFunc(), hash_fp_item(), BOARD::HasItemsOnLayer(), PCB_SELECTION_TOOL::HasLockedDescendant(), ZONE::HitTestCutout(), ZONE::HitTestFilledArea(), ZONE::HitTestForCorner(), ZONE::HitTestForEdge(), PAD::ImportSettingsFrom(), GENERAL_COLLECTOR::Inspect(), PCB_SHAPE::IsConnected(), CONNECTIVITY_DATA::IsConnectedOnLayer(), PAD::IsFlipped(), PNS_PCBNEW_RULE_RESOLVER::IsInNetTie(), PNS_PCBNEW_RULE_RESOLVER::IsKeepout(), DRC_ENGINE::IsNetTieExclusion(), PNS_PCBNEW_RULE_RESOLVER::IsNetTieExclusion(), ItemHasDRCViolation(), PCB_SELECTION_TOOL::itemPassesFilter(), DRC_TEST_PROVIDER_SOLDER_MASK::maskApertureBridgeExcluded(), memberOfFootprintFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), PCB_DIMENSION_BASE::Mirror(), ZONE::Mirror(), BOARD::Move(), PCB_BARCODE::Move(), PCB_DIMENSION_BASE::Move(), ZONE::Move(), ZONE::MoveEdge(), PCB_TEXT::Offset(), PCB_GRID_HELPER::OnBoardItemRemoved(), ARRAY_TOOL::onDialogClosed(), PAD::OnFootprintTransformed(), PCB_TEXTBOX::OnFootprintTransformed(), PCB_EDIT_FRAME::onVariantSelected(), LENGTH_DELAY_CALCULATION::optimiseVias(), padNeedsUpdate(), PCB_IO_IPC2581::pinName(), BRDITEMS_PLOTTER::PlotPad(), BRDITEMS_PLOTTER::PlotShape(), BRDITEMS_PLOTTER::PlotTableBorders(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), BOARD_COMMIT::Push(), PAD_TOOL::pushPadSettings(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), PCB_GRID_HELPER::queryVisible(), PAD::rebakePrimitiveToFootprint(), PAD::Recombine(), PCB_POINT::recomputePosition(), DRC_TEST_PROVIDER_SOLDER_MASK::recordMaskAperture(), refOfSolid(), BOARD::RemoveAllItemsOnLayer(), DRC_TEST_PROVIDER_SOLDER_MASK::reportMaskApertureBridges(), PCB_IO_KICAD_SEXPR_PARSER::resolveConstraints(), PCB_IO_KICAD_SEXPR_PARSER::resolveGroups(), PCB_GRID_HELPER::ResolveSnap(), BOARD_COMMIT::Revert(), PCB_BARCODE::Rotate(), PCB_DIMENSION_BASE::Rotate(), PCB_TEXTBOX::Rotate(), ZONE::Rotate(), DRC_CACHE_GENERATOR::Run(), DRC_TEST_PROVIDER_DISALLOW::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), PAD::SameLogicalPadAs(), CLIPBOARD_IO::SaveSelection(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), PCB_SELECTION_TOOL::Selectable(), PCB_EDIT_FRAME::SendCrossProbeItem(), PAD::Serialize(), PCB_BARCODE::Serialize(), PCB_DIMENSION_BASE::Serialize(), PCB_GROUP::Serialize(), PCB_POINT::Serialize(), PCB_REFERENCE_IMAGE::Serialize(), PCB_SHAPE::Serialize(), PCB_TABLE::Serialize(), PCB_TEXT::Serialize(), PCB_TEXTBOX::Serialize(), ZONE::Serialize(), SetDimensionValueMode(), PCB_DIMENSION_BASE::SetEnd(), PAD::SetFPRelativeOrientation(), SetFPRelativePosition(), PAD::SetOffset(), PAD::SetOrientation(), PAD::SetPosition(), PCB_POINT::SetPosition(), PAD::SetPrimaryDrillSize(), PAD::SetSize(), PCB_DIMENSION_BASE::SetStart(), PCB_TEXT::SetTextAngle(), PCB_TEXT::SetTextSize(), PCB_TEXTBOX::SetTextSize(), PCB_TEXT::SetTextThickness(), PCB_TEXTBOX::SetTextThickness(), PCB_FIELDS_GRID_TABLE::SetValue(), PAD::SharesNetTieGroup(), BOARD_COMMIT::Stage(), PCB_TEXT::StyleFromSettings(), PCB_TEXTBOX::StyleFromSettings(), PCB_TEXTBOX::syncLibCoords(), PNS_KICAD_IFACE_BASE::syncZone(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testGraphicClearances(), DRC_TEST_PROVIDER_SOLDER_MASK::testItemAgainstItems(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZone(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstZones(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testShapeLineChain(), PANEL_SETUP_LAYERS::TransferDataFromWindow(), DIALOG_PAD_PROPERTIES::transferDataToPad(), PCB_IO_EAGLE::transferPad(), PCB_SHAPE::transformFp(), PCB_EDIT_FRAME::UpdateDesignBlockFromSelection(), PCB_POINT_EDITOR::updateItem(), PAD::ViewGetLayers(), PCB_SHAPE::ViewGetLayers(), PCB_TEXT::ViewGetLayers(), PCB_TEXTBOX::ViewGetLayers(), PCB_FIELD::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), ZONE::ViewGetLOD(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::visitItem(), and ZONE::ZONE().
|
inlinevirtualinherited |
Reimplemented in PCB_TABLECELL, and SCH_TABLECELL.
Definition at line 116 of file eda_item.h.
References m_group.
Referenced by EDA_GROUP::AddItem(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::applyDataToFootprint(), MULTICHANNEL_TOOL::AutogenerateRuleAreas(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), MULTICHANNEL_TOOL::copyRuleAreaContents(), EDIT_TOOL::DeleteItems(), DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), EDIT_TOOL::doMoveSelection(), BOARD_ITEM::Duplicate(), PCB_TABLE::Duplicate(), SCH_ITEM::Duplicate(), BOARD::ExchangeFootprint(), PCB_SELECTION_TOOL::FilterCollectorForHierarchy(), TRACKS_CLEANER::filterItem(), MULTICHANNEL_TOOL::GeneratePotentialRuleAreas(), GENERATOR_TOOL::GENERATOR_TOOL(), getClosestGroup(), getClosestGroup(), PCB_TABLECELL::GetParentGroup(), SCH_TABLECELL::GetParentGroup(), GetParentGroupId(), API_HANDLER_BOARD::handleCreateUpdateItemsInternal(), SCH_MOVE_TOOL::initializeMoveOperation(), isExpandableMicrovia(), isInTuningPattern(), BOARD_ITEM::IsLocked(), SCH_ITEM::IsLocked(), PCB_SELECTION_TOOL::isWithinEnteredGroup(), memberOfGroupFunc(), BOARD_EDITOR_CONTROL::modifyLockSelected(), BOARD::Move(), PCB_CONTROL::Paste(), SCH_EDITOR_CONTROL::Paste(), BOARD_COMMIT::Push(), SCH_COMMIT::pushSchEdit(), BOARD::Remove(), PNS_KICAD_IFACE::RemoveItem(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), PCB_SELECTION_TOOL::Selectable(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), COMMIT::Stage(), BOARD_ITEM::SwapItemData(), PNS_KICAD_IFACE_BASE::syncArc(), PNS_KICAD_IFACE_BASE::syncTrack(), PNS_KICAD_IFACE_BASE::syncVia(), DIALOG_GROUP_PROPERTIES::TransferDataFromWindow(), PCB_SELECTION_TOOL::unrouteSegment(), PCB_EDIT_FRAME::UpdateDesignBlockFromSelection(), SCH_EDIT_FRAME::UpdateDesignBlockFromSelection(), BOARD_NETLIST_UPDATER::updateFootprintGroup(), BOARD_NETLIST_UPDATER::updateGroups(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::visitItem(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem(), PCB_GROUP::WithinScope(), and SCH_GROUP::WithinScope().
|
inherited |
Definition at line 232 of file eda_item.cpp.
References GetParentGroup(), group, and niluuid.
Referenced by ITEM_PICKER::SetItem(), and ITEM_PICKER::SetLink().
|
inherited |
Definition at line 3013 of file eda_shape.cpp.
References GetPolyShape(), SHAPE_POLY_SET::OutlineCount(), and SHAPE_POLY_SET::VertexCount().
Referenced by calcEdit(), SCH_SHAPE::GetItemDescription(), GRAPHICS_CLEANER::isNullShape(), and SCH_IO_KICAD_SEXPR_PARSER::ParseSchematic().
|
inherited |
Duplicate the polygon outlines into a flat list of VECTOR2I points.
Outlines (and holes) are appended in order; primarily intended for legacy callers that expect explicit point buffers rather than SHAPE objects.
Definition at line 2968 of file eda_shape.cpp.
References SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoints(), GetPolyShape(), SHAPE_POLY_SET::OutlineCount(), and SHAPE_LINE_CHAIN::PointCount().
Referenced by AssertOutlineValid(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_SHAPE::IsEndPoint(), SCH_SCREEN::MarkConnections(), SegmentIntersectsBoard(), and CREEPAGE_GRAPH::TransformEdgeToCreepShapes().
|
inherited |
Definition at line 2989 of file eda_shape.cpp.
References m_poly.
Referenced by PCB_POINT_EDITOR::addCorner(), SCH_POINT_EDITOR::addCorner(), SCH_SHAPE::AddPoint(), PAD::AddPrimitive(), FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), beginEdit(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), calcEdit(), PCB_POINT_EDITOR::chamferCorner(), KI_TEST::CheckFpShape(), Compare(), ConstraintPolygonIsModelable(), ConstraintShapeAnchors(), continueEdit(), DIPTRACE_SCH_IMPORT_FIXTURE::CountOpenPolysWithPointCountForRefdes(), DIPTRACE_SCH_IMPORT_FIXTURE::CountSheetGraphicLines(), CONVERT_TOOL::CreateLines(), endEdit(), CADSTAR_SCH_ARCHIVE_LOADER::fixUpLibraryPins(), flip(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), formatPoly(), getBoundingBox(), PCB_SHAPE::GetConnectionPoints(), PCB_SHAPE::GetCorners(), GetCornersInSequence(), GetEndingTangents(), PCB_SHAPE::GetFocusPosition(), SCH_SHAPE::GetItemDescription(), GetLength(), PCB_SHAPE::GetLibraryPolyShape(), GetLineEndingEndpoints(), SCH_RULE_AREA::GetMsgPanelInfo(), GetPointCount(), GetPolyPoints(), getPosition(), CADSTAR_SCH_ARCHIVE_LOADER::getScaledLibPart(), hash_fp_item(), hashShape(), hitTest(), hitTest(), idf_append_shape(), IsClosed(), IsPolyShapeValid(), SCH_IO_EAGLE::loadSymbolPolyLine(), SCH_RULE_AREA::MakeEffectiveShapes(), makeEffectiveShapes(), makeShortenedBodyShapes(), EDIT_TOOL::ModifyLines(), move(), PCB_SHAPE::Normalize(), operator==(), PCB_IO_EAGLE::packagePolygon(), SCH_IO_KICAD_SEXPR_PARSER::ParseSchematic(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), SCH_EDITOR_CONTROL::Paste(), ORCAD_CONVERTER::placeInstance(), SCH_RULE_AREA::Plot(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), PCB_SHAPE::rebakeFromTransform(), SCHEMATIC::RecalculateConnections(), SCH_RULE_AREA::RefreshContainedItemsAndDirectives(), PCB_POINT_EDITOR::removeCorner(), SCH_POINT_EDITOR::removeCorner(), SCH_POINT_EDITOR::removeCornerCondition(), rotate(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), SCH_IO_KICAD_LEGACY_LIB_CACHE::savePolyLine(), scale(), Serialize(), SetPolyPoints(), SetPolyShape(), ShapeGetMsgPanelInfo(), Similarity(), PCB_SHAPE::syncLibCoords(), TransformShapeToPolygon(), PCB_TEXTBOX::TransformShapeToPolygon(), TransformWithLineEndingsToPolygon(), and UpdateHatching().
|
inherited |
Definition at line 2997 of file eda_shape.cpp.
References m_poly.
|
inlineoverridevirtualinherited |
Reimplemented from EDA_ITEM.
Definition at line 76 of file pcb_shape.h.
References EDA_SHAPE::getPosition().
Referenced by PCB_IO_IPC2581::addLocationNode(), BOARD_ADAPTER::addShape(), KI_TEST::CheckFpShape(), DRAWING_TOOL::DrawTable(), ODB::GetShapePosition(), hash_fp_item(), PCB_TABLE::Normalize(), ALTIUM_PCB::Parse(), OUTSET_ROUTINE::ProcessItem(), PCB_TEXTBOX::Serialize(), and PCB_TEXTBOX::SetTextAngle().
|
protectedinherited |
Definition at line 526 of file eda_shape.cpp.
References ARC, SHAPE_POLY_SET::CVertex(), ELLIPSE, ELLIPSE_ARC, getCenter(), GetPolyShape(), m_shape, m_start, and POLY.
Referenced by PCB_SHAPE::GetPosition(), SCH_SHAPE::GetPosition(), setPosition(), and UpdateHatching().
|
inherited |
Definition at line 1366 of file eda_shape.cpp.
References ARC, CIRCLE, KiROUND(), m_arcCenter, m_end, m_shape, m_start, radius, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by EE_GRID_HELPER::AddConstructionItems(), PCB_GRID_HELPER::AddConstructionItems(), FEATURES_MANAGER::AddShape(), CREEPAGE_GRAPH::Addshape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), BOARD_CONSTRAINT_ADAPTER::ApplyReferenceValues(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCarrier(), calcEdit(), CheckLibSymbolGraphics(), computeArcBBox(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), editArcEndpointKeepCenterAndRadius(), formatCircle(), getBoundingBox(), PCB_SHAPE::GetConnectionPoints(), PCB_SHAPE::GetFocusPosition(), SCH_SHAPE::GetItemDescription(), GetLength(), hash_fp_item(), hashShape(), hitTest(), hitTest(), idf_append_shape(), GRAPHICS_CLEANER::isNullShape(), makeEffectiveShapes(), DSN::SPECCTRA_DB::makeIMAGE(), CONVERT_TOOL::makePolysFromClosedGraphics(), makeShortenedBodyShapes(), outlineProximity(), ALTIUM_PCB::Parse(), ORCAD_CONVERTER::placeInstance(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), CONSTRAINT_OVERLAY::render(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveCircle(), SegmentIntersectsBoard(), SetLibShapeFillAndColor(), SetSchShapeFillAndColor(), ShapeGetMsgPanelInfo(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), TransformShapeToPolygon(), TransformWithLineEndingsToPolygon(), CREEPAGE_OVERLAY::Update(), ARC_GEOM_SYNCER::updateCRAA(), and UpdateHatching().
|
inherited |
Definition at line 571 of file eda_shape.cpp.
References GetEndY(), GetStartY(), m_shape, RECTANGLE, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by PCB_IO_IPC2581::addLocationNode(), FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), ODB::GetShapePosition(), hitTest(), hitTest(), makeEffectiveShapes(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), rotate(), SetCornerRadius(), TransformShapeToPolygon(), and UpdateHatching().
|
inherited |
Definition at line 585 of file eda_shape.cpp.
References GetEndX(), GetStartX(), m_shape, RECTANGLE, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by PCB_IO_IPC2581::addLocationNode(), FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), KIGFX::PCB_PAINTER::draw(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), ODB::GetShapePosition(), hitTest(), hitTest(), makeEffectiveShapes(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), rotate(), SetCornerRadius(), TransformShapeToPolygon(), and UpdateHatching().
|
inherited |
Definition at line 2085 of file eda_shape.cpp.
References GetEnd(), GetStart(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), buildCarrier(), KIGFX::PCB_PAINTER::draw(), getBoundingBox(), PCB_SHAPE::GetConnectionPoints(), PCB_SHAPE::GetCorners(), hitTest(), hitTest(), SCH_SHAPE::IsEndPoint(), makeEffectiveShapes(), SCH_SCREEN::MarkConnections(), outlineProximity(), SCH_EDITOR_CONTROL::Paste(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), TransformShapeToPolygon(), and PCB_TEXTBOX::TransformShapeToPolygon().
|
inherited |
Definition at line 666 of file eda_text.cpp.
References GetAttributes(), GetDrawPos(), GetDrawRotation(), getFontMetrics(), KIFONT::OUTLINE_FONT::GetLinesAsGlyphs(), GetTextSize(), IsMirrored(), KIFONT::FONT::IsOutline(), TEXT_ATTRIBUTES::m_Angle, m_render_cache, and TEXT_ATTRIBUTES::m_Size.
Referenced by BOARD_ADAPTER::addText(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), PCB_IO_KICAD_SEXPR::formatRenderCache(), GetEffectiveTextShape(), BRDITEMS_PLOTTER::PlotText(), PCB_TEXT::TransformTextToPolySet(), and PCB_TEXTBOX::TransformTextToPolySet().
|
inlineinherited |
Definition at line 143 of file eda_item.h.
References m_rolloverPos.
Referenced by KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), and KIGFX::SCH_PAINTER::draw().
|
inherited |
Definition at line 1432 of file eda_shape.cpp.
References GetEnd(), GetStart(), and RADIANS_T.
|
inlineinherited |
Definition at line 175 of file eda_shape.h.
References m_shape.
Referenced by EE_GRID_HELPER::AddConstructionItems(), PCB_GRID_HELPER::AddConstructionItems(), PCB_POINT_EDITOR::addCorner(), SCH_POINT_EDITOR::addCornerCondition(), PCB_IO_IPC2581::addLocationNode(), PCB_IO_IPC2581::addPackage(), SCH_SHAPE::AddPoint(), PAD::AddPrimitive(), FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), applyGeometry(), GRAPHICS_CLEANER::areEquivalent(), AssertOutlineValid(), PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), beginEdit(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCarrier(), BuildCreepageBoardEdges(), buildFilledPolygonFromShapes(), calcEdit(), PCB_POINT_EDITOR::CanAddCorner(), PCB_POINT_EDITOR::CanChamferCorner(), PCB_POINT_EDITOR::chamferCorner(), CHECK_SHAPE_LIBPOS_MIRROR(), KI_TEST::CheckFpShape(), CheckLibSymbolGraphics(), ConnectBoardShapes(), constraintMemberForEditPoint(), ConstraintMemberLabel(), ConstraintPolygonIsModelable(), ConstraintShapeAnchors(), ConstraintShapeVertex(), continueEdit(), DIPTRACE_SCH_IMPORT_FIXTURE::CountFilledPolysForRefdes(), DIPTRACE_SCH_IMPORT_FIXTURE::CountOpenPolysWithPointCountForRefdes(), DIPTRACE_SCH_IMPORT_FIXTURE::CountSheetGraphicLines(), DIPTRACE_SCH_IMPORT_FIXTURE::CountSymbolShapes(), CONVERT_TOOL::CreateLines(), SCH_RULE_AREA::Deserialize(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), doConvertOutlineToPolygon(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), EDA_BEZIER_POINT_EDIT_BEHAVIOR::EDA_BEZIER_POINT_EDIT_BEHAVIOR(), EDA_CIRCLE_POINT_EDIT_BEHAVIOR::EDA_CIRCLE_POINT_EDIT_BEHAVIOR(), EDA_ELLIPSE_POINT_EDIT_BEHAVIOR::EDA_ELLIPSE_POINT_EDIT_BEHAVIOR(), EDA_POLYGON_POINT_EDIT_BEHAVIOR::EDA_POLYGON_POINT_EDIT_BEHAVIOR(), EDA_SEGMENT_POINT_EDIT_BEHAVIOR::EDA_SEGMENT_POINT_EDIT_BEHAVIOR(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), EDA_TABLECELL_POINT_EDIT_BEHAVIOR::EDA_TABLECELL_POINT_EDIT_BEHAVIOR(), endEdit(), PAD_TOOL::explodePad(), CADSTAR_SCH_ARCHIVE_LOADER::fixUpLibraryPins(), EDIT_TOOL::Flip(), GENCAD_EXPORTER::footprintWriteShape(), PCB_IO_KICAD_SEXPR::format(), GetBoardItemWidth(), PCB_SHAPE::GetCorners(), FOOTPRINT::GetCoverageArea(), SCH_SHAPE::GetItemDescription(), SCH_SHAPE::GetMenuImage(), CADSTAR_SCH_ARCHIVE_LOADER::getScaledLibPart(), ODB::GetShapePosition(), CONVERT_TOOL::getStartEndPoints(), GraphicEditShape(), SCH_SELECTION_TOOL::GuessSelectionCandidates(), hash_fp_item(), hashShape(), idf_append_shape(), SCH_SHAPE::IsEndPoint(), PCB_SELECTION_TOOL::isExpandableGraphicShape(), IsGraphicExtendSource(), GRAPHICS_CLEANER::isNullShape(), itemHasEditableCorners(), DSN::SPECCTRA_DB::makeIMAGE(), RECTANGLE_POINT_EDIT_BEHAVIOR::MakePoints(), PCB_POINT_EDITOR::makePoints(), SCH_POINT_EDITOR::makePointsAndBehavior(), CONVERT_TOOL::makePolysFromClosedGraphics(), SCH_SCREEN::MarkConnections(), GRAPHICS_CLEANER::mergeRects(), ITEM_MODIFICATION_ROUTINE::ModifyLineOrDeleteIfZeroLength(), EDIT_TOOL::ModifyLines(), SCH_SHAPE::Normalize(), PCB_POINT_EDITOR::OnSelectionChange(), PCB_VERTEX_EDITOR_PANE::OnSelectionChanged(), ALLEGRO::BOARD_BUILDER::GRAPHIC_KEY_HASH::operator()(), FOOTPRINT::cmp_drawings::operator()(), PCB_SHAPE::cmp_drawings::operator()(), operator==(), outlineProximity(), ALTIUM_PCB::Parse(), SCH_EDITOR_CONTROL::Paste(), ORCAD_CONVERTER::placeInstance(), GRAPHIC_EXTEND_PLANNER::Plan(), SCH_RULE_AREA::Plot(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), processShapeSegment(), GRAPHIC_EXTEND_PLANNER::QueryBounds(), PCB_POINT_EDITOR::removeCorner(), CONSTRAINT_OVERLAY::render(), PCB_GRID_HELPER::ResolveSnap(), EDIT_TOOL::Rotate(), SCH_ELLIPSE_FIXTURE::RoundTrip(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveBezier(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveCircle(), SCH_IO_KICAD_LEGACY_LIB_CACHE::savePolyLine(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveRectangle(), SCH_IO_KICAD_SEXPR::saveShape(), SCH_IO_KICAD_LEGACY_LIB_CACHE::SaveSymbol(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveSymbolDrawItem(), SegmentIntersectsBoard(), CONVERT_TOOL::SegmentToArc(), SelectShapeAutoConstraints(), Serialize(), PCB_SHAPE::SetIsProxyItem(), SetLibShapeFillAndColor(), SetSchShapeFillAndColor(), PCB_IO_IPC2581::shapeHash(), shapeNeedsUpdate(), Similarity(), PCB_TEXTBOX::syncLibCoords(), AR_MATRIX::TracePcbShape(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), PCB_TEXTBOX::TransformShapeToPolygon(), CREEPAGE_OVERLAY::Update(), PCB_POINT_EDITOR::updateItem(), PCB_CONTROL::UpdateMessagePanel(), and updateSegmentFromGeometryMgr().
|
inherited |
Copy an outline and apply line-ending body shortening when applicable.
Definition at line 4477 of file eda_shape.cpp.
References SHAPE_LINE_CHAIN::CPoints(), SHAPE_LINE_CHAIN::IsClosed(), SHAPE_LINE_CHAIN::PointCount(), and ShortenBodyPolyPoints().
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), makeShortenedBodyShapes(), BRDITEMS_PLOTTER::PlotShape(), and TransformWithLineEndingsToPolygon().
|
inherited |
Definition at line 184 of file board_connected_item.cpp.
References emptyString, and m_netinfo.
Referenced by STEP_PCB_MODEL::AddPadShape(), PAD::IsFreePad(), and DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem().
|
overridevirtual |
Return the string actually shown after processing of the base text.
| aContext | controls some features of the expansion, such as whether or not field names are included, or whether or not escaped literal variable references should be prefixed with a '\'. |
| aDepth | is used to prevent infinite recursions and loops when expanding text variables. |
Reimplemented from EDA_TEXT.
Definition at line 491 of file pcb_textbox.cpp.
References BOARD_ITEM::BOARD, FinalizeTextVarExpansion(), BOARD_ITEM::GetBoard(), GetCornersInSequence(), EDA_TEXT::GetDrawFont(), EDA_TEXT::GetDrawRotation(), EDA_TEXT::GetEffectiveTextPenWidth(), BOARD_ITEM::GetLayerName(), GetMarginBottom(), GetMarginLeft(), GetMarginRight(), GetMarginTop(), BOARD_ITEM::GetParentFootprint(), EDA_TEXT::GetShownText(), GetTextAngle(), GetTextSize(), EDA_TEXT::HasTextVars(), EDA_TEXT::IsBold(), EDA_TEXT::IsItalic(), KIFONT::FONT::LinebreakText(), RAW_VALUE, resolver, FOOTPRINT::ResolveTextVar(), ResolveTextVars(), and text.
Referenced by EDIT_TOOL::copyToClipboardAsText(), KIGFX::PCB_PAINTER::draw(), GetItemDescription(), and TransformTextToPolySet().
|
inherited |
Definition at line 354 of file pcb_shape.cpp.
References BOARD_ITEM::BOARD, BOARD_ITEM::GetBoard(), BOARD::GetDesignSettings(), GetWidth(), MINOPTMAX< T >::HasOpt(), EDA_SHAPE::IsSolidFill(), BOARD_DESIGN_SETTINGS::m_DRCEngine, BOARD_ITEM::m_layer, m_solderMaskMargin, DRC_CONSTRAINT::m_Value, MINOPTMAX< T >::Opt(), and SOLDER_MASK_EXPANSION_CONSTRAINT.
Referenced by BOARD_ADAPTER::addShape(), EXPORTER_STEP::buildGraphic3DShape(), BOARD_ADAPTER::createLayers(), KIGFX::PCB_PAINTER::draw(), BRDITEMS_PLOTTER::PlotShape(), DRC_TEST_PROVIDER_SOLDER_MASK::testItemAgainstItems(), DRC_TEST_PROVIDER_SOLDER_MASK::testMaskItemAgainstZones(), and transformFPShapesToPolySet().
|
inlinevirtualinherited |
Return the coordinates that should be used for sorting this element visually compared to other elements.
For instance, for lines the midpoint might be a better sorting point than either end.
Reimplemented in SCH_LINE.
Definition at line 364 of file eda_item.h.
References GetPosition().
|
inlineinherited |
Return the starting point of the graphic.
Definition at line 275 of file eda_shape.h.
References m_start.
Referenced by EE_GRID_HELPER::AddConstructionItems(), PCB_GRID_HELPER::AddConstructionItems(), PCB_POINT_EDITOR::addCorner(), PCB_IO_IPC2581::addPadStack(), PAD::AddPrimitive(), FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), BOARD_CONSTRAINT_ADAPTER::ApplyReferenceValues(), GRAPHICS_CLEANER::areEquivalent(), AssertOutlineValid(), PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCarrier(), buildChainedClosedContour(), BuildConstraintFromItems(), CalcArcAngles(), calcEdit(), CHECK_ALL_COINCIDENT(), KI_TEST::CheckFpShape(), checkNormalizeIsStable(), ConnectBoardShapes(), constraintMemberForEditPoint(), ConstraintShapeAnchors(), PCB_EDIT_TABLE_TOOL::copyCell(), SCH_EDIT_TABLE_TOOL::copyCell(), CONVERT_TOOL::CreateLines(), doConvertOutlineToPolygon(), KIGFX::PCB_PAINTER::draw(), KI_ARC_EDIT::EditArcEndpointKeepCenter(), editArcEndpointKeepCenterAndRadius(), editArcEndpointKeepTangent(), extensionRay(), GENCAD_EXPORTER::footprintWriteShape(), PCB_IO_KICAD_SEXPR::format(), formatArc(), formatBezier(), formatCircle(), formatRect(), free_end(), PCB_TEXTBOX::GetBotRight(), getBoundingBox(), PCB_SHAPE::GetConnectionPoints(), GetEndingTangents(), PCB_SHAPE::GetFocusPosition(), GetLength(), GetLineEndingEndpoints(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_TABLECELL::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), GetRectCorners(), CADSTAR_SCH_ARCHIVE_LOADER::getScaledLibPart(), GetSegmentAngle(), GRAPH_CONNECTION::GetShapes(), SCH_TABLECELL::GetShownText(), SCH_TEXTBOX::GetShownText(), CONVERT_TOOL::getStartEndPoints(), GetTopLeft(), PCB_TEXTBOX::GetTopLeft(), GraphicEditArc(), hash_fp_item(), hashShape(), hitTest(), hitTest(), idf_append_shape(), SCH_SHAPE::IsEndPoint(), GRAPHICS_CLEANER::isNullShape(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadArc(), makeEffectiveShapes(), DSN::SPECCTRA_DB::makeIMAGE(), CONVERT_TOOL::makePolysFromChainedSegs(), makeShortenedBodyShapes(), SCH_SCREEN::MarkConnections(), GRAPHICS_CLEANER::mergeRects(), EDIT_TOOL::ModifyLines(), GRAPHIC_EXTEND_PLANNER::NearestEndpoint(), PCB_SHAPE::Normalize(), PCB_SHAPE::NormalizeForCompare(), ALLEGRO::BOARD_BUILDER::GRAPHIC_KEY_HASH::operator()(), outlineProximity(), SCH_IO_ALTIUM::ParseEllipse(), SCH_EDITOR_CONTROL::Paste(), GRAPHIC_EXTEND_PLANNER::Plan(), BRDITEMS_PLOTTER::PlotPcbTarget(), BRDITEMS_PLOTTER::PlotShape(), processClosedShape(), OUTSET_ROUTINE::ProcessItem(), DOGBONE_CORNER_ROUTINE::ProcessLinePair(), LINE_CHAMFER_ROUTINE::ProcessLinePair(), LINE_EXTENSION_ROUTINE::ProcessLinePair(), LINE_FILLET_ROUTINE::ProcessLinePair(), processShapeSegment(), GRAPHIC_EXTEND_PLANNER::QueryBounds(), CONSTRAINT_OVERLAY::render(), PCB_GRID_HELPER::ResolveSnap(), rotate(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveBezier(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveTextBox(), SegmentIntersectsBoard(), PCB_SELECTION_TOOL::selectAllConnectedShapes(), Serialize(), GRAPHICS_IMPORTER::setupSplineOrLine(), ShapeGetMsgPanelInfo(), PCB_SHAPE::syncLibCoords(), PLOTTER::ThickArc(), AR_MATRIX::TracePcbShape(), DIALOG_TEXT_PROPERTIES::TransferDataFromWindow(), CREEPAGE_GRAPH::TransformEdgeToCreepShapes(), TransformShapeToPolygon(), TransformWithLineEndingsToPolygon(), CREEPAGE_OVERLAY::Update(), BEZIER_GEOM_SYNCER::updateBezier(), RECTANGLE_GEOM_SYNCER::updateCorners(), RECTANGLE_GEOM_SYNCER::updateCornerSize(), ARC_GEOM_SYNCER::updateCRAA(), ARC_GEOM_SYNCER::updateCSA(), LINE_GEOM_SYNCER::updateEnds(), PCB_POINT_EDITOR::updateItem(), LINE_GEOM_SYNCER::updatePolar(), ARC_GEOM_SYNCER::updateSME(), and LINE_GEOM_SYNCER::updateStartMidpoint().
|
inlineinherited |
Definition at line 177 of file eda_shape.h.
References m_startEnding.
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), PCB_IO_KICAD_SEXPR::format(), formatArc(), formatBezier(), formatPoly(), SCH_IO_KICAD_SEXPR_PARSER::ParseSchematic(), SCH_SHAPE::Plot(), and BRDITEMS_PLOTTER::PlotShape().
|
inlineinherited |
Definition at line 189 of file eda_shape.h.
References m_startEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 199 of file eda_shape.h.
References m_startEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 183 of file eda_shape.h.
References m_startEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 191 of file eda_shape.h.
References m_startEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 277 of file eda_shape.h.
References m_start.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), PCB_TEXTBOX::GetBotRight(), GetRectangleWidth(), PCB_TEXTBOX::GetTopLeft(), SCH_SHAPE::Normalize(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), and SetRectangleWidth().
|
inlineinherited |
Definition at line 276 of file eda_shape.h.
References m_start.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), PCB_TEXTBOX::GetBotRight(), GetRectangleHeight(), PCB_TEXTBOX::GetTopLeft(), SCH_SHAPE::Normalize(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), and SetRectangleHeight().
|
overridevirtualinherited |
Reimplemented from BOARD_ITEM.
Definition at line 955 of file pcb_shape.cpp.
References GetWidth(), EDA_SHAPE::m_stroke, and STROKE_PARAMS::SetWidth().
Referenced by BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), FOOTPRINT::BuildCourtyardCaches(), KI_TEST::CheckFpShape(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_TEXTBOX::GetEffectiveShape(), PCB_TEXTBOX::GetLegacyTextMargin(), BRDITEMS_PLOTTER::PlotShape(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), CONVERT_TOOL::SegmentToArc(), shapeNeedsUpdate(), and PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog().
|
inlineinherited |
Definition at line 236 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 218 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 224 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 230 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 221 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 239 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 227 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 211 of file board_connected_item.h.
References m_teardropParams.
Referenced by PAD::Deserialize(), PCB_VIA::Deserialize(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), PCB_IO_KICAD_SEXPR::format(), ZONE::operator==(), DIALOG_GLOBAL_EDIT_TEARDROPS::processItem(), PAD::Serialize(), PCB_VIA::Serialize(), ZONE::Similarity(), DIALOG_PAD_PROPERTIES::transferDataToPad(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), and DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem().
|
inlineinherited |
Definition at line 212 of file board_connected_item.h.
References m_teardropParams.
|
inlineinherited |
Definition at line 233 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 215 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 183 of file eda_item.h.
References CANDIDATE, CONNECTIVITY_CANDIDATE, IS_LINKED, m_flags, SELECTED_BY_DRAG, SELECTION_CANDIDATE, and SKIP_STRUCT.
Referenced by ClearTempFlags(), and SCH_ITEM::SwapFlags().
|
inlinevirtualinherited |
Return the string associated with the text object.
Reimplemented in SCH_FIELD.
Definition at line 118 of file eda_text.h.
References m_text.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), ORCAD_CONVERTER::applyMultilineSpacing(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), SCH_DRAWING_TOOLS::AutoPlaceAllSheetPins(), SCH_EDIT_FRAME::AutoRotateItem(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), SCH_SHEET::CleanupSheet(), SCH_TEXT::compare(), SCH_TEXTBOX::compare(), SCH_BUS_WIRE_ENTRY::ConnectionPropagatesTo(), MULTICHANNEL_TOOL::copyRuleAreaContents(), SCH_IO_ALTIUM::CreateAliases(), SCH_DRAWING_TOOLS::createNewSheetPinFromLabel(), KIGFX::SCH_PAINTER::draw(), EDA_TEXT_DESC::EDA_TEXT_DESC(), ISSUE19951_FIXTURE::FindLabel(), CADSTAR_ARCHIVE_PARSER::FixTextPositionNoAlignment(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_IPC2581::generateComponents(), getFieldFunc(), GetFootprintDocumentationURL(), DS_DRAW_ITEM_TEXT::GetItemDescription(), PCB_DIMENSION_BASE::GetItemDescription(), PCB_FIELD::GetItemDescription(), PCB_TEXT::GetItemDescription(), PCB_TEXTBOX::GetItemDescription(), SCH_GLOBALLABEL::GetItemDescription(), SCH_HIERLABEL::GetItemDescription(), SCH_LABEL::GetItemDescription(), SCH_SHEET_PIN::GetItemDescription(), SCH_TEXT::GetItemDescription(), SCH_TEXTBOX::GetItemDescription(), CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), PCB_TEXTBOX::GetMinSize(), SCH_TEXTBOX::GetMinSize(), DS_DRAW_ITEM_BASE::GetMsgPanelInfo(), PCB_DIM_LEADER::GetMsgPanelInfo(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_LABEL_BASE::GetMsgPanelInfo(), SCH_TABLECELL::GetMsgPanelInfo(), SCH_TEXT::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), GetNetNavigatorItemText(), FOOTPRINT::GetReference(), PCB_FIELD::GetShownText(), SCH_LABEL_BASE::GetShownText(), SCH_TEXT::GetShownText(), PCB_FOOTPRINT_FIELD_PROPERTY::getter(), SCH_FIELD::GetText(), FOOTPRINT::GetValue(), PCB_FIELDS_GRID_TABLE::GetValue(), SCH_SHEET_PIN::HasConnectivityChanges(), hash_fp_item(), DIPTRACE_SCH_IMPORT_FIXTURE::HasLabelOnSheet(), DIPTRACE_SCH_IMPORT_FIXTURE::HasLabelStartingWithOnSheet(), SCH_SHEET::HasUndefinedPins(), SCH_DRAWING_TOOLS::importHierLabels(), SCH_TOOL_BASE< T >::Increment(), SCH_LABEL_BASE::IncrementLabel(), DIPTRACE_SCH_IMPORT_FIXTURE::LabelConnectsToWireOnSheet(), Levenshtein(), CADSTAR_SCH_ARCHIVE_LOADER::Load(), FOOTPRINT_EDIT_FRAME::LoadFootprintFromLibrary(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), SCH_IO_EAGLE::loadSegments(), PCB_TEXT::Matches(), PCB_TEXTBOX::Matches(), SCH_LABEL_BASE::Matches(), SCH_SHEET_PIN::Matches(), SCH_TEXT::Matches(), SCH_TEXTBOX::Matches(), DIALOG_SHEET_PIN_PROPERTIES::onComboBox(), FOOTPRINT::cmp_drawings::operator()(), std::hash< EDA_TEXT >::operator()(), SCH_TEXT::operator<(), SCH_TEXTBOX::operator<(), operator<<(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_ALTIUM::PostProcessBusLabels(), processTextItem(), SCH_CONNECTIVITY::NETCHAIN_MANAGER::rebuild(), CLIPBOARD_IO::SaveSelection(), SCH_IO_KICAD_LEGACY::saveText(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SCH_IO_KICAD_SEXPR::saveText(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveText(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveTextBox(), Serialize(), PCB_TEXTBOX::Serialize(), SCH_TEXTBOX::Serialize(), SCH_LABEL_BASE::SetLabelShape(), SCH_IO_LTSPICE_PARSER::setTextJustification(), SCH_EDIT_TOOL::SwapPinLabels(), SCH_EDIT_TOOL::SwapUnitLabels(), PNS_KICAD_IFACE_BASE::syncDimension(), ERC_TESTER::TestEmptyLabelNames(), ERC_TESTER::TestTextVars(), ToProto(), DIALOG_LABEL_PROPERTIES::TransferDataToWindow(), DIALOG_TABLE_PROPERTIES::TransferDataToWindow(), PANEL_SYNC_SHEET_PINS::UpdateForms(), PCB_DIM_LEADER::updateGeometry(), and PCB_TEXT::ViewGetLOD().
|
overridevirtual |
Reimplemented from EDA_TEXT.
Definition at line 343 of file pcb_textbox.cpp.
References BOARD_ITEM::GetParentFootprint(), and m_libTextAngle.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), Flip(), PCB_IO_KICAD_SEXPR::format(), GetMinSize(), GetMsgPanelInfo(), PCB_TABLECELL::GetShownText(), GetShownText(), hash_fp_item(), Mirror(), OnFootprintTransformed(), Rotate(), and SetTextAngle().
|
inlineinherited |
Definition at line 185 of file eda_text.h.
References m_attributes.
Referenced by EDA_TEXT_DESC::EDA_TEXT_DESC(), PCB_DIMENSION_BASE::GetTextAngleDegreesProp(), and SCH_TEXTBOX::Serialize().
|
inherited |
Useful in multiline texts to calculate the full text or a line area (for zones filling, locate functions....)
| aLine | The line of text to consider. Pass -1 for all lines. |
Definition at line 737 of file eda_text.cpp.
References FOR_CANVAS, GetDrawFont(), GetDrawPos(), GetEffectiveTextPenWidth(), getFontMetrics(), BOX2< Vec >::GetHeight(), GetHorizJustify(), KIFONT::FONT::GetInterline(), GetLineSpacing(), GetShownText(), GetTextSize(), GetVertJustify(), BOX2< Vec >::GetWidth(), BOX2< Vec >::GetX(), BOX2< Vec >::GetY(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_INDETERMINATE, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, GR_TEXT_V_ALIGN_BOTTOM, GR_TEXT_V_ALIGN_CENTER, GR_TEXT_V_ALIGN_INDETERMINATE, GR_TEXT_V_ALIGN_TOP, IsBold(), IsItalic(), IsMirrored(), IsMultilineAllowed(), KIFONT::FONT::IsStroke(), ITALIC_TILT, KiROUND(), m_bbox_cache, m_bbox_cacheMutex, BOX2< Vec >::Normalize(), BOX2< Vec >::Offset(), BOX2< Vec >::SetOrigin(), BOX2< Vec >::SetSize(), BOX2< Vec >::SetX(), BOX2< Vec >::SetY(), KIFONT::FONT::StringBoundaryLimits(), text, wxStringSplit(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), LABEL_BBOX_FIXTURE::CheckLabelBodyBoundingBox(), LABEL_BBOX_FIXTURE::CheckTextBoundingBoxWidth(), SCH_GLOBALLABEL::CreateGraphicShape(), KIGFX::PCB_PAINTER::draw(), SCH_HIERLABEL::GetBodyBoundingBox(), SCH_LABEL::GetBodyBoundingBox(), DS_DRAW_ITEM_TEXT::GetBoundingBox(), PCB_DIMENSION_BASE::GetBoundingBox(), PCB_TEXT::GetBoundingBox(), SCH_FIELD::GetBoundingBox(), SCH_TEXT::GetBoundingBox(), PCB_TEXTBOX::GetMinSize(), SCH_TEXTBOX::GetMinSize(), SCH_TEXT::GetOffsetToMatchSCH_FIELD(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), SCH_TEXT::NormalizeJustification(), TextHitTest(), TextHitTest(), PCB_TEXT::TextHitTest(), PCB_DIM_ALIGNED::updateGeometry(), PCB_DIM_LEADER::updateGeometry(), PCB_DIM_ORTHOGONAL::updateGeometry(), and PCB_DIM_RADIAL::updateGeometry().
|
inlineinherited |
Definition at line 310 of file eda_text.h.
References m_attributes.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), SCH_FIELD::GetFieldColor(), SCH_LABEL_BASE::GetLabelColor(), KIGFX::SCH_PAINTER::getRenderColor(), FIELDS_GRID_TABLE::GetValue(), ORCAD_CONVERTER::placeOffpageConnectors(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), DS_DRAW_ITEM_TEXT::PrintWsItem(), and SCH_TEXTBOX::Serialize().
|
inlinevirtualinherited |
Definition at line 307 of file eda_text.h.
References GetTextSize(), and VECTOR2< T >::y.
Referenced by SCH_LABEL_BASE::AutoplaceFields(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_TEXT::compare(), SCH_TEXTBOX::compare(), SCH_GLOBALLABEL::CreateGraphicShape(), SCH_HIERLABEL::CreateGraphicShape(), EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), SCH_HIERLABEL::GetBodyBoundingBox(), GetInterline(), PCB_TEXT::getKnockoutMargin(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_GLOBALLABEL::GetSchematicTextOffset(), FIELDS_GRID_TABLE::GetValue(), PCB_FIELDS_GRID_TABLE::GetValue(), hash_fp_item(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), SCH_IO_EAGLE::loadInstance(), SCH_IO_EAGLE::loadLibrary(), SCH_IO_KICAD_SEXPR::saveField(), SCH_IO_LTSPICE_PARSER::setTextJustification(), PCB_DIM_ALIGNED::updateText(), PCB_DIM_ORTHOGONAL::updateText(), and DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::Validate().
|
inlinevirtualinherited |
Reimplemented in PCB_TEXT.
Definition at line 313 of file eda_text.h.
References m_pos.
Referenced by FEATURES_MANAGER::AddText(), SCH_LABEL_BASE::AutoplaceFields(), Compare(), SCH_FIELD::compare(), SCH_TEXT::compare(), SCH_SHEET_PIN::ConstrainOnEdge(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), SCH_GLOBALLABEL::doIsConnected(), SCH_HIERLABEL::doIsConnected(), SCH_LABEL::doIsConnected(), KIGFX::DS_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), PCB_TEXT::Flip(), DS_DRAW_ITEM_TEXT::GetApproxBBox(), SCH_HIERLABEL::GetBodyBoundingBox(), SCH_LABEL::GetBodyBoundingBox(), SCH_LABEL_BASE::GetBodyBoundingBox(), SCH_FIELD::GetBoundingBox(), SCH_TEXT::GetBoundingBox(), SCH_MOVE_TOOL::getConnectedDragItems(), SCH_LABEL_BASE::GetConnectionPoints(), GetDrawPos(), SCH_LABEL_BASE::GetEndPoints(), SCH_SHEET_PIN::GetEndPoints(), SCH_FIELD::GetLibPosition(), DS_DRAW_ITEM_TEXT::GetPosition(), SCH_FIELD::GetPosition(), SCH_TEXT::GetPosition(), PCB_TEXT::GetTextPos(), FIELDS_GRID_TABLE::GetValue(), PCB_DIMENSION_BASE::Mirror(), SCH_DIRECTIVE_LABEL::MirrorHorizontally(), SCH_FIELD::MirrorHorizontally(), SCH_SHEET_PIN::MirrorHorizontally(), SCH_TEXT::MirrorHorizontally(), SCH_DIRECTIVE_LABEL::MirrorVertically(), SCH_FIELD::MirrorVertically(), SCH_SHEET_PIN::MirrorVertically(), SCH_TEXT::MirrorVertically(), SCH_TEXT::NormalizeJustification(), PCB_TEXT::Offset(), std::hash< EDA_TEXT >::operator()(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), BRDITEMS_PLOTTER::PlotText(), DIALOG_CHANGE_SYMBOLS::processSymbols(), SCH_LABEL_BASE::Rotate(), SCH_SHEET_PIN::Rotate(), SCH_TEXT::Rotate(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), Serialize(), PCB_TEXT::SetLibTextPos(), SCH_LABEL_BASE::SetPosition(), SetTextPos(), SetTextX(), SetTextY(), FIELDS_GRID_TABLE::SetValue(), LIB_SYMBOL::SyncFieldsFromParent(), EASYEDA_PARSER_BASE::TransformTextToBaseline(), and SCH_LABEL_BASE::UpdateDanglingState().
|
overridevirtual |
Reimplemented from EDA_TEXT.
Definition at line 581 of file pcb_textbox.cpp.
References std::abs(), BOARD_ITEM::GetParentFootprint(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), EDA_TEXT::GetTextSize(), KiROUND(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), GetLegacyTextMargin(), PCB_TABLECELL::GetShownText(), and GetShownText().
|
inherited |
Definition at line 1000 of file eda_text.cpp.
References _, IsBold(), and IsItalic().
Referenced by SCH_FIELD::GetMsgPanelInfo().
|
overridevirtual |
Reimplemented from EDA_TEXT.
Definition at line 608 of file pcb_textbox.cpp.
References std::abs(), BOARD_ITEM::GetParentFootprint(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), EDA_TEXT::GetTextThickness(), and KiROUND().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_TABLECELL::GetMsgPanelInfo(), and GetMsgPanelInfo().
|
inlineinherited |
Definition at line 161 of file eda_text.h.
References GetAutoThickness(), GetEffectiveTextPenWidth(), and GetTextThickness().
Referenced by EDA_TEXT_DESC::EDA_TEXT_DESC().
|
inherited |
Return the set of ${...} references extracted from the source text.
The result is cached lazily and invalidated on SetText/CopyText/Replace. Consumers (the reactive dependency tracker) may call this at high frequency on items that rarely change; the cache avoids repeat lexing.
Definition at line 613 of file eda_text.cpp.
References m_text_var_refs.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
inlinevirtualinherited |
Definition at line 304 of file eda_text.h.
References GetTextSize(), and VECTOR2< T >::x.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_TEXT::compare(), SCH_TEXTBOX::compare(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), GetEffectiveTextPenWidth(), PCB_TEXT::getKnockoutMargin(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_FIELD::GetMsgPanelInfo(), SCH_LABEL_BASE::GetMsgPanelInfo(), SCH_TABLECELL::GetMsgPanelInfo(), SCH_TEXT::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), SCH_HIERLABEL::GetSchematicTextOffset(), SCH_FIELD::GetSchTextSize(), SCH_TEXT::GetSchTextSize(), SCH_TEXTBOX::GetSchTextSize(), PCB_FIELDS_GRID_TABLE::GetValue(), hash_fp_item(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), SCH_IO_KICAD_LEGACY::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY::saveText(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SetAutoThickness(), PCB_DIM_ALIGNED::updateGeometry(), PCB_DIM_LEADER::updateGeometry(), PCB_DIM_ORTHOGONAL::updateGeometry(), PCB_DIM_RADIAL::updateGeometry(), DIALOG_FIELD_PROPERTIES::updateText(), and DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::Validate().
|
overridevirtual |
Reimplemented from EDA_SHAPE.
Definition at line 269 of file pcb_textbox.cpp.
References ANGLE_180, ANGLE_270, ANGLE_90, EDA_TEXT::GetDrawRotation(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetEndX(), EDA_SHAPE::GetEndY(), EDA_SHAPE::GetStart(), EDA_SHAPE::GetStartX(), and EDA_SHAPE::GetStartY().
|
inherited |
Return a translated description of the type for this EDA_ITEM for display in user facing messages.
Definition at line 556 of file eda_item.cpp.
References ENUM_MAP< T >::Instance(), and Type().
Referenced by EDIT_TOOL::doMoveSelection(), and GetFriendlyName().
|
inlineinherited |
Definition at line 289 of file eda_text.h.
References m_unresolvedFontName.
|
inlineinherited |
Definition at line 242 of file eda_text.h.
References m_attributes.
Referenced by AdjustTextForSymbolOrientation(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_DRAWING_TOOLS::createNewText(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), EE_GRAPHIC_TOOL::DrawShape(), EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), PCB_TEXTBOX::GetDrawPos(), SCH_TEXTBOX::GetDrawPos(), SCH_FIELD::GetEffectiveVertJustify(), GetLinePositions(), SCH_FIELD::GetMsgPanelInfo(), SCH_TEXT::GetMsgPanelInfo(), GetTextBox(), hash_fp_item(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), IsDefaultFormatting(), SCH_FIELD::IsVertJustifyFlipped(), PCB_TEXT::KeepUpright(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SCH_TEXT::MirrorHorizontally(), SCH_TEXT::MirrorVertically(), SCH_TEXT::NormalizeJustification(), PCB_IO_EAGLE::orientFPText(), SCH_EASYEDA_PARSER::ParseSchematic(), SCH_FIELD::Plot(), positioningChanged(), positioningChanged(), printOneLineOfText(), processTextItem(), SCH_IO_KICAD_LEGACY::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SCH_TEXTBOX::Serialize(), SimulateRenderTransform(), SCH_EDIT_TOOL::Swap(), and swapFieldPositionsWithMatching().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 623 of file pcb_shape.cpp.
References fpScaleLinear(), EDA_SHAPE::GetWidth(), KiROUND(), and transformFp().
Referenced by FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), GRAPHICS_CLEANER::areEquivalent(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), CONVERT_TOOL::CreateLines(), doConvertOutlineToPolygon(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), GetBoardItemWidth(), PCB_TEXTBOX::GetBoundingBox(), FOOTPRINT::GetCoverageArea(), PCB_TEXTBOX::GetEffectiveShape(), PCB_TEXTBOX::GetLegacyTextMargin(), GetSolderMaskExpansion(), GetStroke(), hash_fp_item(), FABMASTER::loadPolygon(), DSN::SPECCTRA_DB::makeIMAGE(), CONVERT_TOOL::makePolysFromChainedSegs(), EDIT_TOOL::ModifyLines(), ALLEGRO::BOARD_BUILDER::GRAPHIC_KEY_HASH::operator()(), FOOTPRINT::cmp_drawings::operator()(), BRDITEMS_PLOTTER::PlotShape(), DOGBONE_CORNER_ROUTINE::ProcessLinePair(), LINE_CHAMFER_ROUTINE::ProcessLinePair(), LINE_FILLET_ROUTINE::ProcessLinePair(), POLYGON_BOOLEAN_ROUTINE::ProcessShape(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), CONVERT_TOOL::SegmentToArc(), AR_MATRIX::TracePcbShape(), PCB_TEXTBOX::TransformShapeToPolygon(), and ViewBBox().
|
inlineinherited |
Definition at line 133 of file board_item.h.
References EDA_ITEM::GetPosition(), and VECTOR2< T >::x.
Referenced by STEP_PCB_MODEL::AddPadShape(), BOARD_ITEM_DESC::BOARD_ITEM_DESC(), FOOTPRINT_SEARCH_HANDLER::getResultCell(), GROUP_SEARCH_HANDLER::getResultCell(), TEXT_SEARCH_HANDLER::getResultCell(), ZONE_SEARCH_HANDLER::getResultCell(), SetY(), and ZONE_DESC::ZONE_DESC().
|
inlineinherited |
Definition at line 139 of file board_item.h.
References EDA_ITEM::GetPosition(), and VECTOR2< T >::y.
Referenced by STEP_PCB_MODEL::AddPadShape(), BOARD_ITEM_DESC::BOARD_ITEM_DESC(), FOOTPRINT_SEARCH_HANDLER::getResultCell(), GROUP_SEARCH_HANDLER::getResultCell(), TEXT_SEARCH_HANDLER::getResultCell(), ZONE_SEARCH_HANDLER::getResultCell(), SetX(), and ZONE_DESC::ZONE_DESC().
|
staticinherited |
Generate a href to a page in the current schematic.
| aDestination | Destination sheet's page number. |
Definition at line 1309 of file eda_text.cpp.
Referenced by SCH_LABEL_BASE::Plot(), and SCH_SHEET::Plot().
|
inlineinherited |
Definition at line 269 of file eda_item.h.
References m_customProperties.
Referenced by KICAD_FORMAT::FormatCustomProperties().
|
inlinevirtualinherited |
Reimplemented in PAD, and PCB_VIA.
Definition at line 212 of file board_item.h.
Referenced by PNS_PCBNEW_RULE_RESOLVER::IsDrilledHole(), and BOARD_INSPECTION_TOOL::reportClearance().
|
inlineinherited |
Definition at line 168 of file eda_item.h.
References m_flags.
Referenced by PCB_CONTROL::ApplyDesignBlockLayout(), BOOST_AUTO_TEST_CASE(), BOARD::BulkRemoveStaleTeardrops(), GRAPHICS_CLEANER::cleanupShapes(), PCB_BASE_EDIT_FRAME::ClearListAndDeleteItems(), SYMBOL_EDIT_FRAME::ClearUndoORRedoList(), SCH_EDIT_TOOL::DoDelete(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), SCH_FIND_REPLACE_TOOL::FindNext(), SCH_MOVE_TOOL::findTargetSheet(), PCB_TUNING_PATTERN::Flip(), SYMBOL_EDIT_FRAME::freeTransientUndoCommands(), SCH_MOVE_TOOL::getConnectedDragItems(), SCH_MOVE_TOOL::getConnectedItems(), FOOTPRINT::IsConflicting(), ZONE::IsConflicting(), SCH_SCREEN::MarkConnections(), PCB_TUNING_PATTERN::Mirror(), PCB_TUNING_PATTERN::Move(), MoveSchematicItem(), SCH_MOVE_TOOL::orthoLineDrag(), SCH_MOVE_TOOL::performItemMove(), SYMBOL_EDITOR_PIN_TOOL::PlacePin(), GERBVIEW_FRAME::RemapLayers(), PCB_TUNING_PATTERN::Rotate(), SCH_EDIT_TOOL::Rotate(), ISSUE22864_FIXTURE::RunAlignmentAndVerify(), ISSUE22864_FIXTURE::RunAlignmentAndVerifyNoSkew(), SCH_TOOL_BASE< T >::saveCopyInUndoList(), PCB_SELECTION_TOOL::selectAllConnectedShapes(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), SCH_SELECTION_TOOL::SelectMultiple(), SCH_COMMIT::Stage(), TRACKS_CLEANER::testTrackEndpointIsNode(), SCH_MOVE_TOOL::trimDanglingLines(), SCH_FIND_REPLACE_TOOL::UpdateFind(), and PCB_TUNING_PATTERN::ViewDraw().
|
inlinevirtualinherited |
Reimplemented in PAD, and PCB_VIA.
Definition at line 207 of file board_item.h.
Referenced by DRC_ENGINE::EvalRules(), DRC_RTREE::Insert(), ItemHasDRCViolation(), BOARD_INSPECTION_TOOL::reportClearance(), DRC_TEST_PROVIDER_DISALLOW::Run(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZone(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstZones(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testSingleLayerItemAgainstItem(), PCB_CONTROL::UpdateMessagePanel(), and PCB_TRACK::ViewBBox().
|
inlinevirtualinherited |
Definition at line 442 of file eda_text.h.
References m_hyperlink.
Referenced by SCH_TEXT::DoHypertextAction(), SCH_TEXTBOX::DoHypertextAction(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), Format(), SCH_TEXT::HasHypertext(), SCH_TEXTBOX::HasHypertext(), SCH_TEXT::Plot(), and SCH_TEXTBOX::Plot().
|
inlineoverridevirtualinherited |
Check if this item has line stoke properties.
Reimplemented from BOARD_ITEM.
Definition at line 125 of file pcb_shape.h.
|
inherited |
Definition at line 241 of file eda_item.cpp.
References EDA_ITEM(), and group.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and SCH_MOVE_TOOL::getConnectedDragItems().
|
inlineinherited |
Definition at line 336 of file pcb_shape.h.
References m_hasSolderMask.
Referenced by BOARD_ADAPTER::addShape(), BOARD_ADAPTER::createLayers(), KIGFX::PCB_PAINTER::draw(), PCB_IO_KICAD_SEXPR::format(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), BRDITEMS_PLOTTER::PlotShape(), Serialize(), and transformFPShapesToPolySet().
|
inlineinherited |
Indicates the ShownText has text var references which need to be processed.
Definition at line 139 of file eda_text.h.
References m_shown_text_has_text_var_refs.
Referenced by BACK_ANNOTATE::applyChangelist(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_LABEL_BASE::cacheShownText(), KIGFX::SCH_PAINTER::draw(), PCB_FIELD::GetShownText(), PCB_TABLECELL::GetShownText(), PCB_TEXT::GetShownText(), PCB_TEXTBOX::GetShownText(), SCH_FIELD::GetShownText(), SCH_LABEL_BASE::GetShownText(), SCH_TABLECELL::GetShownText(), SCH_TEXT::GetShownText(), SCH_TEXTBOX::GetShownText(), SCH_LABEL_BASE::HasCachedDriverName(), SCH_GLOBALLABEL::ResolveTextVar(), and SCH_LABEL_BASE::SCH_LABEL_BASE().
|
protectedinherited |
Definition at line 753 of file eda_shape.cpp.
References m_hatchingCache.
Referenced by UpdateHatching().
|
protectedinherited |
Definition at line 762 of file eda_shape.cpp.
References m_hatchingCache.
Referenced by UpdateHatching().
|
overridevirtual |
Test if aRect intersects this item.
| aRect | A reference to a BOX2I object containing the rectangle to test. |
| aContained | Set to true to test for containment instead of an intersection. |
| aAccuracy | Increase aRect by this amount. |
Reimplemented from PCB_SHAPE.
Definition at line 780 of file pcb_textbox.cpp.
References BOX2< Vec >::Contains(), GetBoundingBox(), BOX2< Vec >::Inflate(), and BOX2< Vec >::Intersects().
|
overridevirtual |
Test if aPoly intersects this item.
| aPoly | A reference to a SHAPE_LINE_CHAIN object containing the polygon or polyline to test. |
| aContained | Set to true to test for containment instead of an intersection. |
Reimplemented from PCB_SHAPE.
Definition at line 793 of file pcb_textbox.cpp.
References PCB_SHAPE::HitTest().
|
overridevirtual |
Test if aPosition is inside or on the boundary of this item.
| aPosition | A reference to a VECTOR2I object containing the coordinates to test. |
| aAccuracy | Increase the item bounding box by this amount. |
Reimplemented from PCB_SHAPE.
Definition at line 770 of file pcb_textbox.cpp.
References BOX2< Vec >::Contains(), GetBoundingBox(), and BOX2< Vec >::Inflate().
|
protectedinherited |
Definition at line 1853 of file eda_shape.cpp.
References ARC, BEZIER, KIGEOM::BoxToLineChain(), buildShapeEllipse(), chain, CIRCLE, BOX2< Vec >::Contains(), SHAPE_ELLIPSE::ConvertToPolyline(), ELLIPSE, ELLIPSE_ARC, getBoundingBox(), getCenter(), GetEffectiveWidth(), GetEnd(), getMaxError(), BEZIER_POLY::GetPoly(), GetPolyShape(), GetRadius(), GetRectangleHeight(), GetRectangleWidth(), GetRectCorners(), GetStart(), GetWidth(), hasLineEnding(), BOX2< Vec >::Inflate(), BOX2< Vec >::Intersects(), BOX2< Vec >::IntersectsCircleEdge(), IsAnyFill(), m_bezierC1, m_bezierC2, m_bezierPoints, m_cornerRadius, m_end, m_endEnding, m_shape, m_start, m_startEnding, MakeEffectiveShapesWithLineEndings(), BOX2< Vec >::Normalize(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), POLY, RECTANGLE, SEGMENT, SHAPE_T_asString(), KIGEOM::ShapeHitTest(), ROUNDRECT::TransformToPolygon(), and UNIMPLEMENTED_FOR.
|
protectedinherited |
Definition at line 2075 of file eda_shape.cpp.
References GetEffectiveWidth(), hasLineEnding(), m_endEnding, m_startEnding, MakeEffectiveShapes(), MakeEffectiveShapesWithLineEndings(), and KIGEOM::ShapeHitTest().
|
protectedinherited |
Definition at line 1655 of file eda_shape.cpp.
References SHAPE_POLY_SET::Append(), ARC, BEZIER, buildShapeEllipse(), CalcArcAngles(), CIRCLE, Collide(), SHAPE::Collide(), SHAPE_POLY_SET::Collide(), SHAPE_POLY_SET::CollideEdge(), copy, VECTOR2< T >::Distance(), ELLIPSE, ELLIPSE_ARC, VECTOR2< T >::EuclideanNorm(), getCenter(), GetEffectiveWidth(), GetEnd(), GetHatching(), getMaxError(), BEZIER_POLY::GetPoly(), GetPolyShape(), GetRadius(), GetRectangleHeight(), GetRectangleWidth(), GetRectCorners(), GetStart(), GetWidth(), hasLineEnding(), IsClosed(), IsFilledForHitTesting(), IsHatchedFill(), IsProxyItem(), m_bezierC1, m_bezierC2, m_bezierPoints, m_cornerRadius, m_end, m_endEnding, m_shape, m_start, m_startEnding, MakeEffectiveShapesWithLineEndings(), SHAPE_POLY_SET::NewOutline(), EDA_ANGLE::Normalize(), POLY, radius, RECTANGLE, SEGMENT, SHAPE_T_asString(), SHAPE_ELLIPSE::SquaredDistance(), TestSegmentHit(), ROUNDRECT::TransformToPolygon(), and UNIMPLEMENTED_FOR.
Referenced by PCB_SHAPE::HitTest(), PCB_SHAPE::HitTest(), PCB_SHAPE::HitTest(), SCH_SHAPE::HitTest(), and SCH_SHAPE::HitTest().
|
inlineinherited |
Definition at line 118 of file eda_shape.h.
References GetFillMode(), and NO_FILL.
Referenced by computeArcBBox(), FOOTPRINT::GetCoverageArea(), PCB_SHAPE::GetFocusPosition(), hitTest(), ZONE_PAINTER::PCB_PAINTER(), PAD::Recombine(), and PCB_SELECTION_TOOL::Selectable().
|
inlineinherited |
Definition at line 98 of file view_item.h.
References m_isBOARD_ITEM.
Referenced by KIGFX::PCB_VIEW::Add(), PCB_GROUP_TOOL::canGroupItem(), EDIT_TOOL::doMoveSelection(), KIGFX::PCB_PAINTER::Draw(), EDA_ITEM::EDA_ITEM(), PCB_BASE_FRAME::FocusOnItem(), PCB_PROPERTIES_PANEL::getPropertyFromEvent(), KIGFX::PCB_PAINTER::HasUniformColor(), PCB_SELECTION_TOOL::highlightInternal(), PCB_TEST_SELECTION_TOOL::highlightInternal(), GENERAL_COLLECTOR::Inspect(), BOARD::Move(), PCB_GRID_HELPER::nearestAnchor(), PCB_GRID_HELPER::OnBoardItemRemoved(), PCB_CONTROL::Paste(), DRAWING_TOOL::PlaceImportedGraphics(), BOARD_COMMIT::Push(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), KIGFX::PCB_VIEW::Remove(), PCB_GRID_HELPER::ResolveSnap(), GRAPHIC_EDIT_TOOL::runInteractive(), PCB_SELECTION_TOOL::select(), PCB_SELECTION_TOOL::SelectAll(), PCB_EDIT_FRAME::SetPageSettings(), PCB_BASE_FRAME::SetPlotSettings(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), BOARD_COMMIT::Stage(), EDIT_TOOL::Swap(), BOARD_COMMIT::undoLevelItem(), PCB_SELECTION_TOOL::unhighlightInternal(), PCB_TEST_SELECTION_TOOL::unhighlightInternal(), PCB_SELECTION_TOOL::UnselectAll(), KIGFX::PCB_VIEW::Update(), KIGFX::PCB_VIEW::UpdateCollidingItems(), EDIT_TOOL::updateModificationPoint(), and DIALOG_POSITION_RELATIVE::UpdatePickedItem().
|
inlineinherited |
Definition at line 215 of file eda_text.h.
References m_attributes.
Referenced by BOARD_ADAPTER::addText(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), LABEL_BBOX_FIXTURE::CheckTextBoundingBoxWidth(), SCH_TEXTBOX::compare(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), KIGFX::DS_PAINTER::draw(), EE_GRAPHIC_TOOL::DrawShape(), EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), GetDrawFont(), SCH_FIELD::GetDrawFont(), SCH_TEXT::GetDrawFont(), SCH_TEXTBOX::GetDrawFont(), GetEffectiveTextPenWidth(), KIGFX::SCH_PAINTER::getFont(), SCH_LABEL_BASE::GetMsgPanelInfo(), SCH_TABLECELL::GetMsgPanelInfo(), SCH_TEXT::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), PCB_TABLECELL::GetShownText(), PCB_TEXTBOX::GetShownText(), SCH_TABLECELL::GetShownText(), SCH_TEXTBOX::GetShownText(), GetTextBox(), GetTextStyleName(), FIELDS_GRID_TABLE::GetValue(), FIELDS_GRID_TABLE::GetValueAsBool(), hash_fp_item(), IsDefaultFormatting(), MigrateLegacyBoldStrokeWidth(), FOOTPRINT::cmp_drawings::operator()(), printOneLineOfText(), ResolveFont(), SCH_IO_KICAD_LEGACY::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SCH_TEXTBOX::Serialize(), SetFontProp(), SetItalic(), and FIELDS_GRID_TABLE::SetValue().
| bool PCB_TEXTBOX::IsBorderEnabled | ( | ) | const |
Disables the border, this is done by changing the stroke internally.
Definition at line 947 of file pcb_textbox.cpp.
References m_borderEnabled.
Referenced by BOARD_ADAPTER::addShape(), EXPORTER_STEP::buildGraphic3DShape(), BOARD_ADAPTER::createLayers(), KIGFX::PCB_PAINTER::draw(), PCB_IO_KICAD_SEXPR::format(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), BRDITEMS_PLOTTER::PlotBoardGraphicItem(), BRDITEMS_PLOTTER::PlotFootprintGraphicItems(), Serialize(), FOOTPRINT::TransformFPShapesToPolySet(), and transformFPTextToPolySet().
|
inlineinherited |
Definition at line 136 of file eda_item.h.
References BRIGHTENED, m_flags, and m_netHighlighted.
Referenced by KIGFX::GERBVIEW_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), SCH_EDIT_FRAME::FocusOnItem(), SYMBOL_EDIT_FRAME::FocusOnItem(), KIGFX::DS_RENDER_SETTINGS::GetColor(), KIGFX::SCH_PAINTER::getLineWidth(), KIGFX::SCH_PAINTER::getRenderColor(), and ZONE_PAINTER::PCB_PAINTER().
|
inherited |
Definition at line 1452 of file eda_shape.cpp.
References ARC, GetArcMid(), m_end, m_shape, m_start, SHAPE_T_asString(), UNIMPLEMENTED_FOR, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by FEATURES_MANAGER::AddShape(), and PCB_IO_IPC2581::addShape().
|
inherited |
Definition at line 667 of file eda_shape.cpp.
References ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, GetPolyShape(), SHAPE_LINE_CHAIN::IsClosed(), m_bezierPoints, m_shape, SHAPE_POLY_SET::Outline(), POLY, RECTANGLE, SEGMENT, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by SCH_POINT_EDITOR::addCorner(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KIGFX::SCH_PAINTER::draw(), hitTest(), PCB_SELECTION_TOOL::isExpandableGraphicShape(), CONVERT_TOOL::makePolysFromClosedGraphics(), CONVERT_TOOL::makePolysFromOpenGraphics(), and SCH_SHAPE::Plot().
|
overridevirtualinherited |
Returns information if the object is derived from BOARD_CONNECTED_ITEM.
Reimplemented from BOARD_CONNECTED_ITEM.
Definition at line 338 of file pcb_shape.cpp.
References BOARD_ITEM::GetParentFootprint(), and BOARD_ITEM::IsOnCopperLayer().
|
inherited |
Definition at line 1056 of file eda_text.cpp.
References GetAutoThickness(), GetFontName(), GetHorizJustify(), GetVertJustify(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_V_ALIGN_CENTER, IsBold(), IsItalic(), IsMirrored(), and IsMultilineAllowed().
Referenced by SCH_IO_KICAD_SEXPR::saveField().
|
inlineinherited |
Definition at line 135 of file eda_item.h.
References ENTERED, and m_flags.
Referenced by KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), and KIGFX::SCH_PAINTER::draw().
|
inlinevirtualinherited |
Reimplemented in PCB_TABLECELL, SCH_RULE_AREA, and SCH_TABLECELL.
Definition at line 137 of file eda_shape.h.
References IsSolidFill().
Referenced by SCH_SELECTION_TOOL::GuessSelectionCandidates(), hitTest(), and makeEffectiveShapes().
|
inlineinherited |
Definition at line 233 of file eda_item.h.
References m_forceVisible.
Referenced by KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), SCH_FIELD::Plot(), and SCH_FIND_REPLACE_TOOL::UpdateFind().
|
staticinherited |
Check if aHref is a valid internal hyperlink.
| aHref | String to validate |
| aDestination | [optional] pointer to populate with the destination page |
Definition at line 1303 of file eda_text.cpp.
Referenced by PDF_PLOTTER::endPlotEmitResources(), SCH_NAVIGATE_TOOL::HypertextCommand(), and ValidateHyperlink().
|
inherited |
Definition at line 43 of file board_item.cpp.
References PCB_ARC_T, PCB_BARCODE_T, PCB_DIM_ALIGNED_T, PCB_DIM_CENTER_T, PCB_DIM_LEADER_T, PCB_DIM_ORTHOGONAL_T, PCB_DIM_RADIAL_T, PCB_DIMENSION_T, PCB_DRILL_CHART_T, PCB_DRILL_MAP_T, PCB_FIELD_T, PCB_FOOTPRINT_T, PCB_GENERATOR_T, PCB_GRID_ITEM_T, PCB_GROUP_T, PCB_PAD_T, PCB_POINT_T, PCB_REFERENCE_IMAGE_T, PCB_SHAPE_T, PCB_TABLE_T, PCB_TEXT_T, PCB_TEXTBOX_T, PCB_TRACE_T, PCB_VIA_T, PCB_ZONE_T, and EDA_ITEM::Type().
Referenced by BOOST_AUTO_TEST_CASE(), PCB_GROUP_TOOL::canGroupItem(), BOARD_COMMIT::Push(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), and PCB_EDIT_FRAME::UpdateDesignBlockFromSelection().
|
inlineinherited |
Definition at line 130 of file eda_shape.h.
References CROSS_HATCH, GetFillMode(), HATCH, and REVERSE_HATCH.
Referenced by FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), KIGFX::PCB_PAINTER::draw(), EDIT_TOOL::Duplicate(), hitTest(), makeEffectiveShapes(), makeShortenedBodyShapes(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), PCB_CONTROL::rehatchBoardItem(), TransformShapeToPolygon(), and TransformWithLineEndingsToPolygon().
|
inlineinherited |
Definition at line 419 of file board_item.h.
References m_boardCacheOwner.
|
inlineinherited |
Definition at line 200 of file eda_text.h.
References m_attributes.
Referenced by BOARD_ADAPTER::addText(), SCH_DIRECTIVE_LABEL::AutoplaceFields(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), LABEL_BBOX_FIXTURE::CheckTextBoundingBoxWidth(), SCH_TEXTBOX::compare(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), KIGFX::DS_PAINTER::draw(), EE_GRAPHIC_TOOL::DrawShape(), EDA_TEXT_DESC::EDA_TEXT_DESC(), Format(), GetDrawFont(), SCH_FIELD::GetDrawFont(), SCH_TEXT::GetDrawFont(), SCH_TEXTBOX::GetDrawFont(), KIGFX::SCH_PAINTER::getFont(), SCH_LABEL_BASE::GetMsgPanelInfo(), SCH_TABLECELL::GetMsgPanelInfo(), SCH_TEXT::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), PCB_TABLECELL::GetShownText(), PCB_TEXTBOX::GetShownText(), SCH_TABLECELL::GetShownText(), SCH_TEXTBOX::GetShownText(), GetTextBox(), GetTextStyleName(), FIELDS_GRID_TABLE::GetValue(), FIELDS_GRID_TABLE::GetValueAsBool(), PCB_FIELDS_GRID_TABLE::GetValueAsBool(), hash_fp_item(), IsDefaultFormatting(), FOOTPRINT::cmp_drawings::operator()(), printOneLineOfText(), ResolveFont(), SCH_IO_KICAD_LEGACY::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY::saveText(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SCH_TEXTBOX::Serialize(), SetBold(), SetFontProp(), and FIELDS_GRID_TABLE::SetValue().
|
inlineinherited |
Definition at line 245 of file eda_text.h.
References m_attributes.
Referenced by PCB_IO_KICAD_SEXPR::format(), PCB_TEXT::GetDrawRotation(), PCB_FIELDS_GRID_TABLE::GetValueAsBool(), PCB_TEXT::KeepUpright(), PCB_TEXT_DESC::PCB_TEXT_DESC(), processTextItem(), and SCH_TEXTBOX::Serialize().
|
inlinevirtualinherited |
Reimplemented in PCB_BARCODE.
Definition at line 413 of file board_item.h.
References m_isKnockout.
Referenced by FEATURES_MANAGER::AddText(), BOARD_ADAPTER::addText(), BOOST_AUTO_TEST_CASE(), MULTICHANNEL_TOOL::copyRuleAreaContents(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_TEXT::GetBoundingBox(), PCB_TEXT::GetEffectiveShape(), PCB_FIELDS_GRID_TABLE::GetValueAsBool(), PCB_BARCODE::IsKnockout(), PCB_TEXT_DESC::PCB_TEXT_DESC(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), BRDITEMS_PLOTTER::PlotBoardGraphicItem(), BRDITEMS_PLOTTER::PlotFootprintGraphicItems(), BRDITEMS_PLOTTER::PlotFootprintTextItems(), processTextItem(), PCB_TEXT::Serialize(), PCB_TEXTBOX::Serialize(), PCB_TEXT::TextHitTest(), PCB_TEXT::TextHitTest(), PCB_TEXT::TransformTextToPolySet(), and PCB_TEXTBOX::TransformTextToPolySet().
|
inlinevirtualinherited |
Check if this item's layer set must not be confined to a board's enabled layers.
A container's layer set is its members', and those are confined individually; a footprint's children come from a library that knows no board's layers and must survive those layers being re-enabled; a geometric constraint has no layer at all. Masking any of them would corrupt the item. Whether the board accepts it at all is FitsEnabledLayers.
Reimplemented in FOOTPRINT, PCB_CONSTRAINT, and PCB_GROUP.
Definition at line 307 of file board_item.h.
Referenced by FitsEnabledLayers().
|
overridevirtualinherited |
Reimplemented from EDA_ITEM.
Reimplemented in FOOTPRINT, and PAD.
Definition at line 140 of file board_item.cpp.
References FPHOLDER, GetBoard(), EDA_ITEM::GetParentGroup(), group, and m_isLocked.
Referenced by BOARD_ITEM_DESC::BOARD_ITEM_DESC(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KI_TEST::CheckFpShape(), KI_TEST::CheckFpZone(), ConstraintItemIsLocked(), DIALOG_GLOBAL_DELETION::DoGlobalDeletions(), EDIT_TOOL::FilletTracks(), PCB_SELECTION_TOOL::FilterCollectorForLockedItems(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), GENERATOR_TOOL::GENERATOR_TOOL(), PCB_BARCODE::GetMsgPanelInfo(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_GROUP::GetMsgPanelInfo(), PCB_SHAPE::GetMsgPanelInfo(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), ZONE::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfoBase_Common(), ALIGN_DISTRIBUTE_TOOL::GetSelections(), GraphicEditSource(), PCB_SELECTION_TOOL::HasLockedDescendant(), PCB_SELECTION_CONDITIONS::HasLockedItems(), PCB_SELECTION_CONDITIONS::HasUnlockedItems(), ROUTER_TOOL::InlineDrag(), GENERAL_COLLECTOR::Inspect(), PAD::IsLocked(), PCB_SELECTION_TOOL::itemPassesFilter(), CADSTAR_PCB_ARCHIVE_LOADER::makeTracksFromShapes(), PCB_POINT_EDITOR::OnSelectionChange(), ZONE_SETTINGS::operator<<(), DOGBONE_CORNER_ROUTINE::ProcessLinePair(), LINE_CHAMFER_ROUTINE::ProcessLinePair(), LINE_FILLET_ROUTINE::ProcessLinePair(), processTextItem(), PCB_ARC::Serialize(), PCB_BARCODE::Serialize(), PCB_DIMENSION_BASE::Serialize(), PCB_DRILL_MAP::Serialize(), PCB_GRID_ITEM::Serialize(), PCB_GROUP::Serialize(), PCB_POINT::Serialize(), PCB_REFERENCE_IMAGE::Serialize(), PCB_SHAPE::Serialize(), PCB_TABLE::Serialize(), PCB_TEXT::Serialize(), PCB_TEXTBOX::Serialize(), PCB_TRACK::Serialize(), PCB_VIA::Serialize(), PNS_KICAD_IFACE_BASE::syncArc(), PNS_KICAD_IFACE_BASE::syncTrack(), PNS_KICAD_IFACE_BASE::syncVia(), TRACKS_CLEANER::testMergeCollinearSegments(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), ViewGetLayers(), PCB_GRID_ITEM::ViewGetLayers(), PCB_POINT::ViewGetLayers(), PCB_SHAPE::ViewGetLayers(), PCB_TEXT::ViewGetLayers(), PCB_TEXTBOX::ViewGetLayers(), PCB_TRACK::ViewGetLayers(), and PCB_VIA::ViewGetLayers().
|
inlineinherited |
Definition at line 229 of file eda_text.h.
References m_attributes.
Referenced by PCAD2KICAD::PCAD_TEXT::AddToBoard(), BOOST_AUTO_TEST_CASE(), EDA_TEXT_DESC::EDA_TEXT_DESC(), PCB_TEXT::Flip(), PCB_TEXTBOX::Flip(), Format(), PCB_TEXTBOX::GetDrawPos(), PCB_TABLECELL::GetMsgPanelInfo(), PCB_TEXT::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), GetRenderCache(), GetTextBox(), PCB_FIELDS_GRID_TABLE::GetValueAsBool(), hash_fp_item(), IsDefaultFormatting(), PCB_DIMENSION_BASE::Mirror(), FOOTPRINT::cmp_drawings::operator()(), printOneLineOfText(), SCH_TEXTBOX::Serialize(), and SetupRenderCache().
|
inlineinherited |
Definition at line 130 of file eda_item.h.
References IS_CHANGED, and m_flags.
Referenced by PCB_EDIT_FRAME::OpenProjectFiles().
|
inlineinherited |
Definition at line 132 of file eda_item.h.
References IS_MOVING, and m_flags.
Referenced by SCH_EDIT_TOOL::AutoplaceFields(), SCH_PIN::CalcEdit(), PCB_GRID_HELPER::computeAnchors(), EDIT_TOOL::doMoveSelection(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), PCB_SHAPE::isMoving(), SCH_SHAPE::isMoving(), SCH_EDIT_TOOL::JustifyText(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), PCB_BASE_FRAME::PlaceFootprint(), SCH_SELECTION_TOOL::RequestSelection(), SCH_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), SCH_EDIT_TOOL::Swap(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), and SCH_SHAPE::UpdateHatching().
|
inlineoverrideprotectedvirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 350 of file pcb_shape.h.
References EDA_ITEM::IsMoving().
|
inlineinherited |
Definition at line 236 of file eda_text.h.
References m_attributes.
Referenced by FEATURES_MANAGER::AddText(), GetTextBox(), IsDefaultFormatting(), BRDITEMS_PLOTTER::PlotText(), Print(), and SCH_TEXTBOX::Serialize().
|
inherited |
Net highlighting must not clear brightening owned by find or picker tools.
Definition at line 125 of file eda_item.cpp.
References m_netHighlighted.
Referenced by KIGFX::SCH_PAINTER::draw(), and setNetHighlight().
|
inlineinherited |
Definition at line 131 of file eda_item.h.
References IS_NEW, and m_flags.
Referenced by SCH_MOVE_TOOL::checkMoveInProgress(), SCH_EDIT_TOOL::CycleBodyStyle(), EDIT_TOOL::doMoveSelection(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), KIGFX::SCH_PAINTER::draw(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), PCB_TUNING_PATTERN::EditStart(), PCB_VIA_STACK::EditStart(), PCB_VIA_STITCH::EditStart(), SCH_MOVE_TOOL::finalizeMoveOperation(), SYMBOL_EDITOR_DRAWING_TOOLS::Init(), SCH_MOVE_TOOL::initializeMoveOperation(), SCH_LINE_WIRE_BUS_TOOL::IsDrawingLineWireOrBus(), SCH_SCREEN::IsTerminalPoint(), PL_EDIT_TOOL::Main(), PL_POINT_EDITOR::Main(), SCH_POINT_EDITOR::Main(), PCB_BASE_FRAME::PlaceFootprint(), SYMBOL_EDITOR_PIN_TOOL::PlacePin(), SCH_SELECTION_TOOL::select(), COMMIT::Unstage(), PCB_TUNING_PATTERN::Update(), and PCB_TUNING_PATTERN::ViewDraw().
|
inlinevirtualinherited |
Reimplemented in PAD, PCB_GROUP, PCB_TRACK, PCB_VIA, and ZONE.
Definition at line 189 of file board_item.h.
References GetLayer(), GetLayerSet(), IsCopperLayer(), IsSingleLayerType(), and EDA_ITEM::Type().
Referenced by CN_CONNECTIVITY_ALGO::Add(), FOOTPRINT::CheckNetTies(), DRC_ENGINE::EvalRules(), PCB_SHAPE::GetItemDescription(), PCB_SHAPE::GetMsgPanelInfo(), PCB_SHAPE::IsConnected(), isCopper(), PCB_SELECTION_TOOL::isExpandableGraphicShape(), ZONE_PAINTER::PCB_PAINTER(), BOARD_INSPECTION_TOOL::reportClearance(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), PCB_SHAPE::SetLayer(), BOARD_CONNECTED_ITEM::SetNetCode(), shapeNeedsUpdate(), PCB_CONTROL::TrackDisplayMode(), PCB_CONTROL::UpdateMessagePanel(), and PCB_SHAPE::ViewGetLayers().
|
overridevirtualinherited |
Test to see if this object is on the given layer.
Virtual so objects like PAD, which reside on multiple layers can do their own form of testing.
| aLayer | The layer to test for. |
Reimplemented from BOARD_ITEM.
Definition at line 387 of file pcb_shape.cpp.
References B_Cu, B_Mask, F_Cu, F_Mask, m_hasSolderMask, and BOARD_ITEM::m_layer.
Referenced by BOARD_ADAPTER::addFootprintShapes(), BOARD_ADAPTER::addShape(), BOOST_FIXTURE_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), GRAPHICS_CLEANER::fixBoardOutlines(), isEdge(), DSN::SPECCTRA_DB::makeIMAGE(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer(), and transformFPTextToPolySet().
|
inherited |
Definition at line 3006 of file eda_shape.cpp.
References GetPolyShape(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), and SHAPE_LINE_CHAIN::PointCount().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_KICAD_SEXPR::format(), idf_append_shape(), BRDITEMS_PLOTTER::PlotShape(), TransformShapeToPolygon(), and TransformWithLineEndingsToPolygon().
|
inlineoverridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 153 of file pcb_shape.h.
References EDA_SHAPE::m_proxyItem.
Referenced by KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), PAD_TOOL::explodePad(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), PAD::Recombine(), and PCB_POINT_EDITOR::updateItem().
|
inlinevirtualinherited |
Override this method in any derived object that supports test find and replace.
Reimplemented in SCH_FIELD, SCH_LABEL, SCH_SHEET, SCH_SHEET_PIN, SCH_SYMBOL, SCH_TEXT, and SCH_TEXTBOX.
Definition at line 520 of file eda_item.h.
Referenced by Matches().
|
inlineinherited |
Definition at line 142 of file eda_item.h.
References m_isRollover.
Referenced by KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), and SCH_ITEM::HasHoveredHypertext().
|
inlineinherited |
Definition at line 97 of file view_item.h.
References m_isSCH_ITEM.
Referenced by SCH_GROUP_TOOL::canGroupItem(), KIGFX::SCH_VIEW::DisplaySheet(), EDA_ITEM::EDA_ITEM(), SCH_EDIT_FRAME::FocusOnItem(), SYMBOL_EDIT_FRAME::FocusOnItem(), SCH_PROPERTIES_PANEL::getPropertyFromEvent(), EE_GRID_HELPER::ResolveSnap(), SCH_TOOL_BASE< T >::saveCopyInUndoList(), and KIGFX::SCH_VIEW::Update().
|
inlineinherited |
Definition at line 134 of file eda_item.h.
References m_flags, and SELECTED.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), SCH_DRAG_NET_COLLISION_MONITOR::collectDisconnectedMarkers(), DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), KIGFX::PCB_PAINTER::Draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::drawItemBoundingBox(), DS_PROXY_UNDO_ITEM::DS_PROXY_UNDO_ITEM(), SCH_SELECTION_TOOL::expandConnectionWithGraph(), SCH_MOVE_TOOL::findTargetSheet(), RENDER_3D_OPENGL::get3dModelsFromFootprint(), KIGFX::DS_RENDER_SETTINGS::GetColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), SCH_MOVE_TOOL::getConnectedDragItems(), KIGFX::SCH_PAINTER::getLineWidth(), KIGFX::SCH_PAINTER::getRenderColor(), SCH_ALIGN_TOOL::GetSelections(), SCH_MOVE_TOOL::initializeMoveOperation(), DIALOG_CHANGE_SYMBOLS::isMatch(), DIALOG_EXCHANGE_FOOTPRINTS::isMatch(), SCH_LINE::MergeOverlap(), SCH_EDIT_TOOL::Mirror(), EDIT_TOOL::MoveExact(), SCH_MOVE_TOOL::moveItem(), KIGFX::SCH_PAINTER::nonCached(), DIALOG_ZONE_MANAGER::OnDeleteClick(), SCH_MOVE_TOOL::orthoLineDrag(), ZONE_PAINTER::PCB_PAINTER(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), BOARD_COMMIT::Push(), SCH_COMMIT::pushSchEdit(), PCB_SELECTION_TOOL::RebuildSelection(), SCH_SELECTION_TOOL::RebuildSelection(), SCH_DRAG_NET_COLLISION_MONITOR::recordOriginalConnections(), SCH_MOVE_TOOL::recordRedundantJunctions(), RENDER_3D_OPENGL::renderPlaceholderForFootprint(), SCH_FIND_REPLACE_TOOL::ReplaceAll(), SCH_COMMIT::Revert(), SCH_EDIT_TOOL::Rotate(), SCH_TOOL_BASE< T >::saveCopyInUndoList(), CLIPBOARD_IO::SaveSelection(), SCH_IO_KICAD_SEXPR::saveTable(), GERBVIEW_SELECTION_TOOL::select(), PCB_SELECTION_TOOL::select(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), SCH_EDIT_FRAME::SelectBodyStyle(), PCB_SELECTION_TOOL::SelectColumns(), SCH_SELECTION_TOOL::SelectColumns(), SCH_SELECTION_TOOL::SelectMultiple(), GERBVIEW_SELECTION_TOOL::selectPoint(), PCB_SELECTION_TOOL::SelectRows(), SCH_SELECTION_TOOL::SelectRows(), SCH_COMMIT::Stage(), PCB_SELECTION_TOOL::toggleTableCellSelection(), DIALOG_TABLE_PROPERTIES::TransferDataToWindow(), GERBVIEW_SELECTION_TOOL::unselect(), PCB_VIA_STITCH::Update(), SCH_FIND_REPLACE_TOOL::UpdateFind(), SCH_SYMBOL::UpdatePins(), PCB_TUNING_PATTERN::ViewDraw(), PCB_FIELD::ViewGetLOD(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::visitItem(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem().
|
inlineinherited |
Definition at line 206 of file eda_item.h.
References IS_SHOWN_AS_BITMAP, and m_flags.
|
inherited |
Definition at line 235 of file board_item.cpp.
References BOARD, GetBoard(), GetLayerSet(), LT_BACK, LT_FRONT, m_layer, and LSET::SideSpecificMask().
Referenced by PCB_BARCODE::AssembleBarcode(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), PCB_TEXT::Flip(), PCB_TEXTBOX::Flip(), and PCB_DIMENSION_BASE::Mirror().
|
inlineinherited |
Definition at line 123 of file eda_shape.h.
References FILLED_SHAPE, FILLED_WITH_BG_BODYCOLOR, FILLED_WITH_COLOR, and GetFillMode().
Referenced by FEATURES_MANAGER::AddShape(), BOARD_ADAPTER::addShape(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), GetBoardItemWidth(), PCB_SHAPE::GetConnectionPoints(), PCB_SHAPE::GetSolderMaskExpansion(), IsFilledForHitTesting(), SCH_RULE_AREA::MakeEffectiveShapes(), makeEffectiveShapes(), makeShortenedBodyShapes(), BRDITEMS_PLOTTER::PlotShape(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), SCH_TABLECELL_DESC::SCH_TABLECELL_DESC(), DIALOG_TEXT_PROPERTIES::TransferDataToWindow(), TransformShapeToPolygon(), and TransformWithLineEndingsToPolygon().
|
protectedinherited |
Return true if this text is (or, while a font resolution is still pending, is named as) a stroke font, as opposed to an outline font.
Definition at line 271 of file eda_text.cpp.
References GetFont(), KIFONT::FONT::IsStroke(), and m_unresolvedFontName.
Referenced by GetEffectiveTextPenWidth(), MigrateLegacyBoldStrokeWidth(), SetBold(), and SetItalic().
|
inlinevirtualinherited |
Checks if the given object is tented (its copper shape is covered by solder mask) on a given side of the board.
| aLayer | is the layer to check tenting mode for: F_Cu and F_Mask are treated identically as are B_Cu and B_Mask |
Reimplemented in PCB_VIA.
Definition at line 224 of file board_item.h.
Referenced by BOARD_INSPECTION_TOOL::reportClearance(), and DRC_TEST_PROVIDER_SILK_CLEARANCE::Run().
|
inlineoverridevirtual |
Check whether the item is one of the listed types.
| aScanTypes | List of item types |
Reimplemented from PCB_SHAPE.
Definition at line 54 of file pcb_textbox.h.
References EDA_ITEM::IsType(), and PCB_LOCATE_TEXT_T.
|
inlinevirtualinherited |
Definition at line 226 of file eda_text.h.
References m_visible.
Referenced by FEATURES_MANAGER::AddText(), SCH_EDITOR_CONTROL::AssignFootprints(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CheckItemDRCViolation(), LIB_SYMBOL::Compare(), MULTICHANNEL_TOOL::copyRuleAreaContents(), EDIT_TOOL::DeleteItems(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), SYMBOL_EDITOR_EDIT_TOOL::DoDelete(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), EDA_TEXT_DESC::EDA_TEXT_DESC(), SCH_EDIT_TOOL::EditField(), SCH_EDIT_TOOL::EditProperties(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_IPC2581::generateLayerSetNet(), FOOTPRINT::GetBoundingBox(), LIB_SYMBOL::GetFields(), PCB_SHAPE::getHatchingKnockouts(), SCH_FIELD::GetMsgPanelInfo(), FIELDS_GRID_TABLE::GetValue(), FIELDS_GRID_TABLE::GetValueAsBool(), PCB_FIELDS_GRID_TABLE::GetValueAsBool(), SCH_FIELD::HasSameContent(), SCH_FIELD::ImportValues(), DRC_RTREE::Insert(), GENERAL_COLLECTOR::Inspect(), PCB_FIELD::Matches(), SCH_FIELD::Matches(), SIM_MODEL::MigrateSimModel(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::placeSymbolFields(), SCH_FIELD::Plot(), SCH_TEXT::Plot(), LIB_SYMBOL::PlotFields(), BRDITEMS_PLOTTER::PlotFootprintTextItems(), DIALOG_CHANGE_SYMBOLS::processSymbols(), processTextItem(), SCH_IO_KICAD_LEGACY::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_SEXPR::saveField(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), PCB_SELECTION_TOOL::Selectable(), SCH_SELECTION_TOOL::Selectable(), PCB_FIELD::Serialize(), SCH_FIELD::Serialize(), PNS_KICAD_IFACE_BASE::syncDimension(), LIB_SYMBOL::SyncFieldsFromParent(), PNS_KICAD_IFACE_BASE::syncTextItem(), SCH_SHEET_PATH::UpdateAllScreenReferences(), and SCH_EDITOR_CONTROL::UpdateNetHighlighting().
|
inlinestaticinherited |
This changes first parameter to avoid the DList and use the main queue instead.
Definition at line 401 of file eda_item.h.
References CONTINUE, EDA_ITEM(), QUIT, and Visit().
Referenced by BOARD::Visit(), FOOTPRINT::Visit(), and GERBER_FILE_IMAGE::Visit().
|
inlinestaticinherited |
Change first parameter to avoid the DList and use std::vector instead.
Definition at line 421 of file eda_item.h.
References CONTINUE, EDA_ITEM(), QUIT, and Visit().
|
virtualinherited |
Return a string (to be shown to the user) describing a layer mask.
Reimplemented in PCB_VIA.
Definition at line 252 of file board_item.cpp.
References _, LSET::AllCuMask(), LSET::AllTechMask(), BOARD, GetBoard(), BOARD::GetCopperLayerCount(), BOARD::GetEnabledLayers(), BOARD::GetLayerName(), GetLayerSet(), LayerName(), MAX_CU_LAYERS, PCB_LAYER_ID_COUNT, PCBNEW_LAYER_ID_START, and ToLAYER_ID().
Referenced by PAD::GetItemDescription(), PAD::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfo(), and PCB_TUNING_PATTERN::GetMsgPanelInfo().
|
inherited |
Return the levenstein distance between two texts.
Return a value of 0.0 - 1.0 where 1.0 is a perfect match.
Definition at line 1242 of file eda_text.cpp.
References distance(), EDA_TEXT(), and GetText().
Referenced by Similarity().
|
staticprotectedinherited |
Get the scale at which aWhatIu would be drawn at the same size as aThresholdIu on screen.
This is useful when a level-of-detail is defined in terms of a threshold size (i.e. 'only draw X when it will be bigger than Y size on screen').
E.g. if aWhatIu is 1000 and aThresholdIu is 100, then the item will be the same size as the threshold at 0.1 scale. Returning that 0.1 as the LoD will hide the item when the scale is less than 0.1 - i.e. smaller than the threshold.
Because even at zoom 1.0, 1mm in KiCad may not be exactly 1mm on a physical screen, the threshold may not be exact in practice.
Definition at line 35 of file view_item.cpp.
References KIGFX::VIEW::GetPainter(), KIGFX::PAINTER::GetSettings(), KIGFX::RENDER_SETTINGS::IsPrinting(), LOD_HIDE, LOD_SHOW, and VIEW.
Referenced by GERBER_DRAW_ITEM::ViewGetLOD(), PAD::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), PCB_VIA::ViewGetLOD(), and SCH_LINE::ViewGetLOD().
|
inlinevirtualinherited |
Make a set of SHAPE objects representing the EDA_SHAPE.
Caller owns the objects.
| aEdgeOnly | indicates only edges should be generated (even if 0 width), and no fill shapes. |
Reimplemented in SCH_RULE_AREA, and SCH_SHAPE.
Definition at line 549 of file eda_shape.h.
References makeEffectiveShapes().
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), hitTest(), MakeEffectiveShapesForStroking(), and DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run().
|
protectedinherited |
Make a set of SHAPE objects representing the EDA_SHAPE.
Caller owns the objects.
| aEdgeOnly | indicates only edges should be generated (even if 0 width), and no fill shapes. |
| aLineChainOnly | indicates SHAPE_POLY_SET is being abused slightly to represent a lineChain rather than a closed polygon. |
Definition at line 2345 of file eda_shape.cpp.
References ANGLE_360, ARC, SHAPE_LINE_CHAIN::Arc(), SHAPE_LINE_CHAIN::ArcIndex(), BEZIER, buildBezierToSegmentsPointsList(), buildShapeEllipse(), chain, CIRCLE, SHAPE_ELLIPSE::ConvertToPolyline(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CSegment(), ELLIPSE, ELLIPSE_ARC, GetArcAngle(), getCenter(), GetEffectiveWidth(), GetEnd(), getMaxError(), GetPolyShape(), GetRadius(), GetRectangleHeight(), GetRectangleWidth(), GetRectCorners(), GetStart(), SHAPE_LINE_CHAIN::IsArcSegment(), SHAPE_LINE_CHAIN::IsClosed(), IsFilledForHitTesting(), IsHatchedFill(), IsProxyItem(), IsSolidFill(), m_arcCenter, m_cornerRadius, m_end, m_shape, m_start, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), POLY, RECTANGLE, SEGMENT, SHAPE_LINE_CHAIN::Segment(), SHAPE_LINE_CHAIN::SegmentCount(), SHAPE_T_asString(), ROUNDRECT::TransformToPolygon(), and UNIMPLEMENTED_FOR.
Referenced by MakeEffectiveShapes(), SCH_SHAPE::MakeEffectiveShapes(), MakeEffectiveShapesForHitTesting(), and makeShortenedBodyShapes().
|
inlinevirtualinherited |
Definition at line 569 of file eda_shape.h.
References makeEffectiveShapes().
Referenced by SCH_SELECTION_TOOL::GuessSelectionCandidates(), and PCB_SELECTION_TOOL::hitTestDistance().
|
inherited |
Make a set of SHAPE objects to hand to STROKE_PARAMS::Stroke().
A Bezier comes back as one SHAPE_LINE_CHAIN and an ellipse as one SHAPE_ELLIPSE, so the pattern runs continuously along the curve instead of restarting at every point of its polyline approximation. Every other shape comes from MakeEffectiveShapes(), edges only.
If the shape has line endings that consume part of the body, the body is shortened accordingly (a shortened Bezier still comes back as one SHAPE_LINE_CHAIN).
Caller owns the objects.
| aLineWidth | is the width used to size the line endings; -1 uses GetEffectiveWidth() (callers whose width is resolved externally, e.g. by render settings, must pass it explicitly). |
Definition at line 2299 of file eda_shape.cpp.
References ARC, BEZIER, buildBezierToSegmentsPointsList(), buildShapeEllipse(), ELLIPSE, ELLIPSE_ARC, GetEffectiveWidth(), getMaxError(), m_endEnding, m_shape, m_startEnding, MakeEffectiveShapes(), makeShortenedBodyShapes(), POLY, SEGMENT, and ShortenedBezierPolyline().
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EXPORTER_STEP::buildGraphic3DShape(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), and BRDITEMS_PLOTTER::PlotShape().
|
inherited |
Make effective geometry for the shape body shortened for line endings plus the line-ending geometry itself.
Caller owns the objects.
Definition at line 2694 of file eda_shape.cpp.
References MakeLineEndingEffectiveShapes(), and makeShortenedBodyShapes().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_SHAPE::GetEffectiveShape(), SCH_LINE::HitTest(), SCH_LINE::HitTest(), SCH_LINE::HitTest(), hitTest(), hitTest(), hitTest(), and PNS_KICAD_IFACE_BASE::syncGraphicalItem().
|
inherited |
Make the line-ending geometry associated with this shape.
Caller owns the objects.
Definition at line 2573 of file eda_shape.cpp.
References addLineEndingEffectiveShapes(), GetEndingTangents(), GetLineEndingEndpoints(), hasLineEnding(), m_endEnding, and m_startEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and MakeEffectiveShapesWithLineEndings().
|
protectedinherited |
Make effective geometry for the shape body shortened for line endings, without the line-ending geometry itself.
Falls back to makeEffectiveShapes() when no shortening applies.
Caller owns the objects.
Definition at line 2597 of file eda_shape.cpp.
References ARC, BEZIER, CalcArcAngles(), SHAPE_POLY_SET::COutline(), end, GetEffectiveWidth(), GetEnd(), GetPolyShape(), GetRadius(), GetShortenedBodyPolyPoints(), GetStart(), SHAPE_LINE_CHAIN::IsClosed(), IsHatchedFill(), IsProxyItem(), IsSolidFill(), m_arcCenter, m_endEnding, m_shape, m_startEnding, makeEffectiveShapes(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), POLY, RotatePoint(), SEGMENT, ShortenArcForEndings(), ShortenedBezierPolyline(), and ShortenSegmentForEndings().
Referenced by MakeEffectiveShapesForStroking(), and MakeEffectiveShapesWithLineEndings().
|
staticinherited |
Definition at line 70 of file eda_text.cpp.
References GR_TEXT_H_ALIGN_LEFT, and GR_TEXT_H_ALIGN_RIGHT.
Referenced by DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), SCH_FIELD::SetEffectiveHorizJustify(), FIELDS_GRID_TABLE::SetValue(), DIALOG_FIELD_PROPERTIES::UpdateField(), and DIALOG_FIELD_PROPERTIES::UpdateField().
|
staticinherited |
Definition at line 84 of file eda_text.cpp.
References GR_TEXT_V_ALIGN_BOTTOM, and GR_TEXT_V_ALIGN_TOP.
Referenced by DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), SCH_FIELD::SetEffectiveVertJustify(), FIELDS_GRID_TABLE::SetValue(), DIALOG_FIELD_PROPERTIES::UpdateField(), and DIALOG_FIELD_PROPERTIES::UpdateField().
|
protectedinherited |
Compare aText against search criteria in aSearchData.
This is a helper function for simplify derived class logic.
| aText | A reference to a wxString object containing the string to test. |
| aSearchData | The criteria to search against. |
Definition at line 318 of file eda_item.cpp.
References CTX_SEARCH, EDA_COMBINED_MATCHER::Find(), EDA_SEARCH_DATA::findString, flag, IsReplaceable(), isWordChar(), EDA_SEARCH_DATA::matchCase, EDA_SEARCH_DATA::matchMode, next(), PERMISSIVE, REGEX, EDA_SEARCH_DATA::regex, EDA_SEARCH_DATA::regex_string, EDA_SEARCH_DATA::searchAndReplace, text, WHOLEWORD, and WILDCARD.
|
overridevirtual |
Compare the item against the search criteria in aSearchData.
The base class returns false since many of the objects derived from EDA_ITEM do not have any text to search.
| aSearchData | A reference to a wxFindReplaceData object containing the search criteria. |
| aAuxData | A pointer to optional data required for the search or NULL if not used. |
Reimplemented from EDA_ITEM.
Definition at line 538 of file pcb_textbox.cpp.
References EDA_TEXT::GetText(), EDA_ITEM::Matches(), and UnescapeString().
|
inherited |
Migrate a pre-v11 bold stroke text so its stored thickness holds the base (non-bold) width.
Older files baked the bolded pen size into the stroke width; Bold is now a render-time multiplier, so divide it back out. No-op for auto width, non-bold text, or outline fonts (where thickness is not the weight mechanism).
Definition at line 327 of file eda_text.cpp.
References BOLD_STROKE_MULTIPLIER, GetTextThickness(), IsBold(), isStrokeFont(), KiROUND(), and SetTextThickness().
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), BOOST_AUTO_TEST_CASE(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), and SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT().
|
overridevirtual |
Mirror this object relative to a given horizontal axis the layer is not changed.
| aCentre | the mirror point. |
| aMirrorAroundXAxis | mirror across X axis instead of Y (the default). |
Reimplemented from PCB_SHAPE.
Definition at line 661 of file pcb_textbox.cpp.
References ANGLE_180, GetTextAngle(), LEFT_RIGHT, m_libTextAngle, PCB_SHAPE::Mirror(), and EDA_TEXT::SetTextAngle().
|
overridevirtual |
Move this object.
| aMoveVector | the move vector for this object. |
Reimplemented from PCB_SHAPE.
Definition at line 574 of file pcb_textbox.cpp.
References PCB_SHAPE::Move(), and EDA_TEXT::Offset().
|
protectedinherited |
Definition at line 949 of file eda_shape.cpp.
References SEG::A, ARC, SEG::B, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, GetPolyShape(), KI_FALLTHROUGH, m_arcCenter, m_arcMidData, m_bezierC1, m_bezierC2, m_bezierPoints, m_ellipse, m_end, m_hatchingCache, m_hatchingDirty, m_shape, m_start, SHAPE_POLY_SET::Move(), POLY, RECTANGLE, SEGMENT, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by SCH_TEXTBOX::Move().
|
overridevirtualinherited |
Perform any normalization required after a user rotate and/or flip.
Reimplemented from BOARD_ITEM.
Definition at line 722 of file pcb_shape.cpp.
References SEG::A, SEG::B, end, BOX2< Vec >::GetEnd(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetPolyShape(), BOX2< Vec >::GetPosition(), EDA_SHAPE::GetStart(), EDA_SHAPE::m_shape, BOX2< Vec >::Normalize(), SHAPE_POLY_SET::Outline(), POLY, RECTANGLE, SHAPE_LINE_CHAIN::Segment(), SetEnd(), SetShape(), SetStart(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by BOOST_AUTO_TEST_CASE(), DRAWING_TOOL::DrawRectangle(), NormalizeForCompare(), and PCB_TEXTBOX::Rotate().
|
overridevirtualinherited |
Normalize coordinates to compare 2 similar PCB_SHAPES similat to Normalize(), but also normalize SEGMENT end points needed only for graphic comparisons.
Reimplemented from BOARD_ITEM.
Definition at line 781 of file pcb_shape.cpp.
References EDA_SHAPE::GetEnd(), GetLibraryEnd(), GetLibraryStart(), EDA_SHAPE::GetStart(), EDA_SHAPE::m_shape, Normalize(), SEGMENT, SetEnd(), SetStart(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
virtualinherited |
Reimplemented in PCB_TEXT.
Definition at line 558 of file eda_text.cpp.
References ANGLE_0, ClearBoundingBoxCache(), m_pos, m_render_cache, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by CADSTAR_ARCHIVE_PARSER::FixTextPositionNoAlignment(), PCB_TEXTBOX::Move(), SCH_FIELD::Move(), SCH_SHEET_PIN::Move(), SCH_TEXT::Move(), SCH_TEXTBOX::Move(), PCB_TEXT::Offset(), PCB_TEXT::SetLibTextPos(), SCH_IO_LTSPICE_PARSER::setTextJustification(), SetTextPos(), SetTextX(), SetTextY(), SCH_SYMBOL::SyncOtherUnits(), DIALOG_LABEL_PROPERTIES::TransferDataToWindow(), DIALOG_SHEET_PROPERTIES::TransferDataToWindow(), and DIALOG_SYMBOL_PROPERTIES::TransferDataToWindow().
|
overridevirtual |
Apply a parent footprint scale to this item.
Default is a no-op. Items with sizable geometry (PAD, PCB_SHAPE, PCB_TEXT, ZONE) override.
| aRatioX | new Sx / old Sx (multiply X-axis-aligned values by this). |
| aRatioY | same for Y. |
| aLinearFactor | weighted factor for stroke / thickness. |
| aAnchor | scale anchor (the parent footprint's translate). |
| aParentRotate | current parent rotation. Needed by POLY / BEZIER to unrotate before scaling and rotate back. |
Reimplemented from PCB_SHAPE.
Definition at line 749 of file pcb_textbox.cpp.
References OnFootprintTransformed().
|
overridevirtual |
Hook for items inside a footprint to refresh after the FP transform changes (translate, rotate, flip).
Scaling uses OnFootprintRescaled.
Reimplemented from PCB_SHAPE.
Definition at line 693 of file pcb_textbox.cpp.
References std::abs(), TRANSFORM_TRS::Apply(), EDA_TEXT::ClearBoundingBoxCache(), EDA_TEXT::ClearRenderCache(), PCB_SHAPE::GetLibraryShape(), BOARD_ITEM::GetParentFootprint(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), GetTextAngle(), KiROUND(), PCB_SHAPE::m_libEnd, PCB_SHAPE::m_libStart, EDA_SHAPE::m_shape, PCB_SHAPE::OnFootprintTransformed(), RECTANGLE, EDA_SHAPE::SetEnd(), EDA_SHAPE::SetStart(), EDA_TEXT::SetTextAngle(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), and OnFootprintRescaled().
|
inherited |
Test if another item is less than this object.
| aItem | - Item to compare against. |
Definition at line 479 of file eda_item.cpp.
References EDA_ITEM(), and KIGFX::VIEW_ITEM::GetClass().
|
inlineinherited |
Definition at line 439 of file eda_text.h.
References Compare(), and EDA_TEXT().
|
inherited |
Definition at line 3770 of file eda_shape.cpp.
References ARC, BEZIER, ELLIPSE< NumericType >::Center, CIRCLE, SHAPE_POLY_SET::CVertex(), EDA_SHAPE(), ELLIPSE, ELLIPSE_ARC, ELLIPSE< NumericType >::EndAngle, STROKE_PARAMS::GetLineStyle(), GetPolyShape(), GetShape(), STROKE_PARAMS::GetWidth(), m_arcCenter, m_bezierC1, m_bezierC2, m_bezierPoints, m_ellipse, m_end, m_endEnding, m_fill, m_fillColor, m_shape, m_start, m_startEnding, m_stroke, ELLIPSE< NumericType >::MajorRadius, ELLIPSE< NumericType >::MinorRadius, POLY, RECTANGLE, ELLIPSE< NumericType >::Rotation, SEGMENT, ELLIPSE< NumericType >::StartAngle, and SHAPE_POLY_SET::TotalVertices().
Referenced by PCB_SHAPE::operator==(), and SCH_SHAPE::operator==().
|
inlineinherited |
Definition at line 438 of file eda_text.h.
References Compare(), and EDA_TEXT().
Referenced by SCH_FIELD::HasSameContent(), PCB_DIMENSION_BASE::operator==(), PCB_FIELD::operator==(), PCB_TEXT::operator==(), PCB_TEXTBOX::operator==(), SCH_FIELD::operator==(), SCH_TEXT::operator==(), and SCH_TEXTBOX::operator==().
|
inherited |
Definition at line 1768 of file pcb_shape.cpp.
References NETINFO_ITEM::GetNetCode(), EDA_ITEM::m_flags, EDA_ITEM::m_forceVisible, m_hasSolderMask, BOARD_ITEM::m_isKnockout, BOARD_ITEM::m_isLocked, BOARD_ITEM::m_layer, BOARD_CONNECTED_ITEM::m_netinfo, m_solderMaskMargin, EDA_SHAPE::operator==(), PCB_SHAPE(), and EDA_ITEM::Type().
|
overridevirtual |
Reimplemented from PCB_SHAPE.
Definition at line 965 of file pcb_textbox.cpp.
References BOARD_ITEM::BOARD_ITEM(), PCB_TEXTBOX(), and EDA_ITEM::Type().
| bool PCB_TEXTBOX::operator== | ( | const PCB_TEXTBOX & | aOther | ) | const |
Definition at line 976 of file pcb_textbox.cpp.
References m_borderEnabled, EDA_TEXT::operator==(), and PCB_TEXTBOX().
Referenced by PCB_TABLECELL::operator==().
|
inlineinherited |
Definition at line 440 of file eda_text.h.
References Compare(), and EDA_TEXT().
Definition at line 274 of file pcb_shape.h.
References m_libBezierC1, and m_libBezierC2.
Referenced by PAD::AddPrimitive(), and BOOST_AUTO_TEST_CASE().
|
inlineinherited |
Definition at line 265 of file pcb_shape.h.
References ARC, m_libArcMid, m_libEnd, m_libShape, and m_libStart.
Referenced by PAD::AddPrimitive(), PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
inlineinherited |
Definition at line 280 of file pcb_shape.h.
References m_libPoly.
Referenced by PAD::AddPrimitive(), PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib(), and BOOST_AUTO_TEST_CASE().
|
inherited |
Definition at line 80 of file board_connected_item.cpp.
References GetNetname().
Referenced by PAD::Serialize(), PCB_ARC::Serialize(), PCB_SHAPE::Serialize(), PCB_TRACK::Serialize(), PCB_VIA::Serialize(), and ZONE::Serialize().
|
inherited |
Print this text object to the device context aDC.
| aDC | the current Device Context. |
| aOffset | draw offset (usually (0,0)). |
| aColor | text color. |
Definition at line 892 of file eda_text.cpp.
References FOR_CANVAS, GetDrawPos(), GetLinePositions(), GetShownText(), IsMultilineAllowed(), printOneLineOfText(), and wxStringSplit().
Referenced by DS_DRAW_ITEM_TEXT::PrintWsItem().
|
protectedinherited |
Print each line of this EDA_TEXT.
| aOffset | draw offset (usually (0,0)). |
| aColor | text color. |
| aText | the single line of text to draw. |
| aPos | the position of this line ). |
Definition at line 959 of file eda_text.cpp.
References KIGFX::RENDER_SETTINGS::GetDefaultPenWidth(), GetDrawFont(), GetDrawRotation(), GetEffectiveTextPenWidth(), getFontMetrics(), GetHorizJustify(), KIGFX::RENDER_SETTINGS::GetPrintDC(), GetTextSize(), GetVertJustify(), GRPrintText(), IsBold(), IsItalic(), IsMirrored(), and VECTOR2< T >::x.
Referenced by Print().
|
inherited |
Definition at line 978 of file pcb_shape.cpp.
References FOOTPRINT::GetTransform(), rebakeFromTransform(), and transformFp().
Referenced by BOOST_AUTO_TEST_CASE(), OnFootprintRescaled(), and OnFootprintTransformed().
|
protectedinherited |
Definition at line 989 of file pcb_shape.cpp.
References std::abs(), ANGLE_360, SHAPE_POLY_SET::Append(), TRANSFORM_TRS::Apply(), ARC, BEZIER, CalcArcCenter(), chain, CIRCLE, DEGREES_T, ELLIPSE, ELLIPSE_ARC, BOX2< Vec >::GetEnd(), getMaxError(), BOX2< Vec >::GetOrigin(), EDA_SHAPE::GetPolyShape(), TRANSFORM_TRS::GetRotate(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), EDA_ANGLE::IsCardinal(), TRANSFORM_TRS::IsUniformScale(), SHAPE_POLY_SET::IterateWithHoles(), KiROUND(), m_libArcMid, m_libBezierC1, m_libBezierC2, m_libEllipseCenter, m_libEllipseEndAngle, m_libEllipseMajorRadius, m_libEllipseMinorRadius, m_libEllipseRotation, m_libEllipseStartAngle, m_libEnd, m_libPoly, m_libShape, m_libStart, EDA_SHAPE::m_shape, BOX2< Vec >::Merge(), SHAPE_POLY_SET::NewOutline(), SHAPE_POLY_SET::Outline(), POLY, EDA_SHAPE::RebuildBezierToSegmentsPointsList(), RECTANGLE, SHAPE_POLY_SET::RemoveAllContours(), EDA_SHAPE::SetArcGeometry(), EDA_SHAPE::SetBezierC1(), EDA_SHAPE::SetBezierC2(), SHAPE_LINE_CHAIN::SetClosed(), EDA_SHAPE::SetEllipseCenter(), SetEllipseCenter(), EDA_SHAPE::SetEllipseEndAngle(), SetEllipseEndAngle(), EDA_SHAPE::SetEllipseMajorRadius(), SetEllipseMajorRadius(), EDA_SHAPE::SetEllipseMinorRadius(), SetEllipseMinorRadius(), EDA_SHAPE::SetEllipseRotation(), SetEllipseRotation(), EDA_SHAPE::SetEllipseStartAngle(), SetEllipseStartAngle(), EDA_SHAPE::SetEnd(), EDA_SHAPE::SetStart(), and SHAPE_POLY_SET::SetVertex().
Referenced by Flip(), RebakeFromLib(), and RebakeWithScale().
|
inherited |
Definition at line 970 of file pcb_shape.cpp.
References rebakeFromTransform(), and TRANSFORM_TRS::SetScale().
Referenced by PAD::rebakePrimitiveToFootprint().
|
inlineinherited |
Definition at line 539 of file eda_shape.h.
References getMaxError(), and RebuildBezierToSegmentsPointsList().
Referenced by beginEdit(), calcEdit(), Deserialize(), flip(), PCB_SHAPE::rebakeFromTransform(), RebuildBezierToSegmentsPointsList(), and scale().
|
inherited |
Rebuild the m_bezierPoints vertex list that approximate the Bezier curve by a list of segments.
Has meaning only for BEZIER shape.
| aMinSegLen | is the max deviation between the polyline and the curve. |
Definition at line 1201 of file eda_shape.cpp.
References BEZIER, buildBezierToSegmentsPointsList(), m_bezierPoints, and m_shape.
Referenced by KI_TEST::addBezier(), SCH_IO_GEDA::addSymbolGraphic(), BEZIER_DRAW_BEHAVIOR::ApplyToShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BuildCreepageBoardEdges(), idf_append_shape(), GRAPHICS_CLEANER::isNullShape(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadBezier(), makeBezierChain(), SCH_IO_ALTIUM::ParseBezier(), SCH_IO_ALTIUM::ParseEllipse(), SCH_IO_ALTIUM::ParseEllipticalArc(), SCH_SHAPE::Plot(), processShapeSegment(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), and GRAPHICS_IMPORTER::setupSplineOrLine().
|
protectedinherited |
When m_shape == ELLIPSE_ARC, recompute m_start/m_end from m_ellipse.
No-op for other shapes.
Definition at line 1238 of file eda_shape.cpp.
References ELLIPSE, ELLIPSE_ARC, KiROUND(), m_arcCenter, m_editState, m_ellipse, m_end, m_shape, and m_start.
Referenced by endEdit(), flip(), rotate(), scale(), SetCenter(), SetEllipseCenter(), SetEllipseEndAngle(), SetEllipseMajorRadius(), SetEllipseMinorRadius(), SetEllipseRotation(), and SetEllipseStartAngle().
Remap KIIDs this item stores to reference other items (e.g.
constraint members) through aIdMap (old -> new), after a paste/duplicate has re-UUIDed the referenced items. KIIDs absent from the map are left unchanged. The default does nothing.
Reimplemented in PCB_CONSTRAINT.
Definition at line 287 of file board_item.h.
Referenced by PCB_CONTROL::placeBoardItems().
|
inherited |
Remove custom properties whose keys collide with an existing field or built-in property name (matched case-insensitively).
Returns the keys removed, if any.
Definition at line 168 of file eda_item.cpp.
References _HKI, PROPERTY_MANAGER::Instance(), m_customProperties, and RemoveCustomProperty().
|
inherited |
Definition at line 161 of file eda_item.cpp.
References m_customProperties, and m_dynamicCustomPropsCache.
Referenced by PCB_PROPERTIES_PANEL::onKeyRenamed(), SCH_PROPERTIES_PANEL::onKeyRenamed(), RemoveConflictingCustomProperties(), and SCH_PROPERTIES_PANEL::removeCustomProperty().
|
inlineinherited |
Definition at line 445 of file eda_text.h.
References m_hyperlink.
|
inlinevirtualinherited |
Reimplemented in SCH_ITEM.
Definition at line 196 of file eda_item.h.
|
inlinevirtualinherited |
Perform a text replace using the find and replace criteria in aSearchData on items that support text find and replace.
This function must be overridden for items that support text replace.
| aSearchData | A reference to a wxFindReplaceData object containing the search and replace criteria. |
| aAuxData | A pointer to optional data required for the search or NULL if not used. |
Reimplemented in SCH_FIELD, SCH_LABEL_BASE, SCH_PIN, SCH_SHEET_PIN, SCH_TEXT, and SCH_TEXTBOX.
Definition at line 509 of file eda_item.h.
|
staticinherited |
Perform a text replace on aText using the find and replace criteria in aSearchData on items that support text find and replace.
| aSearchData | A reference to a wxFindReplaceData object containing the search and replace criteria. |
| aText | A reference to a wxString object containing the text to be replaced. |
Definition at line 396 of file eda_item.cpp.
References EDA_SEARCH_DATA::findString, flag, isWordChar(), EDA_SEARCH_DATA::matchCase, EDA_SEARCH_DATA::matchMode, next(), REGEX, EDA_SEARCH_DATA::regex, EDA_SEARCH_DATA::regex_string, EDA_SEARCH_DATA::replaceString, result, text, and WHOLEWORD.
Referenced by EDA_TEXT::Replace(), SCH_FIELD::Replace(), SCH_PIN::Replace(), SCH_FIND_REPLACE_TOOL::ReplaceAll(), and SCH_FIND_REPLACE_TOOL::ReplaceAndFindNext().
|
inherited |
Helper function used in search and replace dialog.
Perform a text replace using the find and replace criteria in aSearchData.
| aSearchData | A reference to a EDA_SEARCH_DATA object containing the search and replace criteria. |
Definition at line 445 of file eda_text.cpp.
References cacheShownText(), ClearBoundingBoxCache(), ClearRenderCache(), m_text, and EDA_ITEM::Replace().
Referenced by SCH_FIELD::Replace(), SCH_LABEL_BASE::Replace(), SCH_SHEET_PIN::Replace(), SCH_TEXT::Replace(), and SCH_TEXTBOX::Replace().
|
inlineinherited |
Definition at line 280 of file board_item.h.
References SetUuid().
Referenced by CloneFullySelectedConstraints(), MULTICHANNEL_TOOL::copyRuleAreaContents(), Duplicate(), PCB_TABLE::Duplicate(), API_HANDLER_BOARD::handleCreateUpdateItemsInternal(), API_HANDLER_PCB::handlePlaceFootprintFromLibrary(), and FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard().
|
inlineinherited |
Definition at line 277 of file board_item.h.
References SetUuidDirect().
Referenced by PCB_EDIT_TABLE_TOOL::copyCell(), MULTICHANNEL_TOOL::copyRuleAreaContents(), MICROWAVE_TOOL::createMicrowaveInductor(), DRAWING_TOOL::DrawVia(), FOOTPRINT::Duplicate(), FOOTPRINT::DuplicateItem(), and LoadNetlistFootprints().
|
inherited |
Definition at line 466 of file eda_text.cpp.
References ClearBoundingBoxCache(), KIFONT::FONT::GetFont(), IsBold(), IsItalic(), m_attributes, m_render_cache, and m_unresolvedFontName.
Referenced by BOOST_AUTO_TEST_CASE().
Rotate this object.
| aRotCentre | the rotation center point. |
Reimplemented from PCB_SHAPE.
Definition at line 636 of file pcb_textbox.cpp.
References delta, BOARD_ITEM::GetParentFootprint(), GetTextAngle(), KiROUND(), EDA_SHAPE::m_end, m_libTextAngle, EDA_SHAPE::m_start, PCB_SHAPE::Normalize(), RotatePoint(), EDA_SHAPE::SetEnd(), EDA_SHAPE::SetStart(), EDA_TEXT::SetTextAngle(), syncLibCoords(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SetTextAngle().
Definition at line 1077 of file eda_shape.cpp.
References ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, getMaxError(), GetPolyShape(), GetRectangleHeight(), GetRectangleWidth(), GetStart(), EDA_ANGLE::IsCardinal(), m_arcCenter, m_arcMidData, m_bezierC1, m_bezierC2, m_bezierPoints, m_cornerRadius, m_ellipse, m_end, m_hatchingDirty, m_shape, m_start, POLY, recalcEllipseArcEndpoints(), RECTANGLE, SHAPE_POLY_SET::Rotate(), RotatePoint(), SEGMENT, SetShape(), SHAPE_T_asString(), ROUNDRECT::TransformToPolygon(), and UNIMPLEMENTED_FOR.
Referenced by PCB_SHAPE::Rotate(), and SCH_SHAPE::Rotate().
|
inlinevirtualinherited |
Invoke a function on all children.
Reimplemented in BOARD, FOOTPRINT, PCB_GROUP, and PCB_TABLE.
Definition at line 264 of file board_item.h.
References BOARD_ITEM().
Referenced by BOARD::CacheChildrenById(), BOARD::CacheItemSubtreeById(), BOARD_INSPECTION_TOOL::calculateSelectionRatsnest(), CollectConstraintScopeIds(), PCB_GROUP::DeepDuplicate(), EDIT_TOOL::DeleteItems(), EDIT_TOOL::Duplicate(), PCB_TABLE::Duplicate(), PCB_SELECTION_TOOL::HasLockedDescendant(), PCB_SELECTION_TOOL::highlightInternal(), PCB_TEST_SELECTION_TOOL::highlightInternal(), BOARD_EDITOR_CONTROL::modifyLockSelected(), ARRAY_TOOL::onDialogClosed(), PCB_IO_KICAD_SEXPR_PARSER::Parse(), BOARD_COMMIT::propagateDamage(), BOARD_COMMIT::Push(), PCB_GRID_HELPER::queryVisible(), ALLEGRO::BOARD_BUILDER::stampIds(), BOARD::UncacheChildrenById(), BOARD::UncacheItemSubtreeById(), PCB_SELECTION_TOOL::unhighlightInternal(), PCB_TEST_SELECTION_TOOL::unhighlightInternal(), PCB_SELECTION_TOOL::unrouteSegment(), PCB_SELECTION_TOOL::unrouteSelected(), KIGFX::PCB_VIEW::Update(), and PCB_SELECTION::updateDrawList().
|
inherited |
Definition at line 716 of file pcb_shape.cpp.
References scale.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getShapeFromVertex().
|
protectedinherited |
Definition at line 1013 of file eda_shape.cpp.
References std::abs(), ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, getMaxError(), GetPolyShape(), KI_FALLTHROUGH, KiROUND(), m_arcCenter, m_bezierC1, m_bezierC2, m_ellipse, m_end, m_hatchingDirty, m_shape, m_start, SHAPE_POLY_SET::OutlineCount(), POLY, RebuildBezierToSegmentsPointsList(), recalcEllipseArcEndpoints(), RECTANGLE, SEGMENT, SetPolyPoints(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
|
inherited |
Definition at line 350 of file eda_shape.cpp.
References Serialize().
|
inherited |
Definition at line 248 of file eda_shape.cpp.
References ARC, BEZIER, CIRCLE, circle(), ELLIPSE, ELLIPSE_ARC, GetArcMid(), GetBezierC1(), GetBezierC2(), GetCornerRadius(), GetEllipseCenter(), GetEllipseEndAngle(), GetEllipseMajorRadius(), GetEllipseMinorRadius(), GetEllipseRotation(), GetEllipseStartAngle(), GetEnd(), GetFillMode(), GetPolyShape(), GetShape(), GetStart(), m_endEnding, m_fillColor, m_startEnding, m_stroke, NONE, kiapi::common::PackColor(), kiapi::common::PackDistance(), kiapi::common::PackLineEnding(), kiapi::common::PackPolySet(), kiapi::common::PackStroke(), kiapi::common::PackVector2(), POLY, RECTANGLE, SEGMENT, ToProtoEnum(), and COLOR4D::UNSPECIFIED.
|
inherited |
Definition at line 187 of file eda_text.cpp.
References Serialize(), and text.
|
inherited |
Definition at line 171 of file eda_text.cpp.
References GetAttributes(), GetHyperlink(), GetText(), GetTextPos(), kiapi::common::PackTextAttributes(), kiapi::common::PackVector2(), and text.
|
overridevirtual |
Serializes this object to the given Any message.
The Any message's concrete type will be specific to the object in question.
| aContainer | will be filled with a message describing this object |
Reimplemented from PCB_SHAPE.
Definition at line 109 of file pcb_textbox.cpp.
References Serialize().
Referenced by PCB_TABLECELL::Serialize(), and Serialize().
| void PCB_TEXTBOX::Serialize | ( | kiapi::board::types::BoardTextBox & | aOutput | ) | const |
Definition at line 76 of file pcb_textbox.cpp.
References BOARD_ITEM::BOARD, EDA_TEXT::GetAttributes(), BOARD_ITEM::GetBoard(), EDA_SHAPE::GetEnd(), PCB_SHAPE::GetLayer(), GetMarginBottom(), GetMarginLeft(), GetMarginRight(), GetMarginTop(), BOARD_ITEM::GetParentFootprint(), PCB_SHAPE::GetPosition(), EDA_TEXT::GetText(), IsBorderEnabled(), BOARD_ITEM::IsKnockout(), BOARD_ITEM::IsLocked(), EDA_ITEM::m_Uuid, kiapi::common::PackCustomProperties(), kiapi::common::PackTextAttributes(), kiapi::common::PackVector2(), text, ToProtoEnum(), and ToStdString().
|
inherited |
Definition at line 48 of file inspectable_impl.h.
References PROPERTY_MANAGER::GetProperty(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_MANAGER::PropertyChanged(), PROPERTY_BASE::set(), T, TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
inherited |
Definition at line 31 of file inspectable_impl.h.
References PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_MANAGER::PropertyChanged(), PROPERTY_BASE::set(), T, TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
|
inherited |
Definition at line 28 of file inspectable.cpp.
References PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_MANAGER::PropertyChanged(), PROPERTY_BASE::setter(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
Referenced by KICAD_DIFF::ApplyPropertyResolutions(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), MATCH_PROPERTIES_CATALOG::Copy(), PCB_PROPERTIES_PANEL::valueChanged(), and SCH_PROPERTIES_PANEL::valueChanged().
|
inherited |
Definition at line 45 of file inspectable.cpp.
References PROPERTY_BASE::GetChoices(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_MANAGER::PropertyChanged(), PROPERTY_BASE::set(), TYPE_HASH, PROPERTY_MANAGER::TypeCast(), and PROPERTY_BASE::TypeHash().
|
inlineinherited |
Definition at line 318 of file eda_text.h.
References m_activeUrl.
Referenced by KIGFX::SCH_PAINTER::draw(), and KIGFX::SCH_PAINTER::draw().
|
inlineoverridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 113 of file pcb_shape.h.
References EDA_SHAPE::SetArcAngle(), and syncLibCoords().
|
inlineinherited |
Definition at line 107 of file pcb_shape.h.
References EDA_SHAPE::SetArcAngleAndEnd(), and syncLibCoords().
Referenced by PCAD2KICAD::PCAD_ARC::AddToBoard(), ALTIUM_PCB::ConvertArcs6ToPcbShape(), CADSTAR_PCB_ARCHIVE_LOADER::getShapeFromVertex(), PCB_IO_EAGLE::loadPlain(), ARC_GEOM_SYNCER::OnCSAChange(), PCB_IO_EAGLE::packageWire(), PCB_IO_GEDA::parseElement(), GPCB_FPL_CACHE::parseFOOTPRINT(), PCB_IO_GEDA::parseLayer(), and SPRINT_LAYOUT_PARSER::processCircle().
|
inherited |
Definition at line 1274 of file pcb_shape.cpp.
References EDA_SHAPE::SetArcGeometry(), and syncLibCoords().
Referenced by KI_TEST::addArc(), FEATURES_MANAGER::AddTrack(), applyGeometry(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildShapes(), ConnectBoardShapes(), DIPTRACE::PCB_PARSER::CreateBoardOutline(), DIPTRACE::PCB_PARSER::CreateFootprint(), CONVERT_TOOL::CreateLines(), PCB_IO_AUTOTRAX::emitArc(), PCB_IO_IPC2581::generateLayerSetNet(), makeArc(), makeArc(), ARC_GEOM_SYNCER::OnCRAAChange(), ARC_GEOM_SYNCER::OnSMEChange(), CONVERT_TOOL::SegmentToArc(), and PCB_IO_PADS_BINARY::setBoardOutlineArc().
|
inherited |
Set the text attributes from another instance.
Definition at line 389 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), EDA_TEXT(), m_attributes, and m_pos.
Referenced by SCH_EDIT_TOOL::ChangeTextType(), MULTICHANNEL_TOOL::copyRuleAreaContents(), Deserialize(), PCB_TEXTBOX::Deserialize(), SCH_TEXTBOX::Deserialize(), SCH_FIELD::ImportValues(), SCH_IO_EAGLE::loadLibrary(), SCH_IO_EAGLE::loadSymbol(), SIM_MODEL::MigrateSimModel(), DIALOG_LABEL_PROPERTIES::OnAddField(), DIALOG_CHANGE_SYMBOLS::processSymbols(), processTextItem(), CLIPBOARD_IO::SaveSelection(), and LIB_SYMBOL::SyncFieldsFromParent().
|
inlineinherited |
Definition at line 269 of file eda_text.h.
References m_attributes.
|
inherited |
Definition at line 253 of file eda_text.cpp.
References GetAutoThickness(), GetPenSizeForNormal(), GetTextWidth(), and SetTextThickness().
Referenced by BOOST_AUTO_TEST_CASE(), and EDA_TEXT_DESC::EDA_TEXT_DESC().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1281 of file pcb_shape.cpp.
References EDA_SHAPE::SetBezierC1(), and syncLibCoords().
Referenced by KI_TEST::addBezier(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ConnectBoardShapes(), makeBezierChain(), and BEZIER_GEOM_SYNCER::OnBezierChange().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1288 of file pcb_shape.cpp.
References EDA_SHAPE::SetBezierC2(), and syncLibCoords().
Referenced by KI_TEST::addBezier(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ConnectBoardShapes(), makeBezierChain(), and BEZIER_GEOM_SYNCER::OnBezierChange().
|
inherited |
Set the text to be bold - this will also update the font if needed.
This is the properties system interface.
Definition at line 305 of file eda_text.cpp.
References GetFont(), KIFONT::FONT::GetFont(), IsItalic(), isStrokeFont(), m_attributes, SetBoldFlag(), and SetFont().
Referenced by SCH_IO_ALTIUM::AddTextBox(), ORCAD_CONVERTER::applyFont(), CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), DS_DRAW_ITEM_TEXT::DS_DRAW_ITEM_TEXT(), EDA_TEXT_DESC::EDA_TEXT_DESC(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), SCH_IO_EAGLE::loadTextAttributes(), SCH_IO_ALTIUM::ParseLabel(), FIELDS_GRID_TABLE::SetValue(), FIELDS_GRID_TABLE::SetValueAsBool(), SCH_DRAWING_TOOLS::TwoClickPlace(), and DIALOG_FIELD_PROPERTIES::updateText().
|
inherited |
Set only the bold flag, without changing the font.
Used when bulk-changing text attributes (e.g. from a dialog or import).
Definition at line 319 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadField(), SCH_IO_KICAD_LEGACY::loadSymbol(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadText(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SetBold(), and DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog().
| void PCB_TEXTBOX::SetBorderEnabled | ( | bool | enabled | ) |
Definition at line 953 of file pcb_textbox.cpp.
References m_borderEnabled.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), Deserialize(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), and PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC().
| void PCB_TEXTBOX::SetBorderWidth | ( | const int | aSize | ) |
Definition at line 959 of file pcb_textbox.cpp.
References EDA_SHAPE::m_stroke.
Referenced by PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC().
|
overridevirtual |
Reimplemented from EDA_SHAPE.
Definition at line 310 of file pcb_textbox.cpp.
References ANGLE_180, ANGLE_90, EDA_TEXT::GetDrawRotation(), EDA_SHAPE::SetEndY(), and EDA_SHAPE::SetStartY().
|
inlineinherited |
Definition at line 151 of file eda_item.h.
References BRIGHTENED, and SetFlags().
Referenced by KICAD_DIFF::ConfigureSchDiffCanvasContext(), KIGFX::SCH_PAINTER::draw(), SCH_EDIT_FRAME::FocusOnItem(), SYMBOL_EDIT_FRAME::FocusOnItem(), PCB_BASE_FRAME::FocusOnItems(), PL_SELECTION_TOOL::highlight(), SCH_SELECTION_TOOL::highlight(), PCB_SELECTION_TOOL::highlightInternal(), and PCB_TEST_SELECTION_TOOL::highlightInternal().
|
inherited |
Set the data used for mid point caching.
If the controlling points remain constant, then we keep the midpoint the same as it was when read in. This minimizes VCS churn.
| aStart | Cached start point. |
| aMid | Cached mid point. |
| aEnd | Cached end point. |
| aCenter | Calculated center point using the preceeding three. |
Definition at line 1392 of file eda_shape.cpp.
References m_arcMidData.
Referenced by SetArcGeometry().
|
inherited |
Definition at line 1306 of file eda_shape.cpp.
References ARC, CIRCLE, delta, ELLIPSE, ELLIPSE_ARC, m_arcCenter, m_ellipse, m_end, m_hatchingDirty, m_shape, m_start, recalcEllipseArcEndpoints(), SetEnd(), SetStart(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by SCH_IO_GEDA::addSymbolGraphic(), PCAD2KICAD::PCAD_ARC::AddToBoard(), ARC_DRAW_BEHAVIOR::ApplyToShape(), ELLIPSE_ARC_DRAW_BEHAVIOR::ApplyToShape(), BOOST_AUTO_TEST_CASE(), ALTIUM_PCB::ConvertArcs6ToPcbShape(), SCH_IO_LTSPICE_PARSER::CreateArc(), SCH_IO_LTSPICE_PARSER::CreateArc(), SCH_IO_LTSPICE_PARSER::CreateArc(), DIPTRACE::PCB_PARSER::CreateFootprint(), PADS_SCH::PADS_SCH_SYMBOL_BUILDER::createShape(), editArcCenterKeepEndpoints(), KI_ARC_EDIT::EditArcEndpointKeepCenter(), editArcEndpointKeepTangent(), PCB_IO_AUTOTRAX::emitArc(), CADSTAR_PCB_ARCHIVE_LOADER::getShapeFromVertex(), GRAPH_CONNECTION::GetShapes(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS_BINARY::loadGraphicLines(), PCB_IO_EAGLE::loadPlain(), SCH_IO_EAGLE::loadSymbolWire(), CIRCLE_GEOM_SYNCER::OnCenterPointChange(), CIRCLE_GEOM_SYNCER::OnCenterRadiusChange(), ARC_GEOM_SYNCER::OnCSAChange(), PCB_IO_EAGLE::packageWire(), SCH_IO_ALTIUM::ParseArc(), PCB_IO_GEDA::parseElement(), GPCB_FPL_CACHE::parseFOOTPRINT(), PCB_IO_GEDA::parseLayer(), SPRINT_LAYOUT_PARSER::processCircle(), CONVERT_TOOL::SegmentToArc(), and PCB_IO_PADS::setPcbShapeArc().
|
inlineinherited |
Definition at line 311 of file eda_shape.h.
References m_end, m_hatchingDirty, m_start, SetEnd(), SetStart(), and VECTOR2< T >::x.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 300 of file eda_shape.h.
References m_end, m_hatchingDirty, m_start, SetEnd(), SetStart(), and VECTOR2< T >::y.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inherited |
Definition at line 605 of file eda_shape.cpp.
References std::abs(), GetRectangleHeight(), GetRectangleWidth(), m_cornerRadius, m_shape, and RECTANGLE.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), Deserialize(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 247 of file eda_item.h.
References m_customProperties, and SetCustomProperty().
Referenced by kiapi::common::UnpackCustomProperties().
|
inlineinherited |
Definition at line 255 of file eda_item.h.
References m_customProperties.
Referenced by SCH_PROPERTIES_PANEL::addBlankCustomProperty(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_PROPERTIES_PANEL::onKeyRenamed(), SCH_PROPERTIES_PANEL::onKeyRenamed(), PCB_IO_KICAD_SEXPR_PARSER::parseCustomProperty(), SCH_IO_KICAD_SEXPR_PARSER::parseCustomProperty(), SetCustomProperties(), and EDA_CUSTOM_PROPERTY::setter().
|
inlineinherited |
Definition at line 105 of file pcb_shape.h.
References EDA_SHAPE::setEditState().
Referenced by DRAWING_TOOL::drawShape().
|
inlineprotectedinherited |
Definition at line 692 of file eda_shape.h.
References m_editState.
Referenced by PCB_SHAPE::SetEditState(), and SCH_SHAPE::SetEditState().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1302 of file pcb_shape.cpp.
References EDA_SHAPE::SetEllipseCenter(), and syncLibCoords().
Referenced by KI_TEST::addEllipse(), KI_TEST::addEllipseArc(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ELLIPSE_ARC_GEOM_SYNCER::OnChange(), ELLIPSE_GEOM_SYNCER::OnChange(), rebakeFromTransform(), and updateSegmentFromGeometryMgr().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1337 of file pcb_shape.cpp.
References EDA_SHAPE::SetEllipseEndAngle(), and syncLibCoords().
Referenced by KI_TEST::addEllipseArc(), BOOST_FIXTURE_TEST_CASE(), ELLIPSE_ARC_GEOM_SYNCER::OnChange(), rebakeFromTransform(), and updateSegmentFromGeometryMgr().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1309 of file pcb_shape.cpp.
References EDA_SHAPE::SetEllipseMajorRadius(), and syncLibCoords().
Referenced by KI_TEST::addEllipse(), KI_TEST::addEllipseArc(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ELLIPSE_ARC_GEOM_SYNCER::OnChange(), ELLIPSE_GEOM_SYNCER::OnChange(), rebakeFromTransform(), and updateSegmentFromGeometryMgr().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1316 of file pcb_shape.cpp.
References EDA_SHAPE::SetEllipseMinorRadius(), and syncLibCoords().
Referenced by KI_TEST::addEllipse(), KI_TEST::addEllipseArc(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ELLIPSE_ARC_GEOM_SYNCER::OnChange(), ELLIPSE_GEOM_SYNCER::OnChange(), rebakeFromTransform(), and updateSegmentFromGeometryMgr().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1323 of file pcb_shape.cpp.
References EDA_SHAPE::SetEllipseRotation(), and syncLibCoords().
Referenced by KI_TEST::addEllipse(), KI_TEST::addEllipseArc(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ELLIPSE_ARC_GEOM_SYNCER::OnChange(), ELLIPSE_GEOM_SYNCER::OnChange(), rebakeFromTransform(), and updateSegmentFromGeometryMgr().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1330 of file pcb_shape.cpp.
References EDA_SHAPE::SetEllipseStartAngle(), and syncLibCoords().
Referenced by KI_TEST::addEllipseArc(), BOOST_FIXTURE_TEST_CASE(), ELLIPSE_ARC_GEOM_SYNCER::OnChange(), rebakeFromTransform(), and updateSegmentFromGeometryMgr().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 921 of file pcb_shape.cpp.
References EDA_SHAPE::SetEnd(), and syncLibCoords().
Referenced by KI_TEST::addBezier(), PCB_POINT_EDITOR::addCorner(), FEATURES_MANAGER::AddDimension(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::addPadStack(), KI_TEST::addRect(), KI_TEST::addSegment(), FEATURES_MANAGER::AddText(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), FEATURES_MANAGER::AddTrack(), applyGeometry(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCoincidentFootprint(), buildLibTable(), SPRINT_LAYOUT_PARSER::buildOutline(), buildShapes(), ConnectBoardShapes(), ALTIUM_PCB::ConvertArcs6ToPcbShape(), ALTIUM_PCB::ConvertFills6ToBoardItem(), ALTIUM_PCB::ConvertFills6ToFootprintItem(), ALTIUM_PCB::ConvertTracks6ToBoardItem(), ALTIUM_PCB::ConvertTracks6ToFootprintItem(), PCB_EDIT_TABLE_TOOL::copyCell(), DIPTRACE::PCB_PARSER::CreateBoardOutline(), DIPTRACE::PCB_PARSER::CreateFootprint(), CONVERT_TOOL::CreateLines(), MICROWAVE_TOOL::createMicrowaveInductor(), PCB_TEXTBOX::Deserialize(), DRAWING_TOOL::drawShape(), DRAWING_TOOL::DrawTable(), PCB_IO_AUTOTRAX::emitArc(), PCB_IO_AUTOTRAX::emitFill(), PCB_IO_AUTOTRAX::emitTrack(), FLIPPED_TABLE_CASE::FLIPPED_TABLE_CASE(), PCB_IO_IPC2581::generateLayerSetAuxilliary(), PCB_IO_IPC2581::generateLayerSetNet(), PCB_MARKER::GetErrorLegendShapes(), CADSTAR_PCB_ARCHIVE_LOADER::getShapeFromVertex(), GRAPH_CONNECTION::GetShapes(), ALTIUM_PCB::HelperParsePad6NonCopper(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), TEST_BOARD_ITEM_FIXTURE::Instantiate(), PCB_IO_PADS::loadBoardOutline(), PCB_IO_PADS_BINARY::loadBoardOutline(), PCB_IO_PADS::loadCopperShapes(), FABMASTER::loadFootprints(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS_BINARY::loadGraphicLines(), PCB_IO_EAGLE::loadPlain(), makeBezierChain(), makeLine(), makeLine(), makeRectangle(), makeTable(), GRAPHICS_CLEANER::mergeRects(), ITEM_MODIFICATION_ROUTINE::ModifyLineOrDeleteIfZeroLength(), EDIT_TOOL::ModifyLines(), Normalize(), PCB_TABLE::Normalize(), NormalizeForCompare(), BEZIER_GEOM_SYNCER::OnBezierChange(), CIRCLE_GEOM_SYNCER::OnCenterPointChange(), RECTANGLE_GEOM_SYNCER::OnCenterSizeChange(), RECTANGLE_GEOM_SYNCER::OnCornersChange(), RECTANGLE_GEOM_SYNCER::OnCornerSizeChange(), LINE_GEOM_SYNCER::OnEndsChange(), LINE_GEOM_SYNCER::OnPolarChange(), LINE_GEOM_SYNCER::OnStartMidpointChange(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packageWire(), PCB_IO_GEDA::parseElement(), GPCB_FPL_CACHE::parseFOOTPRINT(), PCB_IO_GEDA::parseLayer(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), BRDITEMS_PLOTTER::PlotDimension(), BRDITEMS_PLOTTER::PlotPcbTarget(), SPRINT_LAYOUT_PARSER::processCircle(), SPRINT_LAYOUT_PARSER::processLine(), SPRINT_LAYOUT_PARSER::processSegment(), DRC_TEST_PROVIDER::reportTwoPointGeometry(), CONVERT_TOOL::SegmentToArc(), PCB_IO_PADS::setPcbShapeArc(), PCB_TARGET::TransformShapeToPolygon(), and updateSegmentFromGeometryMgr().
|
inlineinherited |
Definition at line 181 of file eda_shape.h.
References m_endEnding.
|
inlineinherited |
Definition at line 195 of file eda_shape.h.
References m_endEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 202 of file eda_shape.h.
References m_endEnding.
Referenced by BOOST_AUTO_TEST_CASE(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 187 of file eda_shape.h.
References m_endEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 197 of file eda_shape.h.
References m_endEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 343 of file eda_shape.h.
References m_end, SetEnd(), and VECTOR2< T >::x.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), SCH_SHAPE::Normalize(), PCB_TEXTBOX::SetLeft(), SetRectangleWidth(), SetRight(), and PCB_TEXTBOX::SetRight().
|
inlineinherited |
Definition at line 336 of file eda_shape.h.
References m_end, SetEnd(), and VECTOR2< T >::y.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), SCH_SHAPE::Normalize(), SetBottom(), PCB_TEXTBOX::SetBottom(), SetRectangleHeight(), and PCB_TEXTBOX::SetTop().
|
inlineinherited |
Definition at line 160 of file eda_shape.h.
References m_fillColor.
Referenced by SCH_IO_ALTIUM::AddLibTextBox(), SCH_IO_ALTIUM::AddTextBox(), Deserialize(), SCH_TEXTBOX::Deserialize(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), fixupSchFillMode(), SCH_IO_ALTIUM::ParseEllipse(), SCH_IO_KICAD_SEXPR_PARSER::parseEllipseBody(), SCH_IO_KICAD_SEXPR_PARSER::parseSchTextBoxContent(), ORCAD_CONVERTER::placeHierarchicalBlockPinFill(), SCH_TABLECELL_DESC::SCH_TABLECELL_DESC(), SetLibShapeFillAndColor(), SetSchShapeFillAndColor(), and DIALOG_TEXT_PROPERTIES::TransferDataFromWindow().
|
inlinevirtualinherited |
Reimplemented in SCH_SHAPE.
Definition at line 142 of file eda_shape.h.
References setFilled().
Referenced by FEATURES_MANAGER::AddDimension(), PAD::AddPrimitivePoly(), PAD::AddPrimitivePoly(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ALLEGRO::BOARD_BUILDER::buildFootprint(), ZONE_CREATE_HELPER::commitZone(), ALTIUM_PCB::ConvertFills6ToBoardItem(), ALTIUM_PCB::ConvertFills6ToFootprintItem(), DIPTRACE::PCB_PARSER::CreateFootprint(), CONVERT_TOOL::CreateLines(), MICROWAVE_TOOL::createPolygonShape(), CONVERT_TOOL::CreatePolys(), DRAWING_TOOL::DrawRectangle(), DRAWING_TOOL::drawShape(), PCB_IO_AUTOTRAX::emitFill(), ALTIUM_PCB::HelperParsePad6NonCopper(), PCB_IO_PADS_BINARY::loadCopperShapes(), FABMASTER::loadGraphics(), PCB_IO_EAGLE::loadPlain(), FABMASTER::loadPolygon(), PCB_IO_PADS_BINARY::loadZones(), CONVERT_TOOL::makePolysFromClosedGraphics(), GRAPHICS_CLEANER::mergeRects(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packagePolygon(), PCB_IO_EAGLE::packageRectangle(), BRDITEMS_PLOTTER::PlotDimension(), BRDITEMS_PLOTTER::PlotPcbTarget(), SPRINT_LAYOUT_PARSER::processPoly(), PAD::Recombine(), DRAWING_TOOL::runSimpleShapeDraw(), SCH_TABLECELL_DESC::SCH_TABLECELL_DESC(), CONVERT_TOOL::SegmentToArc(), and SetFillModeProp().
|
inlineprotectedvirtualinherited |
Reimplemented in SCH_SHAPE.
Definition at line 655 of file eda_shape.h.
References FILLED_SHAPE, m_fill, and NO_FILL.
Referenced by SetFilled().
|
inherited |
Definition at line 698 of file eda_shape.cpp.
References m_fill, and m_hatchingDirty.
Referenced by SCH_IO_ALTIUM::AddLibTextBox(), addOrcadSymbolHatch(), ORCAD_CONVERTER::addSymbolArc(), SCH_IO_GEDA::addSymbolGraphic(), ORCAD_CONVERTER::addSymbolPin(), ORCAD_CONVERTER::addSymbolPrimitive(), SCH_IO_ALTIUM::AddTextBox(), appendGraphicPrimitive(), applyGeometry(), BOOST_AUTO_TEST_CASE(), PADS_SCH::PADS_SCH_SYMBOL_BUILDER::BuildKiCadPowerSymbol(), PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), SCH_IO_LTSPICE_PARSER::CreateRect(), PADS_SCH::PADS_SCH_SYMBOL_BUILDER::createShape(), PADS_SCH::PADS_SCH_SYMBOL_BUILDER::createShapes(), Deserialize(), SCH_TEXTBOX::Deserialize(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape(), fixupSchFillMode(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadBezier(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadPolyLine(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadRect(), SCH_IO_EAGLE::loadSymbolPolyLine(), SCH_IO_EAGLE::loadSymbolRectangle(), SCH_IO_EAGLE::loadSymbolWire(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), CONVERT_TOOL::makePolysFromClosedGraphics(), OrcadHatchLines(), SCH_IO_ALTIUM::ParseEllipse(), SCH_IO_KICAD_SEXPR_PARSER::parseEllipseBody(), SCH_IO_KICAD_SEXPR_PARSER::parseSchTextBoxContent(), ORCAD_CONVERTER::placeGraphics(), ORCAD_CONVERTER::placeHierarchicalBlockPinFill(), SCH_IO_PCAD::populateScreen(), PAD::Recombine(), SCH_SHAPE_DESC::SCH_SHAPE_DESC(), SetFillModeProp(), SetLibShapeFillAndColor(), SetSchShapeFillAndColor(), and DIALOG_TEXT_PROPERTIES::TransferDataFromWindow().
|
inherited |
Definition at line 705 of file eda_shape.cpp.
References CROSS_HATCH, HATCH, NO_FILL, NONE, REVERSE_HATCH, SetFilled(), and SetFillMode().
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 158 of file eda_item.h.
References m_flags.
Referenced by SCH_IO_EAGLE::addBusEntries(), PCB_BASE_FRAME::AddFootprintToBoard(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), SCH_IO_ALTIUM::AddTextBox(), AlignSchematicItemsToGrid(), BACK_ANNOTATE::applyChangelist(), PCB_CONTROL::ApplyDesignBlockLayout(), BOARD_BOUNDING_BOX::BOARD_BOUNDING_BOX(), BOARD_BOUNDING_BOX::BOARD_BOUNDING_BOX(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), SCH_LINE_WIRE_BUS_TOOL::BreakSegment(), FOOTPRINT::BuildCourtyardCaches(), SCH_EDIT_TOOL::ChangeTextType(), GRAPHICS_CLEANER::cleanupShapes(), ConnectBoardShapes(), SCH_IO_ALTIUM::CreateAliases(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateBusWires(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateHierarchicalSheet(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateHierLabel(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateJunctions(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateNetLabels(), PCB_TUNING_PATTERN::CreateNew(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateWires(), SCH_EDIT_FRAME::DeleteJunction(), doConvertOutlineToPolygon(), SCH_EDIT_TOOL::DoDelete(), SCH_LINE_WIRE_BUS_TOOL::doDrawSegments(), PCB_TOOL_BASE::doInteractiveItemPlacement(), EDIT_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), DRAWING_TOOL::DrawBarcode(), DRAWING_TOOL::DrawLine(), DRAWING_TOOL::DrawRectangle(), DRAWING_TOOL::drawShape(), SCH_DRAWING_TOOLS::DrawSheet(), EDIT_TOOL::Duplicate(), PCB_TUNING_PATTERN::EditStart(), PCB_VIA_STACK::EditStart(), PCB_VIA_STITCH::EditStart(), SCH_SELECTION_TOOL::EnterGroup(), PAD_TOOL::explodePad(), SCH_MOVE_TOOL::getConnectedDragItems(), SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), SYMBOL_EDIT_FRAME::GetSymbolFromUndoList(), SCH_SELECTION_TOOL::GuessSelectionCandidates(), SCH_DRAWING_TOOLS::ImportSheet(), SCH_MOVE_TOOL::initializeMoveOperation(), SCH_COLLECTOR::Inspect(), SCH_IO_PADS::LoadSchematicFile(), BOARD_COMMIT::MakeImage(), CONVERT_TOOL::makePolysFromChainedSegs(), CONVERT_TOOL::makePolysFromClosedGraphics(), CONVERT_TOOL::makePolysFromOpenGraphics(), SCH_SCREEN::MarkConnections(), TRACKS_CLEANER::mergeCollinearSegments(), SCH_MOVE_TOOL::moveItem(), SYMBOL_EDITOR_MOVE_TOOL::moveItem(), KIGFX::ORIGIN_VIEWITEM::ORIGIN_VIEWITEM(), SCH_MOVE_TOOL::orthoLineDrag(), SCH_IO_ALTIUM::ParseBezier(), SCH_IO_ALTIUM::ParseBus(), SCH_IO_ALTIUM::ParseBusEntry(), SCH_IO_ALTIUM::ParseHarnessEntry(), SCH_IO_ALTIUM::ParseJunction(), SCH_IO_ALTIUM::ParseLabel(), SCH_IO_ALTIUM::ParseLine(), SCH_IO_ALTIUM::ParseNetLabel(), SCH_IO_ALTIUM::ParseNoERC(), SCH_IO_ALTIUM::ParsePieChart(), SCH_IO_ALTIUM::ParsePolygon(), SCH_IO_ALTIUM::ParsePolyline(), SCH_IO_ALTIUM::ParsePortHelper(), SCH_IO_ALTIUM::ParseRectangle(), SCH_IO_ALTIUM::ParseRoundRectangle(), SCH_EASYEDAPRO_PARSER::ParseSchematic(), SCH_EASYEDAPRO_V3_PARSER::ParseSchematic(), SCH_IO_ALTIUM::ParseSheetSymbol(), SCH_IO_ALTIUM::ParseSignalHarness(), SCH_IO_ALTIUM::ParseWire(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), PCB_BOARD_OUTLINE::PCB_BOARD_OUTLINE(), BOARD_EDITOR_CONTROL::PlaceFootprint(), PL_DRAWING_TOOLS::PlaceItem(), DRAWING_TOOL::PlaceMicroviaStack(), SCH_SYMBOL::Plot(), PlotFootprintToSVG(), SCH_MOVE_TOOL::preprocessBreakOrSliceSelection(), BACK_ANNOTATE::processNetNameChange(), BOARD_COMMIT::Push(), SYMBOL_EDIT_FRAME::PushSymbolToUndoList(), SYMBOL_EDITOR_TABS_TEST_FIXTURE::pushTransientCommand(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), SCH_EDIT_FRAME::PutDataInPreviousState(), PCB_SELECTION_TOOL::RebuildSelection(), GERBVIEW_FRAME::RemapLayers(), BOARD::Remove(), FOOTPRINT::Remove(), PCB_TUNING_PATTERN::Remove(), SCH_COMMIT::RemovedForCleanup(), SCH_EDIT_TOOL::RepeatDrawItem(), SCH_EDIT_TOOL::Rotate(), DRC_TEST_PROVIDER_DISALLOW::Run(), ISSUE22864_FIXTURE::RunAlignmentAndVerify(), ISSUE22864_FIXTURE::RunAlignmentAndVerifyNoSkew(), DRAWING_TOOL::runSimpleShapeDraw(), SCH_EDIT_FRAME::SaveCopyInUndoList(), CLIPBOARD_IO::SaveSelection(), SCH_IO_KICAD_SEXPR::saveTable(), PCB_SELECTION_TOOL::selectAllConnectedShapes(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), SCH_SELECTION_TOOL::SelectMultiple(), SetBrightened(), SetIsShownAsBitmap(), SetModified(), SetSelected(), SCH_DRAWING_TOOLS::SingleClickPlace(), SCH_LINE_WIRE_BUS_TOOL::startSegments(), SCH_ITEM::SwapFlags(), DS_DATA_ITEM::SyncDrawItems(), DS_DATA_ITEM_BITMAP::SyncDrawItems(), SCH_DRAWING_TOOLS::TwoClickPlace(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), SCH_SHAPE::UpdateHatching(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inherited |
Definition at line 458 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by ORCAD_CONVERTER::applyFont(), CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_EDIT_TOOL::ChangeTextType(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), DS_DRAW_ITEM_TEXT::DS_DRAW_ITEM_TEXT(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_V3_PARSER::ParseBoard(), SCH_EASYEDA_PARSER::ParseSchematic(), SCH_EASYEDAPRO_V3_PARSER::ParseSymbol(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), ORCAD_CONVERTER::placePageFrame(), SetBold(), SetFontProp(), SetItalic(), FIELDS_GRID_TABLE::SetValue(), DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog(), and DIALOG_FIELD_PROPERTIES::updateText().
|
inherited |
Definition at line 1037 of file eda_text.cpp.
References _, KIFONT::FONT::GetFont(), IsBold(), IsEeschemaType(), IsItalic(), KICAD_FONT_NAME, and SetFont().
Referenced by EDA_TEXT_DESC::EDA_TEXT_DESC().
|
inlineinherited |
Definition at line 162 of file view_item.h.
References m_forcedTransparency.
Referenced by FOOTPRINT_DIFF_WIDGET::onSlider(), EDA_ITEM::operator=(), and LIB_SYMBOL::SetParent().
|
inlineinherited |
Set and clear force visible flag used to force the item to be drawn even if it's draw attribute is set to not visible.
| aEnable | True forces the item to be drawn. False uses the item's visibility setting to determine if the item is to be drawn. |
Definition at line 232 of file eda_item.h.
References m_forceVisible.
Referenced by SCH_FIND_REPLACE_TOOL::FindNext(), and SCH_FIND_REPLACE_TOOL::UpdateFind().
|
inherited |
Definition at line 424 of file board_item.cpp.
References GetParentFootprint(), and EDA_ITEM::SetPosition().
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::applyDataToFootprint(), PCB_IO_KICAD_LEGACY::loadMODULE_TEXT(), DIALOG_FOOTPRINT_PROPERTIES::OnAddField(), processTextItem(), and PCB_FIELDS_GRID_TABLE::SetValue().
|
inlineinherited |
Definition at line 335 of file pcb_shape.h.
References m_hasSolderMask.
Referenced by Deserialize(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), and SetLayerSet().
|
inlineinherited |
Definition at line 153 of file eda_shape.h.
References m_hatchingDirty.
Referenced by BOOST_AUTO_TEST_CASE(), and SCH_POINT_EDITOR::removeCorner().
|
inherited |
Definition at line 365 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), SCH_IO_ALTIUM::AddLibTextBox(), SCH_IO_ALTIUM::AddTextBox(), AdjustFieldForSymbolOrientation(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::ApplyFieldSettings(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextSettings(), SCH_SHEET::AutoplaceFields(), FOOTPRINT::AutoPositionFields(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), Build_Board_Stackup_Table(), SCH_IO_ALTIUM::CreateAliases(), SCH_DRAWING_TOOLS::createNewText(), PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), createSchText(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), EaglePcbTextToKiCadAlignment(), eagleToKicadAlignment(), EDA_TEXT_DESC::EDA_TEXT_DESC(), FlipHJustify(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), AUTOPLACER::justifyField(), PCB_TEXT::KeepUpright(), CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadField(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS_BINARY::loadFootprints(), SCH_IO_EAGLE::loadFrame(), PCB_IO_KICAD_LEGACY::loadMODULE_TEXT(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), SCH_IO_PADS::LoadSchematicFile(), SCH_IO_KICAD_LEGACY::loadSymbol(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadText(), PCB_TEXT::Mirror(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SCH_TEXT::MirrorHorizontally(), SCH_TEXTBOX::MirrorHorizontally(), SCH_TEXT::MirrorVertically(), SCH_TEXTBOX::MirrorVertically(), PCB_IO_EAGLE::packageText(), SCH_IO_LTSPICE_PARSER::Parse(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_ALTIUM::ParsePowerPort(), SCH_EASYEDA_PARSER::ParseSchematic(), SCH_EASYEDAPRO_V3_PARSER::ParseSymbol(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), PCB_TEXTBOX::PCB_TEXTBOX(), ORCAD_CONVERTER::placePageFrame(), ORCAD_CONVERTER::placeSymbolFields(), PCB_DRILL_CHART::RebuildCells(), SCH_FIELD::Rotate(), SCH_TEXTBOX::SCH_TEXTBOX(), SCH_FIELD::SetEffectiveHorizJustify(), SCH_LABEL_BASE::SetSpinStyle(), SCH_IO_LTSPICE_PARSER::setTextJustification(), PCAD2KICAD::SetTextJustify(), FABMASTER::setupText(), FIELDS_GRID_TABLE::SetValue(), SCH_EDIT_TOOL::Swap(), swapFieldPositionsWithMatching(), DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog(), DIALOG_FIELD_PROPERTIES::UpdateField(), and DIALOG_FIELD_PROPERTIES::UpdateField().
|
inlineinherited |
Definition at line 444 of file eda_text.h.
References m_hyperlink.
Referenced by SCH_EDIT_TOOL::ChangeTextType(), Deserialize(), EDA_TEXT_DESC::EDA_TEXT_DESC(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), and CLIPBOARD_IO::SaveSelection().
|
inlinevirtualinherited |
Reimplemented in PCB_BARCODE.
Definition at line 414 of file board_item.h.
References m_isKnockout.
Referenced by ZONE_FILLER::addKnockout(), BOOST_AUTO_TEST_CASE(), ALTIUM_PCB::ConvertTexts6ToBoardItemOnLayer(), ALTIUM_PCB::ConvertTexts6ToFootprintItemOnLayer(), MULTICHANNEL_TOOL::copyRuleAreaContents(), PCB_BARCODE::Deserialize(), PCB_TEXT::Deserialize(), PCB_TEXTBOX::Deserialize(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_V3_PARSER::ParseBoard(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), PCB_TEXT_DESC::PCB_TEXT_DESC(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), processTextItem(), PCB_BARCODE::SetIsKnockout(), and PCB_FIELDS_GRID_TABLE::SetValueAsBool().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1452 of file pcb_shape.cpp.
References DEFAULT_LINE_WIDTH, BOARD_ITEM::GetBoard(), PAD::GetLocalThermalSpokeWidthOverride(), EDA_SHAPE::GetShape(), EDA_SHAPE::m_proxyItem, pad, pcbIUScale, SEGMENT, SetWidth(), and ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::parsePAD_primitives(), and PCB_SHAPE_DESC::PCB_SHAPE_DESC().
|
inlineinherited |
Definition at line 144 of file eda_item.h.
References m_isRollover, and m_rolloverPos.
Referenced by SCH_SELECTION_TOOL::Main().
|
inlineinherited |
Definition at line 198 of file eda_item.h.
References ClearFlags(), IS_SHOWN_AS_BITMAP, and SetFlags().
|
inherited |
Set the text to be italic - this will also update the font if needed.
This is the properties system interface.
Definition at line 285 of file eda_text.cpp.
References GetFont(), KIFONT::FONT::GetFont(), IsBold(), isStrokeFont(), m_attributes, SetFont(), and SetItalicFlag().
Referenced by SCH_IO_ALTIUM::AddTextBox(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), ORCAD_CONVERTER::applyFont(), CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), SCH_EDIT_TOOL::ChangeTextType(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), PCB_BASE_FRAME::CreateNewFootprint(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), DRAWING_TOOL::DrawDimension(), DS_DRAW_ITEM_TEXT::DS_DRAW_ITEM_TEXT(), EDA_TEXT_DESC::EDA_TEXT_DESC(), PCB_IO_KICAD_LEGACY::loadMODULE_TEXT(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddField(), DIALOG_LABEL_PROPERTIES::OnAddField(), SCH_IO_ALTIUM::ParseLabel(), FABMASTER::setupText(), FIELDS_GRID_TABLE::SetValue(), FIELDS_GRID_TABLE::SetValueAsBool(), PCB_FIELDS_GRID_TABLE::SetValueAsBool(), PCB_TEXT::StyleFromSettings(), PCB_TEXTBOX::StyleFromSettings(), SCH_DRAWING_TOOLS::TwoClickPlace(), DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog(), and DIALOG_FIELD_PROPERTIES::updateText().
|
inherited |
Set only the italic flag, without changing the font.
Used when bulk-changing text attributes (e.g. from a dialog or import).
Definition at line 297 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by SCH_IO_KICAD_LEGACY_LIB_CACHE::loadField(), SCH_IO_KICAD_LEGACY::loadSymbol(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadText(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), and SetItalic().
|
inherited |
Definition at line 381 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCB_BASE_FRAME::CreateNewFootprint(), EaglePcbTextToKiCadAlignment(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS_BINARY::loadFootprints(), PCB_IO_EAGLE::loadPlain(), PCB_IO_EAGLE::packageText(), PCB_IO_EASYEDAPRO_V3_PARSER::ParseBoard(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), PCB_TEXT::PCB_TEXT(), PCB_TEXT_DESC::PCB_TEXT_DESC(), FABMASTER::setupText(), PCB_FIELDS_GRID_TABLE::SetValueAsBool(), PCB_TEXT::StyleFromSettings(), and PCB_TEXTBOX::StyleFromSettings().
|
overridevirtualinherited |
Set the layer this item is on.
| aLayer | The layer number. |
Reimplemented from BOARD_CONNECTED_ITEM.
Definition at line 345 of file pcb_shape.cpp.
References BOARD_ITEM::IsOnCopperLayer(), BOARD_ITEM::SetLayer(), and BOARD_CONNECTED_ITEM::SetNetCode().
Referenced by PCB_TABLE::AddCell(), FEATURES_MANAGER::AddDimension(), PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCoincidentFootprint(), SPRINT_LAYOUT_PARSER::buildOutline(), buildShapes(), ZONE_CREATE_HELPER::commitZone(), DIPTRACE::PCB_PARSER::CreateBoardOutline(), DIPTRACE::PCB_PARSER::CreateFootprint(), CONVERT_TOOL::CreateLines(), MICROWAVE_TOOL::createMicrowaveInductor(), MICROWAVE_TOOL::createPolygonShape(), CONVERT_TOOL::CreatePolys(), Deserialize(), PCB_TEXTBOX::Deserialize(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape(), DRAWING_TOOL::drawManagedShape(), DRAWING_TOOL::drawShape(), PCB_IO_AUTOTRAX::emitArc(), PCB_IO_AUTOTRAX::emitFill(), PCB_IO_AUTOTRAX::emitTrack(), PAD_TOOL::explodePad(), Flip(), GENDRILL_WRITER_BASE::genDrillMapFile(), ALTIUM_PCB::HelperParsePad6NonCopper(), PCB_TABLE::InsertCell(), PCB_IO_PADS::loadBoardOutline(), PCB_IO_PADS_BINARY::loadBoardOutline(), PCB_IO_PADS::loadCopperShapes(), PCB_IO_PADS_BINARY::loadCopperShapes(), FABMASTER::loadFootprints(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS_BINARY::loadGraphicLines(), FABMASTER::loadGraphics(), CADSTAR_PCB_ARCHIVE_LOADER::loadNetTracks(), PCB_IO_EAGLE::loadPlain(), FABMASTER::loadPolygon(), PCB_IO_PADS_BINARY::loadZones(), makeArc(), makeArc(), makeLine(), makeLine(), makeRectangle(), GRAPHICS_CLEANER::mergeRects(), EDIT_TOOL::ModifyLines(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packagePolygon(), PCB_IO_EAGLE::packageRectangle(), PCB_IO_EAGLE::packageWire(), PCB_IO_GEDA::parseElement(), GPCB_FPL_CACHE::parseFOOTPRINT(), PCB_IO_GEDA::parseLayer(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), BRDITEMS_PLOTTER::PlotDimension(), BRDITEMS_PLOTTER::PlotPcbTarget(), SPRINT_LAYOUT_PARSER::processCircle(), SPRINT_LAYOUT_PARSER::processLine(), SPRINT_LAYOUT_PARSER::processPoly(), SPRINT_LAYOUT_PARSER::processSegment(), CONVERT_TOOL::SegmentToArc(), and SetLayerSet().
|
overridevirtualinherited |
Reimplemented from BOARD_ITEM.
Definition at line 422 of file pcb_shape.cpp.
References IsCopperLayer(), IsSolderMaskLayer(), LSET::RunOnLayers(), SetHasSolderMask(), and SetLayer().
Referenced by BOOST_AUTO_TEST_CASE().
|
overridevirtual |
Reimplemented from EDA_SHAPE.
Definition at line 321 of file pcb_textbox.cpp.
References ANGLE_180, ANGLE_270, EDA_TEXT::GetDrawRotation(), EDA_SHAPE::SetEndX(), and EDA_SHAPE::SetStartX().
|
inlineinherited |
Definition at line 238 of file pcb_shape.h.
References m_libEllipseCenter, m_libEllipseEndAngle, m_libEllipseMajorRadius, m_libEllipseMinorRadius, m_libEllipseRotation, m_libEllipseStartAngle, EDA_SHAPE::SetEllipseCenter(), EDA_SHAPE::SetEllipseEndAngle(), EDA_SHAPE::SetEllipseMajorRadius(), EDA_SHAPE::SetEllipseMinorRadius(), EDA_SHAPE::SetEllipseRotation(), and EDA_SHAPE::SetEllipseStartAngle().
|
inherited |
Definition at line 948 of file pcb_shape.cpp.
References EDA_SHAPE::m_hatchingDirty, and EDA_SHAPE::m_stroke.
|
inline |
Definition at line 123 of file pcb_textbox.h.
References m_libTextAngle.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::bakeTextBoxLib().
|
inlineinherited |
Definition at line 171 of file eda_shape.h.
References m_stroke.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), and SCH_SCREEN::Plot().
|
inherited |
Definition at line 487 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by ORCAD_CONVERTER::applyMultilineSpacing(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), and SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT().
|
inherited |
Definition at line 3755 of file eda_shape.cpp.
References m_stroke.
Referenced by SCH_TEXTBOX::Deserialize(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), SCH_IO_ALTIUM::ParseLine(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), and SCH_SCREEN::Plot().
|
inlineinherited |
Definition at line 208 of file board_connected_item.h.
References m_localRatsnestVisible.
Referenced by BOARD::ExchangeFootprint().
|
inlineinherited |
Definition at line 338 of file pcb_shape.h.
References m_solderMaskMargin.
Referenced by Deserialize(), and PCB_SHAPE_DESC::PCB_SHAPE_DESC().
|
inlineoverridevirtualinherited |
Reimplemented from EDA_ITEM.
Reimplemented in FOOTPRINT, and PCB_GROUP.
Definition at line 417 of file board_item.h.
References m_isLocked.
Referenced by BOARD_ITEM_DESC::BOARD_ITEM_DESC(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), PNS_KICAD_IFACE::createBoardItem(), PAD::Deserialize(), PCB_ARC::Deserialize(), PCB_BARCODE::Deserialize(), PCB_DIMENSION_BASE::Deserialize(), PCB_DRILL_MAP::Deserialize(), PCB_GRID_ITEM::Deserialize(), PCB_POINT::Deserialize(), PCB_REFERENCE_IMAGE::Deserialize(), PCB_SHAPE::Deserialize(), PCB_TABLE::Deserialize(), PCB_TEXT::Deserialize(), PCB_TEXTBOX::Deserialize(), PCB_TRACK::Deserialize(), PCB_VIA::Deserialize(), ZONE_SETTINGS::ExportSetting(), EDIT_TOOL::FilletTracks(), FOOTPRINT_EDIT_FRAME::findOrCreateFootprintInstanceTab(), ROUTER_TOOL::InlineDrag(), CADSTAR_PCB_ARCHIVE_LOADER::loadNetTracks(), DSN::SPECCTRA_DB::makeARC(), DSN::SPECCTRA_DB::makeTRACK(), CADSTAR_PCB_ARCHIVE_LOADER::makeTracksFromShapes(), BOARD_EDITOR_CONTROL::modifyLockSelected(), PCB_IO_KICAD_SEXPR_PARSER::Parse(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), processTextItem(), CLIPBOARD_IO::SaveSelection(), PCB_GROUP::SetLocked(), and DIALOG_BARCODE_PROPERTIES::transferDataToBarcode().
|
inline |
Definition at line 105 of file pcb_textbox.h.
References m_marginBottom.
Referenced by Deserialize(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), and PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC().
|
inline |
Definition at line 102 of file pcb_textbox.h.
References m_marginLeft.
Referenced by BOOST_AUTO_TEST_CASE(), Deserialize(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), and PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC().
|
inline |
Definition at line 104 of file pcb_textbox.h.
References m_marginRight.
Referenced by Deserialize(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), and PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC().
|
inline |
Definition at line 103 of file pcb_textbox.h.
References m_marginTop.
Referenced by BOOST_AUTO_TEST_CASE(), Deserialize(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), and PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC().
|
inherited |
Definition at line 349 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), DRAWING_TOOL::DrawDimension(), EaglePcbTextToKiCadAlignment(), EDA_TEXT_DESC::EDA_TEXT_DESC(), PCB_TEXT::Flip(), PCB_TEXTBOX::Flip(), PCB_IO_KICAD_LEGACY::loadMODULE_TEXT(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), PCB_DIMENSION_BASE::Mirror(), PCB_IO_EAGLE::packageText(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), PCB_TABLECELL::PCB_TABLECELL(), FABMASTER::setupText(), PCB_FIELDS_GRID_TABLE::SetValueAsBool(), PCB_FIELDS_GRID_TABLE::SetValueAsLong(), PCB_TEXT::StyleFromSettings(), PCB_TEXTBOX::StyleFromSettings(), and DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog().
|
inherited |
Definition at line 260 of file eda_item.cpp.
References IS_CHANGED, m_parent, and SetFlags().
Referenced by PCB_EDIT_FRAME::OpenProjectFiles(), SCH_IO_ALTIUM::ParseASCIISchematic(), and SCH_IO_ALTIUM::ParseFileHeader().
|
inherited |
| aAllow | true if ok to use multiline option, false if ok to use only single line text. (Single line is faster in calculations than multiline.) |
Definition at line 357 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by BOOST_AUTO_TEST_CASE(), SCH_IO_LTSPICE_PARSER::CreateSCH_TEXT(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), SCH_IO_LTSPICE_PARSER::Parse(), PCB_TEXT::PCB_TEXT(), PCB_TEXTBOX::PCB_TEXTBOX(), ORCAD_CONVERTER::placeGraphics(), SCH_LABEL_BASE::SCH_LABEL_BASE(), SCH_LABEL_BASE::SCH_LABEL_BASE(), SCH_TEXT::SCH_TEXT(), and SCH_TEXTBOX::SCH_TEXTBOX().
|
inlinevirtualinherited |
Set a NET_INFO object for the item.
Subclasses with a netless invariant (e.g. ZONE in copper-thieving mode) override this to drop aNetInfo before storing it. Direct callers of SetNet bypass the SetNetCode clamp, so this hook is essential.
Reimplemented in ZONE.
Definition at line 93 of file board_connected_item.h.
References m_netinfo.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), TEARDROP_MANAGER::buildCrossingStub(), PNS_KICAD_IFACE::createBoardItem(), CONVERT_TOOL::CreateLines(), DIPTRACE::PCB_PARSER::CreateTracksAndVias(), EDIT_TOOL::FilletTracks(), ROUTER_TOOL::handleLayerSwitch(), PCB_IO_PADS::loadCopperShapes(), FABMASTER::loadEtch(), CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), PCB_IO_PADS::loadTracksAndVias(), PCB_IO_PADS_BINARY::loadTracksAndVias(), FABMASTER::loadVias(), main(), CADSTAR_PCB_ARCHIVE_LOADER::makeTracksFromShapes(), PNS_KICAD_IFACE::modifyBoardItem(), PCB_IO_GEDA::parseLayer(), PCB_IO_KICAD_SEXPR_PARSER::parseNet(), SPRINT_LAYOUT_PARSER::processCircle(), SPRINT_LAYOUT_PARSER::processLine(), SPRINT_LAYOUT_PARSER::processPoly(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), PCB_EDIT_FRAME::saveSelectionToDesignBlock(), CONVERT_TOOL::SegmentToArc(), ZONE::SetNet(), UnpackNet(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inlineinherited |
Definition at line 128 of file board_connected_item.h.
References SetNetCode().
|
virtualinherited |
Set net using a net code.
Subclasses that enforce a netless invariant (e.g. ZONE in copper-thieving mode) override this to clamp aNetCode before it reaches the base routine. The non-virtual overload below routes through this one, so callers that reach the setter via a BOARD_CONNECTED_ITEM* still hit the clamp.
| aNetCode | is a net code for the new net. It has to exist in NETINFO_LIST held by BOARD. |
| aNoAssert | if true, do not assert that the net exists. Otherwise, item is assigned to the unconnected net. |
Reimplemented in ZONE.
Definition at line 86 of file board_connected_item.cpp.
References BOARD_ITEM::BOARD, BOARD::FindNet(), BOARD_ITEM::GetBoard(), EDA_ITEM::GetFlags(), BOARD::InvalidateClearanceCache(), BOARD_ITEM::IsOnCopperLayer(), BOARD::m_CachesMutex, BOARD::m_ItemNetclassCache, m_netinfo, EDA_ITEM::m_Uuid, NETINFO_LIST::OrphanedItem(), and ROUTER_TRANSIENT.
Referenced by PCAD2KICAD::PCAD_LINE::AddToBoard(), BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), PCB_VIA_STACK::BuildMembers(), BACKDRILL_TEST_FIXTURE::CreateTrack(), BOARD::ExchangeFootprint(), MULTICHANNEL_TOOL::fixupNet(), PCB_IO_EAGLE::loadSignals(), PCB_IO_KICAD_LEGACY::loadTrackList(), DSN::SPECCTRA_DB::makeARC(), DSN::SPECCTRA_DB::makeTRACK(), CADSTAR_PCB_ARCHIVE_LOADER::makeTracksFromShapes(), PCB_IO_KICAD_SEXPR_PARSER::parseNet(), DRC_TEST_PROVIDER_CREEPAGE::placeholderConstraint(), PCB_VIA_STACK::reuseMembers(), CN_CONNECTIVITY_ALGO::searchConnections(), PAD::SetAttribute(), ZONE::SetFillMode(), PCB_SHAPE::SetLayer(), SetNetCode(), ZONE::SetNetCode(), CREEPAGE_OVERLAY::Start(), EDIT_TOOL::SwapGateNets(), EDIT_TOOL::SwapPadNets(), and DIALOG_PAD_PROPERTIES::transferDataToPad().
|
inherited |
Definition at line 131 of file eda_item.cpp.
References m_netHighlighted.
Referenced by KIGFX::SCH_PAINTER::draw(), and setNetHighlight().
|
virtualinherited |
Reimplemented in LIB_SYMBOL, NETINFO_ITEM, and PCB_POINT.
Definition at line 153 of file eda_item.cpp.
References EDA_ITEM(), and m_parent.
Referenced by BOARD::Add(), FOOTPRINT::Add(), PCB_TABLE::AddCell(), SCH_TABLE::AddCell(), LIB_SYMBOL::AddDrawItem(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), BOARD_NETLIST_UPDATER::addNewFootprint(), SCH_SHEET::AddPin(), PAD::AddPrimitive(), SYMBOL_EDITOR_CONTROL::AddSymbolToSchematic(), SCHEMATIC::AddTopLevelSheet(), SCH_SCREEN::Append(), PADSTACK::AppendPrimitives(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), CONNECTION_GRAPH::boost_test_update_generic_connectivity, CONNECTION_GRAPH::boost_test_update_symbol_connectivity, CADSTAR_SCH_ARCHIVE_LOADER::copySymbolItems(), SPRINT_LAYOUT_PARSER::CreateBoard(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), LIB_SYMBOL_LIBRARY_MANAGER::CreateSymbol(), FIELDS_GRID_TABLE::DetachFields(), FOOTPRINT_EDITOR_CONTROL::editFootprintPropertiesFromLibrary(), SCHEMATIC::ensureVirtualRoot(), FOOTPRINT_LIBRARY_ADAPTER::enumerateLibrary(), BOARD::ExchangeFootprint(), PAD_TOOL::explodePad(), FOOTPRINT_EDIT_FRAME::findOrCreateFootprintInstanceTab(), LIB_SYMBOL::Flatten(), PCB_IO_KICAD_SEXPR::FootprintSave(), DISPLAY_FOOTPRINTS_FRAME::GetFootprint(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), PCB_TABLE::InsertCell(), SCH_TABLE::InsertCell(), LIB_SYMBOL::LIB_SYMBOL(), LTSPICE_SCHEMATIC::Load(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadAliases(), PCB_IO_GEDA::loadBoard(), CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), SCH_IO_KICAD_LEGACY::loadHierarchy(), SCH_IO_KICAD_SEXPR::loadHierarchy(), SCH_IO_DATABASE::loadSymbolFromRow(), SCH_IO_EAGLE::loadSymbolPolyLine(), SCH_IO_EAGLE::loadSymbolRectangle(), SCH_IO_EAGLE::loadSymbolWire(), PCB_POINT_EDITOR::OnSelectionChange(), LIB_SYMBOL::operator=(), SCH_IO_KICAD_SEXPR_PARSER::parseLibSymbol(), SCH_IO_KICAD_SEXPR_PARSER::ParseSchematic(), PCB_CONTROL::Paste(), SCH_EDITOR_CONTROL::Paste(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), pasteFootprintItemsToFootprintEditor(), BOARD_EDITOR_CONTROL::PlaceFootprint(), DRAWING_TOOL::PlaceMicroviaStack(), PlaceRemoteDownloadedSymbol(), PlotFootprintToSVG(), FOOTPRINT_EDIT_FRAME::prepareFootprintTabHandoff(), BACK_ANNOTATE::processNetNameChange(), KI_TEST::ReadSchematicFromStream(), PAD::Recombine(), FOOTPRINT_EDIT_FRAME::RefreshLibraryFootprintTab(), SCH_IO_LIB_CACHE::removeSymbol(), SCH_EDIT_TOOL::RepeatDrawItem(), FOOTPRINT_LIBRARY_ADAPTER::SaveFootprint(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), CLIPBOARD_IO::SaveSelection(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_SHEET_PIN::SCH_SHEET_PIN(), LIB_SYMBOL::SetFields(), PCB_POINT::SetParent(), SCH_DRAWING_TOOLS::SingleClickPlace(), SCH_LINE_WIRE_BUS_TOOL::startSegments(), FOOTPRINT::swapData(), PCB_BARCODE::swapData(), PCB_TABLE::swapData(), SCH_LABEL_BASE::swapData(), SCH_SHEET::swapData(), SCH_SYMBOL::swapData(), SCH_TABLE::swapData(), BOARD_ITEM::SwapItemData(), SCH_ITEM::SwapItemData(), SCH_SYMBOL::SyncOtherUnits(), DIALOG_SHEET_PROPERTIES::TransferDataFromWindow(), DIALOG_SYMBOL_PROPERTIES::TransferDataFromWindow(), SCH_DRAWING_TOOLS::TwoClickPlace(), SCH_EDIT_FRAME::UpdateDesignBlockFromSelection(), FOOTPRINT::UpdateFields(), and PCB_IO_SPRINT_LAYOUT::~PCB_IO_SPRINT_LAYOUT().
|
inlinevirtualinherited |
Definition at line 115 of file eda_item.h.
References m_group.
Referenced by EDA_GROUP::AddItem(), BOOST_AUTO_TEST_CASE(), MULTICHANNEL_TOOL::copyRuleAreaContents(), FOOTPRINT_LIBRARY_ADAPTER::enumerateLibrary(), FOOTPRINT_EDIT_FRAME::findOrCreateFootprintInstanceTab(), PCB_IO_KICAD_SEXPR::FootprintSave(), GENDRILL_WRITER_BASE::genDrillMapFile(), SCH_SYMBOL::GetOrientation(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), EDA_GROUP::RemoveItem(), FOOTPRINT_LIBRARY_ADAPTER::SaveFootprint(), CLIPBOARD_IO::SaveSelection(), PCB_EDIT_FRAME::saveSelectionToDesignBlock(), PCB_GROUP::swapChildOwnership(), SCH_GROUP::swapData(), and BOARD_ITEM::SwapItemData().
|
inherited |
Definition at line 2289 of file eda_shape.cpp.
References SHAPE_POLY_SET::Append(), GetPolyShape(), SHAPE_POLY_SET::NewOutline(), and SHAPE_POLY_SET::RemoveAllContours().
Referenced by KI_TEST::addPoly(), PAD::AddPrimitivePoly(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), MICROWAVE_TOOL::createPolygonShape(), ALTIUM_PCB::HelperParsePad6NonCopper(), PCB_IO_EAGLE::packagePolygon(), PCB_IO_EAGLE::packageRectangle(), and scale().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 1295 of file pcb_shape.cpp.
References EDA_SHAPE::SetPolyShape(), and syncLibCoords().
Referenced by PAD::AddPrimitivePoly(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ZONE_CREATE_HELPER::commitZone(), CONVERT_TOOL::CreatePolys(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape(), PCB_IO_PADS_BINARY::loadCopperShapes(), FABMASTER::loadGraphics(), FABMASTER::loadPolygon(), PCB_IO_PADS_BINARY::loadZones(), SPRINT_LAYOUT_PARSER::processPoly(), and PAD::Recombine().
|
inlineoverridevirtualinherited |
Reimplemented from EDA_ITEM.
Definition at line 75 of file pcb_shape.h.
References EDA_SHAPE::setPosition().
Referenced by PCB_TEXTBOX::Deserialize(), DRAWING_TOOL::DrawTable(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), and PCB_TABLE::Normalize().
|
protectedinherited |
Definition at line 520 of file eda_shape.cpp.
References getPosition(), and move.
Referenced by PCB_SHAPE::SetPosition(), and SCH_SHAPE::SetPosition().
|
inlineinherited |
Definition at line 350 of file eda_shape.h.
References m_hatchingDirty, m_start, and SetEnd().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), and CIRCLE_GEOM_SYNCER::OnCenterRadiusChange().
|
inherited |
Definition at line 652 of file eda_shape.cpp.
References m_rectangleHeight, m_rectangleWidth, m_shape, RECTANGLE, SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
|
inherited |
Definition at line 622 of file eda_shape.cpp.
References GetStartY(), m_rectangleHeight, m_shape, RECTANGLE, SetEndY(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), TEST_BOARD_ITEM_FIXTURE::Instantiate(), and PCB_TABLECELL::PCB_TABLECELL().
|
inherited |
Definition at line 637 of file eda_shape.cpp.
References GetStartX(), m_rectangleWidth, m_shape, RECTANGLE, SetEndX(), SHAPE_T_asString(), and UNIMPLEMENTED_FOR.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), TEST_BOARD_ITEM_FIXTURE::Instantiate(), and PCB_TABLECELL::PCB_TABLECELL().
|
overridevirtual |
Reimplemented from EDA_SHAPE.
Definition at line 332 of file pcb_textbox.cpp.
References ANGLE_180, ANGLE_270, EDA_TEXT::GetDrawRotation(), EDA_SHAPE::SetEndX(), and EDA_SHAPE::SetStartX().
|
inlineinherited |
Definition at line 150 of file eda_item.h.
References SELECTED, and SetFlags().
Referenced by BOOST_AUTO_TEST_CASE(), PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), KIGFX::SCH_PAINTER::draw(), PL_SELECTION_TOOL::highlight(), SCH_SELECTION_TOOL::highlight(), PCB_SELECTION_TOOL::highlightInternal(), PCB_TEST_SELECTION_TOOL::highlightInternal(), SCH_LINE::MergeOverlap(), DRAWING_TOOL::PlaceGridItem(), DS_PROXY_UNDO_ITEM::Restore(), SCH_TOOL_BASE< T >::saveCopyInUndoList(), GERBVIEW_SELECTION_TOOL::selectVisually(), and SCH_COMMIT::Stage().
|
overridevirtual |
Reimplemented from PCB_SHAPE.
Definition at line 225 of file pcb_textbox.cpp.
References PCB_SHAPE::m_libShape, and EDA_SHAPE::SetShape().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 914 of file pcb_shape.cpp.
References EDA_SHAPE::SetStart(), and syncLibCoords().
Referenced by KI_TEST::addBezier(), PCB_POINT_EDITOR::addCorner(), FEATURES_MANAGER::AddDimension(), PCB_IO_IPC2581::addPadStack(), KI_TEST::addRect(), KI_TEST::addSegment(), FEATURES_MANAGER::AddText(), PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), FEATURES_MANAGER::AddTrack(), applyGeometry(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCoincidentFootprint(), buildLibTable(), SPRINT_LAYOUT_PARSER::buildOutline(), buildShapes(), ConnectBoardShapes(), ALTIUM_PCB::ConvertArcs6ToPcbShape(), ALTIUM_PCB::ConvertFills6ToBoardItem(), ALTIUM_PCB::ConvertFills6ToFootprintItem(), ALTIUM_PCB::ConvertTracks6ToBoardItem(), ALTIUM_PCB::ConvertTracks6ToFootprintItem(), PCB_EDIT_TABLE_TOOL::copyCell(), DIPTRACE::PCB_PARSER::CreateBoardOutline(), DIPTRACE::PCB_PARSER::CreateFootprint(), CONVERT_TOOL::CreateLines(), MICROWAVE_TOOL::createMicrowaveInductor(), DRAWING_TOOL::drawShape(), PCB_IO_AUTOTRAX::emitFill(), PCB_IO_AUTOTRAX::emitTrack(), FLIPPED_TABLE_CASE::FLIPPED_TABLE_CASE(), PCB_IO_IPC2581::generateLayerSetNet(), PCB_MARKER::GetErrorLegendShapes(), CADSTAR_PCB_ARCHIVE_LOADER::getShapeFromVertex(), GRAPH_CONNECTION::GetShapes(), ALTIUM_PCB::HelperParsePad6NonCopper(), TEST_BOARD_ITEM_FIXTURE::Instantiate(), PCB_IO_PADS::loadBoardOutline(), PCB_IO_PADS_BINARY::loadBoardOutline(), PCB_IO_PADS::loadCopperShapes(), FABMASTER::loadFootprints(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS_BINARY::loadGraphicLines(), PCB_IO_EAGLE::loadPlain(), makeBezierChain(), makeLine(), makeLine(), makeRectangle(), makeTable(), GRAPHICS_CLEANER::mergeRects(), ITEM_MODIFICATION_ROUTINE::ModifyLineOrDeleteIfZeroLength(), EDIT_TOOL::ModifyLines(), Normalize(), NormalizeForCompare(), BEZIER_GEOM_SYNCER::OnBezierChange(), RECTANGLE_GEOM_SYNCER::OnCenterSizeChange(), RECTANGLE_GEOM_SYNCER::OnCornersChange(), RECTANGLE_GEOM_SYNCER::OnCornerSizeChange(), ARC_GEOM_SYNCER::OnCSAChange(), LINE_GEOM_SYNCER::OnEndsChange(), LINE_GEOM_SYNCER::OnPolarChange(), LINE_GEOM_SYNCER::OnStartMidpointChange(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packageWire(), PCB_IO_GEDA::parseElement(), GPCB_FPL_CACHE::parseFOOTPRINT(), PCB_IO_GEDA::parseLayer(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), BRDITEMS_PLOTTER::PlotDimension(), BRDITEMS_PLOTTER::PlotPcbTarget(), SPRINT_LAYOUT_PARSER::processCircle(), SPRINT_LAYOUT_PARSER::processLine(), SPRINT_LAYOUT_PARSER::processSegment(), DRC_TEST_PROVIDER::reportTwoPointGeometry(), CONVERT_TOOL::SegmentToArc(), PCB_IO_PADS::setPcbShapeArc(), PCB_TARGET::TransformShapeToPolygon(), and updateSegmentFromGeometryMgr().
|
inlineinherited |
Definition at line 178 of file eda_shape.h.
References m_startEnding.
|
inlineinherited |
Definition at line 190 of file eda_shape.h.
References m_startEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 200 of file eda_shape.h.
References m_startEnding.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 184 of file eda_shape.h.
References m_startEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 192 of file eda_shape.h.
References m_startEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and EDA_SHAPE_DESC::EDA_SHAPE_DESC().
|
inlineinherited |
Definition at line 293 of file eda_shape.h.
References m_start, SetStart(), and VECTOR2< T >::x.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), SCH_SHAPE::Normalize(), SetLeft(), PCB_TEXTBOX::SetLeft(), and PCB_TEXTBOX::SetRight().
|
inlineinherited |
Definition at line 286 of file eda_shape.h.
References m_start, SetStart(), and VECTOR2< T >::y.
Referenced by EDA_SHAPE_DESC::EDA_SHAPE_DESC(), SCH_SHAPE::Normalize(), PCB_TEXTBOX::SetBottom(), SetTop(), and PCB_TEXTBOX::SetTop().
|
overridevirtualinherited |
Reimplemented from BOARD_ITEM.
Definition at line 963 of file pcb_shape.cpp.
References STROKE_PARAMS::GetWidth(), EDA_SHAPE::m_stroke, and SetWidth().
Referenced by FEATURES_MANAGER::AddDimension(), PAD::AddPrimitivePoly(), PAD::AddPrimitivePoly(), PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ZONE_CREATE_HELPER::commitZone(), ALTIUM_PCB::ConvertArcs6ToBoardItem(), ALTIUM_PCB::ConvertArcs6ToFootprintItem(), ALTIUM_PCB::ConvertFills6ToBoardItem(), ALTIUM_PCB::ConvertFills6ToFootprintItem(), ALTIUM_PCB::ConvertTracks6ToBoardItem(), ALTIUM_PCB::ConvertTracks6ToFootprintItem(), DIPTRACE::PCB_PARSER::CreateBoardOutline(), MICROWAVE_TOOL::createMicrowaveInductor(), MICROWAVE_TOOL::createPolygonShape(), CONVERT_TOOL::CreatePolys(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape(), DRAWING_TOOL::drawManagedShape(), DRAWING_TOOL::drawShape(), PCB_MARKER::GetErrorLegendShapes(), ALTIUM_PCB::HelperParsePad6NonCopper(), PCB_IO_PADS::loadCopperShapes(), FABMASTER::loadFootprints(), PCB_IO_PADS::loadFootprints(), FABMASTER::loadGraphics(), CADSTAR_PCB_ARCHIVE_LOADER::loadNetTracks(), PCB_IO_EAGLE::loadPlain(), FABMASTER::loadPolygon(), GRAPHICS_CLEANER::mergeRects(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packagePolygon(), PCB_IO_EAGLE::packageRectangle(), PCB_IO_EAGLE::packageWire(), PCB_IO_GEDA::parseElement(), GPCB_FPL_CACHE::parseFOOTPRINT(), PCB_IO_GEDA::parseLayer(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), BRDITEMS_PLOTTER::PlotDimension(), BRDITEMS_PLOTTER::PlotPcbTarget(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), PAD::Recombine(), and CONVERT_TOOL::SegmentToArc().
|
inlineinherited |
Definition at line 235 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 217 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 223 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 229 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 220 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 238 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 226 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 232 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC().
|
inlineinherited |
Definition at line 214 of file board_connected_item.h.
References m_teardropParams.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), PAD::Deserialize(), and PCB_VIA::Deserialize().
|
virtualinherited |
Reimplemented in SCH_FIELD.
Definition at line 231 of file eda_text.cpp.
References cacheShownText(), and m_text.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), PCB_PROPERTIES_PANEL::addBlankField(), SCH_IO_EAGLE::addImplicitConnections(), SCH_IO_ALTIUM::AddLibTextBox(), SCH_IO_ALTIUM::AddTextBox(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::applyDataToFootprint(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), Build_Board_Characteristics_Table(), Build_Board_Stackup_Table(), buildCoincidentFootprint(), ALLEGRO::BOARD_BUILDER::buildFootprint(), buildLibTable(), PCB_EDIT_TABLE_TOOL::copyCell(), SCH_EDIT_TABLE_TOOL::copyCell(), SCH_IO_ALTIUM::CreateAliases(), SPRINT_LAYOUT_PARSER::CreateBoard(), createBoard(), PCB_BASE_FRAME::CreateNewFootprint(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_IO_LTSPICE_PARSER::CreateSCH_LABEL(), Deserialize(), PCB_TEXTBOX::Deserialize(), SCH_TEXTBOX::Deserialize(), KIGFX::SCH_PAINTER::draw(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), FOOTPRINT::DuplicateItem(), EDA_TEXT_DESC::EDA_TEXT_DESC(), PCB_IO_EASYEDAPRO_PARSER::FillFootprintModelInfo(), FLIPPED_TABLE_CASE::FLIPPED_TABLE_CASE(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), SCH_TOOL_BASE< T >::Increment(), SCH_LABEL_BASE::IncrementLabel(), CADSTAR_SCH_ARCHIVE_LOADER::loadBusses(), CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), PCB_IO_PADS::loadFootprints(), SCH_IO_EAGLE::loadFrame(), CADSTAR_SCH_ARCHIVE_LOADER::loadHierarchicalSheetPins(), PCB_IO_KICAD_LEGACY::loadMODULE_TEXT(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), PCB_IO_EAGLE::loadPlain(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), PCB_IO_PADS::loadTestPoints(), makeTable(), PCB_IO_EAGLE::orientFPText(), PCB_IO_EAGLE::packageText(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_V3_PARSER::ParseBoard(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), PCB_IO_EASYEDAPRO_PARSER::ParseFootprint(), PCB_IO_EASYEDAPRO_V3_PARSER::ParseFootprint(), PCB_IO_KICAD_SEXPR_PARSER::parseFOOTPRINT_unchecked(), SCH_IO_KICAD_SEXPR_PARSER::parseSchTextBoxContent(), SCH_IO_ALTIUM::ParseSheetEntry(), SCH_EASYEDAPRO_V3_PARSER::ParseSymbol(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), PCB_IO_EASYEDA_PARSER::ParseToBoardItemContainer(), processTextItem(), PCB_DRILL_CHART::RebuildCells(), CLIPBOARD_IO::SaveSelection(), SCH_FIELD::SetName(), FOOTPRINT::SetReference(), PCB_FOOTPRINT_FIELD_PROPERTY::setter(), SCH_FIELD::SetText(), FABMASTER::setupText(), FOOTPRINT::SetValue(), PCB_FIELDS_GRID_TABLE::SetValue(), SCH_EDIT_TOOL::SwapPinLabels(), SCH_EDIT_TOOL::SwapUnitLabels(), DIALOG_FOOTPRINT_PROPERTIES::TransferDataFromWindow(), DIALOG_LABEL_PROPERTIES::TransferDataFromWindow(), DIALOG_TABLE_PROPERTIES::TransferDataFromWindow(), DIALOG_FOOTPRINT_PROPERTIES::TransferDataToWindow(), SCH_DRAWING_TOOLS::TwoClickPlace(), BOARD_NETLIST_UPDATER::updateFootprintParameters(), and PCB_DIMENSION_BASE::updateText().
|
overridevirtual |
Reimplemented from EDA_TEXT.
Definition at line 352 of file pcb_textbox.cpp.
References delta, PCB_SHAPE::GetPosition(), GetTextAngle(), EDA_ANGLE::Normalized(), and Rotate().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), Deserialize(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
|
inlineinherited |
Definition at line 181 of file eda_text.h.
References DEGREES_T, and SetTextAngle().
Referenced by PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::ApplyFieldSettings(), PCB_DIMENSION_BASE::ChangeTextAngleDegrees(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateCustomFields(), createSchText(), PADS_SCH::PADS_SCH_SYMBOL_BUILDER::createSymbolText(), EDA_TEXT_DESC::EDA_TEXT_DESC(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_V3_PARSER::ParseBoard(), SCH_EASYEDA_PARSER::ParseSchematic(), and SCH_EASYEDA_PARSER::ParseSymbolShapes().
|
inlineinherited |
Definition at line 309 of file eda_text.h.
References m_attributes.
Referenced by DS_DRAW_ITEM_TEXT::DS_DRAW_ITEM_TEXT(), EDA_TEXT_DESC::EDA_TEXT_DESC(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_EASYEDAPRO_V3_PARSER::ParseSymbol(), ORCAD_CONVERTER::placeHierarchicalBlockFields(), ORCAD_CONVERTER::placeOffpageConnectors(), ORCAD_CONVERTER::placePageFrame(), ORCAD_CONVERTER::placePorts(), ORCAD_CONVERTER::placePowerSymbol(), ORCAD_CONVERTER::placeSymbolFields(), FIELDS_GRID_TABLE::SetValue(), and DIALOG_FIELD_PROPERTIES::updateText().
|
virtualinherited |
Definition at line 528 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), m_attributes, m_IuScale, TEXT_MAX_SIZE_MM, and TEXT_MIN_SIZE_MM.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), EDA_TEXT_DESC::EDA_TEXT_DESC(), CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), FABMASTER::setupText(), PCB_FIELDS_GRID_TABLE::SetValue(), and DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog().
|
virtualinherited |
Definition at line 539 of file eda_text.cpp.
References GetTextPos(), Offset(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PCAD2KICAD::PCAD_TEXT::AddToBoard(), BOARD_CONSTRAINT_ADAPTER::Apply(), BACK_ANNOTATE::applyChangelist(), SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL::ApplyData(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextSettings(), CADSTAR_SCH_ARCHIVE_LOADER::applyToLibraryFieldAttribute(), SCH_SHEET::AutoplaceFields(), SCH_FIELD::BeginEdit(), SCH_TEXT::BeginEdit(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), buildCoincidentFootprint(), SCH_FIELD::CalcEdit(), SCH_TEXT::CalcEdit(), SCH_EDIT_TOOL::ChangeTextType(), Deserialize(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), DRAWING_TOOL::DrawDimension(), DS_DRAW_ITEM_TEXT::DS_DRAW_ITEM_TEXT(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), ORCAD_CONVERTER::kicadSymbolFor(), CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions(), SCH_IO_EAGLE::loadInstance(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), PCB_IO_EAGLE::loadPlain(), SCH_IO_KICAD_LEGACY::loadSymbol(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadText(), PCB_DIMENSION_BASE::Mirror(), SCH_TEXT::NormalizeJustification(), PCB_IO_EAGLE::orientFPText(), SCH_IO_ALTIUM::ParseLibParameter(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), SCH_IO_KICAD_SEXPR_PARSER::parseSchText(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), PCB_TEXT::PCB_TEXT(), DIALOG_CHANGE_SYMBOLS::processSymbols(), PCB_DIMENSION_BASE::Rotate(), PCB_TEXT::Rotate(), SCH_LABEL_BASE::Rotate(), SCH_SHEET_PIN::Rotate(), SCH_TEXT::Rotate(), SCH_SHEET_PIN::SCH_SHEET_PIN(), SCH_TEXT::SCH_TEXT(), DS_DRAW_ITEM_TEXT::SetPosition(), PCB_TEXT::SetPosition(), SCH_FIELD::SetPosition(), SCH_TEXT::SetPosition(), FABMASTER::setupText(), FIELDS_GRID_TABLE::SetValue(), EASYEDA_PARSER_BASE::TransformTextToBaseline(), DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog(), DIALOG_FIELD_PROPERTIES::UpdateField(), SCH_SYMBOL::UpdateFields(), PCB_DIM_ALIGNED::updateText(), PCB_DIM_CENTER::updateText(), and PCB_DIM_ORTHOGONAL::updateText().
|
overridevirtual |
Reimplemented from EDA_TEXT.
Definition at line 595 of file pcb_textbox.cpp.
References std::abs(), BOARD_ITEM::GetParentFootprint(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), KiROUND(), EDA_TEXT::SetTextSize(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), Build_Board_Characteristics_Table(), Build_Board_Stackup_Table(), and StyleFromSettings().
|
overridevirtual |
The TextThickness is that set by the user.
The EffectiveTextPenWidth also factors in bold text and thickness clamping.
Reimplemented from EDA_TEXT.
Definition at line 623 of file pcb_textbox.cpp.
References std::abs(), BOARD_ITEM::GetParentFootprint(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), KiROUND(), and EDA_TEXT::SetTextThickness().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), Build_Board_Characteristics_Table(), Build_Board_Stackup_Table(), and StyleFromSettings().
|
virtualinherited |
Definition at line 517 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), m_attributes, m_IuScale, TEXT_MAX_SIZE_MM, and TEXT_MIN_SIZE_MM.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), EDA_TEXT_DESC::EDA_TEXT_DESC(), CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), FABMASTER::setupText(), PCB_FIELDS_GRID_TABLE::SetValue(), and DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog().
|
virtualinherited |
Definition at line 546 of file eda_text.cpp.
References GetTextPos(), and Offset().
Referenced by SCH_SHEET_PIN::ConstrainOnEdge(), PCB_TEXT::Flip(), PCB_TEXT::Mirror(), SCH_DIRECTIVE_LABEL::MirrorHorizontally(), SCH_FIELD::MirrorHorizontally(), SCH_SHEET_PIN::MirrorHorizontally(), SCH_TEXT::MirrorHorizontally(), and SCH_SHEET_PIN::SetSide().
|
virtualinherited |
Definition at line 552 of file eda_text.cpp.
References GetTextPos(), and Offset().
Referenced by SCH_SHEET_PIN::ConstrainOnEdge(), PCB_TEXT::Flip(), PCB_TEXT::Mirror(), SCH_DIRECTIVE_LABEL::MirrorVertically(), SCH_FIELD::MirrorVertically(), SCH_SHEET_PIN::MirrorVertically(), SCH_TEXT::MirrorVertically(), and SCH_SHEET_PIN::SetSide().
|
overridevirtual |
Reimplemented from EDA_SHAPE.
Definition at line 299 of file pcb_textbox.cpp.
References ANGLE_180, ANGLE_90, EDA_TEXT::GetDrawRotation(), EDA_SHAPE::SetEndY(), and EDA_SHAPE::SetStartY().
|
inlineinherited |
Definition at line 288 of file eda_text.h.
References m_unresolvedFontName.
Referenced by BOOST_AUTO_TEST_CASE(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), and SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT().
|
inherited |
Definition at line 705 of file eda_text.cpp.
References IsMirrored(), and m_render_cache.
|
inherited |
Definition at line 118 of file board_item.cpp.
References BOARD, m_boardCacheOwner, EDA_ITEM::m_Uuid, and SetUuidDirect().
Referenced by BOOST_AUTO_TEST_CASE(), BOARD::ExchangeFootprint(), processTextItem(), ResetUuid(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), and BOARD_NETLIST_UPDATER::updateFootprintGroup().
|
inherited |
Raw UUID assignment.
No board index maintenance.
Use for detached/load-time items only. Prefer SetUuid() for normal callers.
Definition at line 134 of file board_item.cpp.
References EDA_ITEM::m_Uuid.
Referenced by BOOST_AUTO_TEST_CASE(), TEARDROP_MANAGER::createTeardrop(), TEARDROP_MANAGER::createTeardropMask(), FOOTPRINT::Deserialize(), PAD::Deserialize(), PCB_ARC::Deserialize(), PCB_BARCODE::Deserialize(), PCB_CONSTRAINT::Deserialize(), PCB_DIMENSION_BASE::Deserialize(), PCB_DRILL_MAP::Deserialize(), PCB_GRID_ITEM::Deserialize(), PCB_POINT::Deserialize(), PCB_REFERENCE_IMAGE::Deserialize(), PCB_SHAPE::Deserialize(), PCB_TABLE::Deserialize(), PCB_TEXT::Deserialize(), PCB_TEXTBOX::Deserialize(), PCB_TRACK::Deserialize(), PCB_VIA::Deserialize(), ZONE::Deserialize(), PCB_GROUP::DeserializeGroup(), PCB_IO_KICAD_LEGACY::loadFOOTPRINT(), PCB_IO_KICAD_LEGACY::loadPCB_TARGET(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), PCB_IO_KICAD_LEGACY::loadTrackList(), PAD::PAD(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), PCB_VIA::PCB_VIA(), DRAWING_TOOL::PlaceMicroviaStack(), BOARD::RebindItemUuid(), ResetUuidDirect(), SetUuid(), and ALLEGRO::BOARD_BUILDER::stampIds().
|
inherited |
Definition at line 373 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), and m_attributes.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), AdjustTextForSymbolOrientation(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::ApplyFieldSettings(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextSettings(), SCH_SHEET::AutoplaceFields(), FOOTPRINT::AutoPositionFields(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_IO_ALTIUM::CreateAliases(), SCH_DRAWING_TOOLS::createNewText(), createSchText(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), EaglePcbTextToKiCadAlignment(), eagleToKicadAlignment(), EDA_TEXT_DESC::EDA_TEXT_DESC(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), ALTIUM_PCB::HelperSetTextboxAlignmentAndPos(), AUTOPLACER::justifyField(), PCB_TEXT::KeepUpright(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadField(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS_BINARY::loadFootprints(), SCH_IO_EAGLE::loadFrame(), PCB_IO_KICAD_LEGACY::loadMODULE_TEXT(), PCB_IO_KICAD_LEGACY::loadPCB_TEXT(), SCH_IO_PADS::LoadSchematicFile(), SCH_IO_KICAD_LEGACY::loadSymbol(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadText(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SCH_TEXT::MirrorHorizontally(), SCH_TEXT::MirrorVertically(), PCB_IO_EAGLE::packageText(), SCH_IO_LTSPICE_PARSER::Parse(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_EASYEDA_PARSER::ParseSchematic(), SCH_EASYEDAPRO_V3_PARSER::ParseSymbol(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), PCB_TEXTBOX::PCB_TEXTBOX(), ORCAD_CONVERTER::placePageFrame(), SCH_GLOBALLABEL::SCH_GLOBALLABEL(), SCH_TEXTBOX::SCH_TEXTBOX(), SCH_FIELD::SetEffectiveVertJustify(), SCH_GLOBALLABEL::SetSpinStyle(), SCH_HIERLABEL::SetSpinStyle(), SCH_LABEL_BASE::SetSpinStyle(), SCH_IO_LTSPICE_PARSER::setTextJustification(), PCAD2KICAD::SetTextJustify(), FABMASTER::setupText(), FIELDS_GRID_TABLE::SetValue(), SimulateRenderTransform(), SCH_EDIT_TOOL::Swap(), swapFieldPositionsWithMatching(), DIALOG_FIELD_PROPERTIES::UpdateField(), and DIALOG_FIELD_PROPERTIES::UpdateField().
|
virtualinherited |
Definition at line 342 of file eda_text.cpp.
References ClearRenderCache(), and m_visible.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), PCB_PROPERTIES_PANEL::addBlankField(), SCH_PROPERTIES_PANEL::addBlankField(), CADSTAR_SCH_ARCHIVE_LOADER::addNewFieldToSymbol(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), BACK_ANNOTATE::applyChangelist(), SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL::ApplyData(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::applyDataToFootprint(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::ApplyFieldSettings(), SCH_EDITOR_CONTROL::AssignFootprints(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ALLEGRO::BOARD_BUILDER::buildFootprint(), PADS_SCH::PADS_SCH_SYMBOL_BUILDER::BuildKiCadPowerSymbol(), MULTICHANNEL_TOOL::copyRuleAreaContents(), PADS_SCH::PADS_SCH_SCHEMATIC_BUILDER::CreateCustomFields(), SCH_IO_LTSPICE_PARSER::CreateFields(), DIPTRACE::PCB_PARSER::CreateFootprint(), PCB_BASE_FRAME::CreateNewFootprint(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_IO_LTSPICE_PARSER::CreatePowerSymbol(), SCH_IO_LTSPICE_PARSER::CreateSCH_LABEL(), SCH_IO_LTSPICE_PARSER::CreateSCH_TEXT(), DIPTRACE::SCH_PARSER::createSymbolInstance(), EDIT_TOOL::DeleteItems(), PCB_FIELD::Deserialize(), SCH_FIELD::Deserialize(), SYMBOL_EDITOR_EDIT_TOOL::DoDelete(), EDA_TEXT_DESC::EDA_TEXT_DESC(), PCB_IO_EASYEDAPRO_PARSER::FillFootprintModelInfo(), SCH_IO_GEDA::flushPendingComponent(), FOOTPRINT::FOOTPRINT(), SCH_IO_EAGLE::getEagleSymbolFieldAttributes(), SCH_FIELD::ImportValues(), ORCAD_CONVERTER::kicadSymbolFor(), LIB_SYMBOL::LIB_SYMBOL(), CADSTAR_SCH_ARCHIVE_LOADER::loadBusses(), PCB_IO_EAGLE::loadElements(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadField(), FABMASTER::loadFootprints(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS_BINARY::loadFootprints(), SCH_IO_EAGLE::loadInstance(), SCH_IO_EAGLE::loadLibrary(), PCB_IO_KICAD_LEGACY::loadMODULE_TEXT(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), SCH_IO_KICAD_LEGACY_LIB_CACHE::LoadPart(), PCB_IO_EAGLE::loadPlain(), SCH_IO_ALTIUM::LoadSchematicFile(), SCH_IO_PADS::LoadSchematicFile(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), SCH_IO_EAGLE::loadSymbol(), SCH_IO_KICAD_LEGACY::loadSymbol(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolFieldAttribute(), SCH_IO_HTTP_LIB::loadSymbolFromPart(), SCH_IO_DATABASE::loadSymbolFromRow(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolGateAndPartFields(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), PCB_IO_PADS::loadTestPoints(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadText(), SIM_MODEL::MigrateSimModel(), DIALOG_FOOTPRINT_PROPERTIES::OnAddField(), DIALOG_LABEL_PROPERTIES::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddField(), DIALOG_SHEET_PROPERTIES::OnAddField(), DIALOG_SYMBOL_PROPERTIES::OnAddField(), SCH_IO_LTSPICE_PARSER::Parse(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_V3_PARSER::ParseBoard(), SCH_IO_ALTIUM::ParseDesignator(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), SCH_IO_ALTIUM::ParseFileName(), PCB_IO_KICAD_SEXPR_PARSER::parseFOOTPRINT_unchecked(), SCH_IO_ALTIUM::ParseLibParameter(), SCH_IO_ALTIUM::ParseParameter(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TEXT_effects(), SCH_IO_ALTIUM::ParsePortHelper(), SCH_IO_ALTIUM::ParsePowerPort(), SCH_EASYEDAPRO_V3_PARSER::ParseSchematic(), SCH_IO_KICAD_SEXPR_PARSER::parseSchText(), SCH_IO_ALTIUM::ParseSheetName(), SCH_EASYEDA_PARSER::ParseSymbol(), SCH_EASYEDAPRO_PARSER::ParseSymbol(), SCH_EASYEDAPRO_V3_PARSER::ParseSymbol(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), PCB_IO_EASYEDA_PARSER::ParseToBoardItemContainer(), ORCAD_CONVERTER::placeHierarchicalBlockFields(), ORCAD_CONVERTER::placePowerSymbol(), ORCAD_CONVERTER::placeSymbolFields(), SCH_IO_PCAD::populateScreen(), SCH_EDITOR_CONTROL::processCmpToFootprintLinkFile(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), SPRINT_LAYOUT_PARSER::processPad(), DIALOG_CHANGE_SYMBOLS::processSymbols(), processTextItem(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveDcmInfoAsFields(), SCH_FIELD::SCH_FIELD(), SCH_IO_LTSPICE_PARSER::setTextJustification(), FIELDS_GRID_TABLE::SetValue(), FIELDS_GRID_TABLE::SetValueAsBool(), PCB_FIELDS_GRID_TABLE::SetValueAsBool(), DIALOG_LIB_SYMBOL_PROPERTIES::TransferDataToWindow(), DIALOG_SYMBOL_PROPERTIES::TransferDataToWindow(), SCH_SHEET_PATH::UpdateAllScreenReferences(), BOARD_NETLIST_UPDATER::updateFootprintParameters(), and DIALOG_FIELD_PROPERTIES::updateText().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 935 of file pcb_shape.cpp.
References fpScaleLinear(), KiROUND(), EDA_SHAPE::m_hatchingDirty, EDA_SHAPE::m_stroke, and transformFp().
Referenced by FEATURES_MANAGER::AddText(), FEATURES_MANAGER::AddTrack(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), SPRINT_LAYOUT_PARSER::buildOutline(), buildShapes(), DIPTRACE::PCB_PARSER::CreateFootprint(), CONVERT_TOOL::CreateLines(), PCB_IO_AUTOTRAX::emitArc(), PCB_IO_AUTOTRAX::emitFill(), PCB_IO_AUTOTRAX::emitTrack(), PAD_TOOL::explodePad(), PCB_IO_IPC2581::generateLayerSetNet(), PCB_IO_PADS::loadBoardOutline(), PCB_IO_PADS_BINARY::loadBoardOutline(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS_BINARY::loadGraphicLines(), EDIT_TOOL::ModifyLines(), SPRINT_LAYOUT_PARSER::processCircle(), SPRINT_LAYOUT_PARSER::processLine(), SPRINT_LAYOUT_PARSER::processPoly(), SPRINT_LAYOUT_PARSER::processSegment(), CONVERT_TOOL::SegmentToArc(), SetIsProxyItem(), and SetStroke().
|
inlineinherited |
Definition at line 155 of file board_item.h.
References GetY(), and EDA_ITEM::SetPosition().
Referenced by FOOTPRINT::AutoPositionFields(), and BOARD_ITEM_DESC::BOARD_ITEM_DESC().
|
inlineinherited |
Definition at line 161 of file board_item.h.
References GetX(), and EDA_ITEM::SetPosition().
Referenced by FOOTPRINT::AutoPositionFields(), and BOARD_ITEM_DESC::BOARD_ITEM_DESC().
|
inherited |
Definition at line 501 of file eda_shape.cpp.
References ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, m_shape, POLY, RECTANGLE, SEGMENT, and UNDEFINED.
Referenced by SCH_SHAPE::AddPoint(), BOARD_ADAPTER::addShape(), GRAPHICS_CLEANER::areEquivalent(), beginEdit(), calcEdit(), CheckLibSymbolGraphics(), continueEdit(), endEdit(), flip(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), getBoundingBox(), getCenter(), PCB_SHAPE::GetConnectionPoints(), PCB_SHAPE::GetCorners(), SCH_SHAPE::GetItemDescription(), GetLength(), SCH_SHAPE::GetMenuImage(), GetRadius(), GetRectangleHeight(), GetRectangleWidth(), hitTest(), hitTest(), IsClockwiseArc(), IsClosed(), GRAPHICS_CLEANER::isNullShape(), makeEffectiveShapes(), SCH_POINT_EDITOR::makePointsAndBehavior(), move(), operator=(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), rotate(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), SCH_IO_KICAD_SEXPR::saveShape(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveSymbolDrawItem(), scale(), SetCenter(), SetRectangle(), SetRectangleHeight(), SetRectangleWidth(), shapeNeedsUpdate(), TransformShapeToPolygon(), and UpdateHatching().
|
inherited |
Definition at line 1517 of file eda_shape.cpp.
References _, std::abs(), ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, GetArcAngle(), GetEllipseEndAngle(), GetEllipseMajorRadius(), GetEllipseMinorRadius(), GetEllipseRotation(), GetEllipseStartAngle(), GetEnd(), EDA_BASE_FRAME::GetFrameType(), getFriendlyName(), GetLength(), GetPolyShape(), GetRadius(), GetStart(), m_shape, m_stroke, EDA_UNIT_UTILS::UI::MessageTextFromValue(), UNITS_PROVIDER::MessageTextFromValue(), SHAPE_POLY_SET::Outline(), SHAPE_LINE_CHAIN::PointCount(), POLY, RADIANS_T, RECTANGLE, and SEGMENT.
Referenced by PCB_SHAPE::GetMsgPanelInfo(), and SCH_SHAPE::GetMsgPanelInfo().
|
inherited |
Shorten an arc body for line endings.
Definition at line 4239 of file eda_shape.cpp.
References std::abs(), ANGLE_0, EDA_ANGLE::AsRadians(), DEGREES_T, m_endEnding, m_startEnding, and RAD2DEG().
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), makeShortenedBodyShapes(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), and TransformWithLineEndingsToPolygon().
|
inherited |
Apply line-ending body shortening to copied/generated polyline points.
Line endings belong to the first open outline only. Other outlines are returned unchanged.
Definition at line 4451 of file eda_shape.cpp.
References ShortenPolyForEndings().
Referenced by GetShortenedBodyPolyPoints(), and SCH_SHAPE::Plot().
|
inherited |
Return the cubic Bezier curve shortened for line endings.
The shortening distance is mapped onto the source curve using a fixed-cost numerical arc-length estimator, then the curve is subdivided with de Casteljau so curve-capable backends can keep a Bezier.
Definition at line 4352 of file eda_shape.cpp.
References BEZIER, bezierLength(), findBezierTAtLength(), m_bezierC1, m_bezierC2, m_end, m_endEnding, m_shape, m_start, and m_startEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), GetEndingTangents(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), and ShortenedBezierPolyline().
|
inherited |
Return the flattened Bezier polyline after line-ending shortening.
Definition at line 4380 of file eda_shape.cpp.
References getMaxError(), BEZIER_POLY::GetPoly(), and ShortenedBezierCurve().
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), MakeEffectiveShapesForStroking(), makeShortenedBodyShapes(), SCH_SHAPE::Plot(), BRDITEMS_PLOTTER::PlotShape(), and TransformWithLineEndingsToPolygon().
|
inherited |
Definition at line 4399 of file eda_shape.cpp.
References m_endEnding, and m_startEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and ShortenBodyPolyPoints().
|
staticinherited |
Shorten a segment body for line endings.
Static so SCH_LINE (which doesn't inherit EDA_SHAPE) can use it too.
Definition at line 4199 of file eda_shape.cpp.
References delta, LINE_ENDING::GetShortenDepth(), KiROUND(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by BOARD_ADAPTER::addShape(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), makeShortenedBodyShapes(), SCH_LINE::Plot(), BRDITEMS_PLOTTER::PlotShape(), and TransformWithLineEndingsToPolygon().
|
inherited |
Definition at line 472 of file eda_shape.cpp.
References _, ARC, BEZIER, CIRCLE, ELLIPSE, ELLIPSE_ARC, IsProxyItem(), m_shape, POLY, RECTANGLE, and SEGMENT.
Referenced by operator=().
|
inherited |
Definition at line 3879 of file eda_shape.cpp.
References SHAPE_POLY_SET::CVertex(), EDA_SHAPE(), STROKE_PARAMS::GetLineStyle(), GetPolyShape(), GetShape(), STROKE_PARAMS::GetWidth(), alg::longest_common_subset(), m_arcCenter, m_bezierC1, m_bezierC2, m_bezierPoints, m_end, m_endEnding, m_fill, m_fillColor, m_start, m_startEnding, m_stroke, and SHAPE_POLY_SET::TotalVertices().
Referenced by PCB_SHAPE::Similarity(), and SCH_SHAPE::Similarity().
|
inherited |
Definition at line 1287 of file eda_text.cpp.
References EDA_TEXT(), Levenshtein(), m_attributes, and m_pos.
Referenced by PCB_DIMENSION_BASE::Similarity(), PCB_FIELD::Similarity(), PCB_TEXT::Similarity(), PCB_TEXTBOX::Similarity(), SCH_FIELD::Similarity(), SCH_TEXT::Similarity(), and SCH_TEXTBOX::Similarity().
|
overridevirtual |
Return a measure of how likely the other object is to represent the same object.
The scale runs from 0.0 (definitely different objects) to 1.0 (same)
This is a pure virtual function. Derived classes must implement this.
Reimplemented from PCB_SHAPE.
Definition at line 982 of file pcb_textbox.cpp.
References BOARD_ITEM::BOARD_ITEM(), GetMarginBottom(), GetMarginLeft(), GetMarginRight(), GetMarginTop(), m_borderEnabled, PCB_TEXTBOX(), EDA_TEXT::Similarity(), and EDA_ITEM::Type().
Referenced by PCB_TABLECELL::Similarity().
|
inlinestaticinherited |
Helper function to be used by the C++ STL sort algorithm for sorting a STL container of EDA_ITEM pointers.
| aLeft | The left hand item to compare. |
| aRight | The right hand item to compare. |
Definition at line 538 of file eda_item.h.
References EDA_ITEM().
|
overridevirtual |
Reimplemented from PCB_SHAPE.
Definition at line 171 of file pcb_textbox.cpp.
References BOARD_ITEM::BOARD, BOARD_ITEM::GetBoard(), PCB_SHAPE::GetLayer(), BOARD_ITEM::GetParentFootprint(), BOARD_DESIGN_SETTINGS::GetTextItalic(), BOARD_DESIGN_SETTINGS::GetTextSize(), BOARD_DESIGN_SETTINGS::GetTextThickness(), BOARD_DESIGN_SETTINGS::GetTextUpright(), IsBackLayer(), EDA_TEXT::SetItalic(), EDA_TEXT::SetKeepUpright(), EDA_TEXT::SetMirrored(), SetTextSize(), SetTextThickness(), and PCB_SHAPE::StyleFromSettings().
|
inherited |
Swap the text attributes of the two involved instances.
Definition at line 409 of file eda_text.cpp.
References ClearBoundingBoxCache(), ClearRenderCache(), EDA_TEXT(), m_attributes, and m_pos.
Referenced by SCH_FIELD::swapData(), SCH_TEXT::swapData(), and SCH_TEXTBOX::swapData().
|
overrideprotectedvirtual |
Reimplemented from PCB_SHAPE.
Reimplemented in PCB_TABLECELL.
Definition at line 819 of file pcb_textbox.cpp.
References BOARD_ITEM::BOARD_ITEM(), PCB_TEXTBOX(), PCB_TEXTBOX_T, and EDA_ITEM::Type().
|
inherited |
Swap data between aItem and aImage.
aItem and aImage should have the same type.
Used in undo and redo commands to swap values between an item and its copy. Only values like layer, size .. which are modified by editing are swapped.
| aImage | the item image which contains data to swap. |
Definition at line 320 of file board_item.cpp.
References BOARD, BOARD_ITEM(), BOARD::CacheChildrenById(), EDA_ITEM::EDA_ITEM(), GetBoard(), GetParent(), EDA_ITEM::GetParentGroup(), group, EDA_ITEM::SetParent(), EDA_ITEM::SetParentGroup(), swapData(), and BOARD::UncacheChildrenById().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), and BOARD_COMMIT::Revert().
|
inherited |
Definition at line 3436 of file eda_shape.cpp.
References EDA_SHAPE(), image, m_arcCenter, m_bezierC1, m_bezierC2, m_bezierPoints, m_cornerRadius, m_editState, m_ellipse, m_end, m_endEnding, m_endsSwapped, m_fill, m_fillColor, m_hatchingDirty, m_poly, m_shape, m_start, m_startEnding, m_stroke, and SWAPITEM.
Referenced by operator=(), PCB_SHAPE::swapData(), and SCH_SHAPE::swapData().
|
inherited |
Definition at line 401 of file eda_text.cpp.
References cacheShownText(), EDA_TEXT(), and m_text.
Referenced by SCH_FIELD::swapData(), SCH_TEXT::swapData(), and SCH_TEXTBOX::swapData().
|
overrideprotectedvirtual |
Reimplemented from PCB_SHAPE.
Definition at line 722 of file pcb_textbox.cpp.
References std::abs(), BOARD_ITEM::GetParentFootprint(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), EDA_SHAPE::GetShape(), FOOTPRINT::GetTransform(), TRANSFORM_TRS::InverseApply(), KiROUND(), EDA_SHAPE::m_end, PCB_SHAPE::m_libEnd, PCB_SHAPE::m_libStart, EDA_SHAPE::m_start, RECTANGLE, PCB_SHAPE::syncLibCoords(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by Rotate().
|
virtualinherited |
Test if object bounding box is contained within or intersects aRect.
| aRect | Rect to test against. |
| aContains | Test for containment instead of intersection if true. |
| aAccuracy | Amount to inflate the bounding box. |
Reimplemented in PCB_TEXT.
Definition at line 881 of file eda_text.cpp.
References BOX2< Vec >::Contains(), GetDrawRotation(), BOX2< Vec >::GetInflated(), GetTextBox(), and BOX2< Vec >::Intersects().
|
virtualinherited |
Test if aPoint is within the bounds of this object.
Reimplemented in PCB_TEXT.
Definition at line 873 of file eda_text.cpp.
References BOX2< Vec >::Contains(), GetDrawPos(), GetDrawRotation(), BOX2< Vec >::GetInflated(), GetRotated(), GetTextBox(), and location.
Referenced by DS_DRAW_ITEM_TEXT::HitTest(), DS_DRAW_ITEM_TEXT::HitTest(), and PCB_TEXT::TextHitTest().
|
protectedinherited |
Definition at line 614 of file pcb_shape.cpp.
References BOARD_ITEM::GetParent(), BOARD_ITEM::GetParentFootprint(), PCB_PAD_T, and EDA_ITEM::Type().
Referenced by Flip(), GetLibraryArcMid(), GetLibraryBezierC1(), GetLibraryBezierC2(), GetLibraryPolyShape(), GetWidth(), RebakeFromLib(), SetWidth(), and syncLibCoords().
|
inherited |
Append only the line-ending geometry associated with this shape to a polygon set.
Definition at line 2776 of file eda_shape.cpp.
References addLineEndingPolygon(), GetEndingTangents(), GetLineEndingEndpoints(), hasLineEnding(), m_endEnding, and m_startEnding.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and TransformWithLineEndingsToPolygon().
|
inherited |
Convert the shape to a closed polygon.
Circles and arcs are approximated by segments.
| aBuffer | is a buffer to store the polygon. |
| aClearance | is the clearance around the pad. |
| aError | is the maximum deviation from a true arc. |
| aErrorLoc | whether any approximation error should be placed inside or outside |
| ignoreLineWidth | is used for edge cut items where the line width is only for visualization |
Definition at line 3538 of file eda_shape.cpp.
References SEG::A, std::abs(), SHAPE_POLY_SET::AddOutline(), ANGLE_0, SHAPE_POLY_SET::Append(), ARC, SHAPE_LINE_CHAIN::Arc(), SHAPE_LINE_CHAIN::ArcIndex(), SEG::B, BEZIER, buildShapeEllipse(), chain, CIRCLE, SHAPE_ELLIPSE::ConvertToPolyline(), ELLIPSE, ELLIPSE_ARC, ERROR_OUTSIDE, GetArcMid(), SHAPE_ARC::GetArcMid(), GetBezierC1(), GetBezierC2(), getBoundingBox(), BOX2< Vec >::GetCenter(), getCenter(), GetCornerRadius(), GetEnd(), GetHatching(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), SHAPE_LINE_CHAIN::GetPoint(), SHAPE_LINE_CHAIN::GetPointCount(), BEZIER_POLY::GetPoly(), GetPolyShape(), GetRadius(), GetRectangleHeight(), GetRectangleWidth(), GetRectCorners(), SHAPE_LINE_CHAIN::GetSegment(), GetStart(), GetWidth(), SHAPE_POLY_SET::Inflate(), SHAPE_LINE_CHAIN::IsArcSegment(), IsHatchedFill(), IsPolyShapeValid(), IsProxyItem(), IsSolidFill(), m_shape, SHAPE_POLY_SET::NewOutline(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), POLY, RECTANGLE, ROUND_ALL_CORNERS, SEGMENT, SHAPE_LINE_CHAIN::SegmentCount(), SHAPE_LINE_CHAIN::SetClosed(), SHAPE_T_asString(), TransformArcToPolygon(), TransformCircleToPolygon(), TransformOvalToPolygon(), TransformRingToPolygon(), TransformRoundChamferedRectToPolygon(), ROUNDRECT::TransformToPolygon(), and UNIMPLEMENTED_FOR.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), OrcadHatchLines(), PCB_SHAPE::TransformShapeToPolygon(), PCB_SHAPE::TransformShapeToPolySet(), and TransformWithLineEndingsToPolygon().
|
overridevirtual |
Convert the shape to a closed polygon.
Circles and arcs are approximated by segments.
| aBuffer | is a buffer to store the polygon. |
| aClearance | is the clearance around the pad. |
| aError | is the maximum deviation from a true arc. |
| aErrorLoc | whether any approximation error should be placed inside or outside |
| ignoreLineWidth | is used for edge cut items where the line width is only for visualization |
Reimplemented from PCB_SHAPE.
Definition at line 900 of file pcb_textbox.cpp.
References SEG::A, SHAPE_POLY_SET::Append(), SEG::B, SHAPE_LINE_CHAIN::GetPoint(), EDA_SHAPE::GetPolyShape(), EDA_SHAPE::GetRectCorners(), SHAPE_LINE_CHAIN::GetSegment(), EDA_SHAPE::GetShape(), PCB_SHAPE::GetWidth(), m_borderEnabled, SHAPE_POLY_SET::NewOutline(), SHAPE_POLY_SET::Outline(), SHAPE_LINE_CHAIN::PointCount(), POLY, RECTANGLE, SHAPE_LINE_CHAIN::SegmentCount(), and TransformOvalToPolygon().
Referenced by TransformTextToPolySet().
|
overridevirtualinherited |
Convert the item shape to a polyset.
Circles and arcs are approximated by segments; hatched fills and details (if any) will be included.
| aBuffer | a buffer to store the polygon. |
| aClearance | the clearance around the pad. |
| aError | the maximum deviation from true circle. |
| aErrorLoc | should the approximation error be placed outside or inside the polygon? |
| aRenderSettings | used to plot outlines with not solid segments like dashed lines. So it is not used by all BOARD_ITEMS. If null lines like dashed will be converted as SOLID |
Reimplemented from BOARD_ITEM.
Definition at line 1749 of file pcb_shape.cpp.
References EDA_SHAPE::TransformShapeToPolygon().
Referenced by EXPORTER_STEP::buildGraphic3DShape(), and FOOTPRINT::TransformFPShapesToPolySet().
| void PCB_TEXTBOX::TransformTextToPolySet | ( | SHAPE_POLY_SET & | aBuffer, |
| int | aClearance, | ||
| int | aMaxError, | ||
| ERROR_LOC | aErrorLoc ) const |
Function TransformTextToPolySet Convert the text to a polygonSet describing the actual character strokes (one per segment).
Used in 3D viewer Circles and arcs are approximated by segments
| aBuffer | = SHAPE_POLY_SET to store the polygon corners |
| aClearance | = the clearance around the text |
| aMaxError | = the maximum error to allow when approximating curves |
Definition at line 839 of file pcb_textbox.cpp.
References SHAPE_POLY_SET::Append(), SHAPE_POLY_SET::BooleanSubtract(), KIFONT::FONT::Draw(), KIGFX::GAL::DrawGlyphs(), ERROR_OUTSIDE, FOR_CANVAS, EDA_TEXT::GetAttributes(), EDA_TEXT::GetDrawFont(), GetDrawPos(), EDA_TEXT::GetEffectiveTextPenWidth(), BOARD_ITEM::GetFontMetrics(), PCB_SHAPE::GetLayer(), EDA_TEXT::GetRenderCache(), GetShownText(), SHAPE_POLY_SET::Inflate(), BOARD_ITEM::IsKnockout(), SHAPE_POLY_SET::NewOutline(), ROUND_ALL_CORNERS, SHAPE_POLY_SET::Simplify(), TransformOvalToPolygon(), and TransformShapeToPolygon().
Referenced by FEATURES_MANAGER::AddText(), PCB_TABLE::Autosize(), EXPORTER_STEP::buildGraphic3DShape(), BOARD::ConvertBrdLayerToPolygonalContours(), BOARD_ADAPTER::createLayers(), KIGFX::PCB_PAINTER::draw(), FOOTPRINT::GetCoverageArea(), BRDITEMS_PLOTTER::PlotText(), FOOTPRINT::TransformFPShapesToPolySet(), and transformFPTextToPolySet().
|
inherited |
Convert the shape body shortened for line endings plus line-ending geometry to polygons.
Definition at line 2798 of file eda_shape.cpp.
References ARC, BEZIER, CalcArcAngles(), SHAPE_POLY_SET::COutline(), end, SHAPE_ARC::GetArcMid(), GetEffectiveWidth(), GetEnd(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), GetPolyShape(), GetRadius(), GetShortenedBodyPolyPoints(), GetStart(), GetWidth(), SHAPE_LINE_CHAIN::IsClosed(), IsHatchedFill(), IsPolyShapeValid(), IsProxyItem(), IsSolidFill(), m_arcCenter, m_endEnding, m_shape, m_startEnding, SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), POLY, RotatePoint(), SEGMENT, ShortenArcForEndings(), ShortenedBezierPolyline(), ShortenSegmentForEndings(), TransformArcToPolygon(), TransformLineEndingsToPolygon(), TransformOvalToPolygon(), and TransformShapeToPolygon().
Referenced by addItemPolysWithEndings(), addItemPolysWithEndings(), addItemPolysWithEndings(), ZONE_FILLER::addKnockout(), BOOST_AUTO_TEST_CASE(), and EXPORTER_STEP::buildGraphic3DShape().
|
inlineinherited |
Returns the type of object.
This attribute should never be changed after a ctor sets it, so there is no public "setter" method.
Definition at line 110 of file eda_item.h.
References m_structType.
Referenced by BOARD::Add(), CN_CLUSTER::Add(), CN_CONNECTIVITY_ALGO::Add(), FOOTPRINT::Add(), KIGFX::PCB_VIEW::Add(), SCH_PROPERTIES_PANEL::addBlankField(), PCB_GRID_HELPER::AddConstructionItems(), PCB_POINT_EDITOR::addCorner(), CONNECTION_SUBGRAPH::AddItem(), addItemPolysWithEndings(), addItemPolysWithEndings(), addItemPolysWithEndings(), DRC_TEST_PROVIDER_SOLDER_MASK::addItemToRTrees(), ZONE_FILLER::addKnockout(), ZONE_FILLER::addKnockout(), SCH_SHEET::AddPin(), FEATURES_MANAGER::AddText(), SCH_BASE_FRAME::AddToScreen(), FEATURES_MANAGER::AddTrack(), affectsDrillModel(), PCB_GRID_HELPER::Align(), SCH_SCREEN::Append(), BOARD_CONSTRAINT_ADAPTER::Apply(), PCB_CONTROL::ApplyDesignBlockLayout(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextSettings(), PNS::TOPOLOGY::AssembleTuningPath(), SCH_LABEL_BASE::AutoplaceFields(), SCH_EDIT_FRAME::AutoRotateItem(), SCH_SELECTION_TOOL::autostartEvent(), bindDimensionEndpoints(), BoardItemIntersectable(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ZONE_FILLER::buildCopperItemClearances(), EXPORTER_STEP::buildGraphic3DShape(), SCH_SCREENS::buildScreenList(), EXPORTER_STEP::buildTrack3DShape(), BOARD_INSPECTION_TOOL::calculateSelectionRatsnest(), PCB_POINT_EDITOR::CanAddCorner(), PCB_POINT_EDITOR::CanChamferCorner(), SCH_BUS_BUS_ENTRY::CanConnect(), SCH_BUS_WIRE_ENTRY::CanConnect(), SCH_JUNCTION::CanConnect(), SCH_LABEL_BASE::CanConnect(), SCH_LINE::CanConnect(), SCH_NO_CONNECT::CanConnect(), SCH_SHEET::CanConnect(), SCH_SYMBOL::CanConnect(), SCH_GROUP_TOOL::canGroupItem(), PCB_POINT_EDITOR::CanRemoveCorner(), PCB_POINT_EDITOR::chamferCorner(), SCH_EDIT_TOOL::ChangeTextType(), KI_TEST::CheckFootprint(), KI_TEST::CheckFpShape(), KI_TEST::CheckFpZone(), CheckItemDRCViolation(), DRC_TEST_PROVIDER_SOLDER_MASK::checkItemMask(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkReturnPath(), CN_VISITOR::checkZoneItemConnection(), BOARD::ClassOf(), BOARD_CONNECTED_ITEM::ClassOf(), FOOTPRINT::ClassOf(), LIB_SYMBOL::ClassOf(), NETINFO_ITEM::ClassOf(), PAD::ClassOf(), PCB_ARC::ClassOf(), PCB_BARCODE::ClassOf(), PCB_CONSTRAINT::ClassOf(), PCB_DIM_ALIGNED::ClassOf(), PCB_DIM_CENTER::ClassOf(), PCB_DIM_LEADER::ClassOf(), PCB_DIM_ORTHOGONAL::ClassOf(), PCB_DIM_RADIAL::ClassOf(), PCB_DRILL_CHART::ClassOf(), PCB_DRILL_MAP::ClassOf(), PCB_FIELD::ClassOf(), PCB_GENERATOR::ClassOf(), PCB_GRID_ITEM::ClassOf(), PCB_GROUP::ClassOf(), PCB_MARKER::ClassOf(), PCB_POINT::ClassOf(), PCB_REFERENCE_IMAGE::ClassOf(), PCB_SHAPE::ClassOf(), PCB_TABLE::ClassOf(), PCB_TABLECELL::ClassOf(), PCB_TARGET::ClassOf(), PCB_TEXTBOX::ClassOf(), PCB_TRACK::ClassOf(), PCB_VIA::ClassOf(), SCH_BITMAP::ClassOf(), SCH_BUS_BUS_ENTRY::ClassOf(), SCH_BUS_WIRE_ENTRY::ClassOf(), SCH_DIRECTIVE_LABEL::ClassOf(), SCH_FIELD::ClassOf(), SCH_GLOBALLABEL::ClassOf(), SCH_GROUP::ClassOf(), SCH_HIERLABEL::ClassOf(), SCH_JUNCTION::ClassOf(), SCH_LABEL::ClassOf(), SCH_LINE::ClassOf(), SCH_MARKER::ClassOf(), SCH_NO_CONNECT::ClassOf(), SCH_PIN::ClassOf(), SCH_SCREEN::ClassOf(), SCH_SHEET::ClassOf(), SCH_SHEET_PIN::ClassOf(), SCH_SYMBOL::ClassOf(), SCH_TABLE::ClassOf(), SCH_TABLECELL::ClassOf(), SCH_TEXT::ClassOf(), SCH_TEXTBOX::ClassOf(), ZONE::ClassOf(), MOCK_BOARD_ITEM::Clone(), TEST_EDA_ITEM::Clone(), CONNECTION_GRAPH::collectAllDriverValues(), collectImportedUuids(), PCB_SELECTION_TOOL::CollectMultiple(), collidesWithArea(), LIB_SYMBOL::compare(), SCH_FIELD::compare(), SCH_ITEM::compare(), SCH_TEXT::compare(), SCH_TEXTBOX::compare(), compareDrivers(), TEARDROP_MANAGER::computeAnchorPoints(), EE_GRID_HELPER::computeAnchors(), PCB_GRID_HELPER::computeAnchors(), PCB_GRID_HELPER::computeAnchors(), ComputeBoardStatistics(), TEARDROP_MANAGER::computeChordThroughShape(), TEARDROP_MANAGER::computeCurvedForRectShape(), TEARDROP_MANAGER::computeTeardropPolygon(), SCH_BUS_WIRE_ENTRY::ConnectionPropagatesTo(), SCH_LINE::ConnectionPropagatesTo(), ConstraintItemAnchors(), EE_RTREE::contains(), BOARD::ConvertKIIDsToCrossReferences(), SCHEMATIC::ConvertKIIDsToRefs(), SYMBOL_EDITOR_EDIT_TOOL::ConvertStackedPins(), SYMBOL_EDITOR_EDIT_TOOL::Copy(), FOOTPRINT::CopyFrom(), PAD::CopyFrom(), PCB_ARC::CopyFrom(), PCB_CONSTRAINT::CopyFrom(), PCB_DIM_ALIGNED::CopyFrom(), PCB_DIM_CENTER::CopyFrom(), PCB_DIM_LEADER::CopyFrom(), PCB_DIM_ORTHOGONAL::CopyFrom(), PCB_DIM_RADIAL::CopyFrom(), PCB_FIELD::CopyFrom(), PCB_POINT::CopyFrom(), PCB_REFERENCE_IMAGE::CopyFrom(), PCB_SHAPE::CopyFrom(), PCB_TABLE::CopyFrom(), PCB_TEXT::CopyFrom(), PCB_TEXTBOX::CopyFrom(), PCB_TRACK::CopyFrom(), PCB_VIA::CopyFrom(), ZONE::CopyFrom(), PAD_TOOL::copyPadSettings(), MULTICHANNEL_TOOL::copyRuleAreaContents(), FOOTPRINT::CoverageRatio(), PNS_KICAD_IFACE::createBoardItem(), CreateItemForType(), BOARD_ADAPTER::createLayers(), CONVERT_TOOL::CreateLines(), PCB_BASE_FRAME::CreateNewFootprint(), ZONE_CREATE_HELPER::createNewZone(), BOARD_ADAPTER::createTrackWithMargin(), SCH_INSPECTION_TOOL::CrossProbe(), SCH_SCREEN::DeleteItem(), EDIT_TOOL::DeleteItems(), API_HANDLER_SCH::deleteItemsInternal(), SCH_BUS_ENTRY_BASE::Deserialize(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_FIELD_PROPERTIES::DIALOG_FIELD_PROPERTIES(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), KICAD_DIFF::PCB_DIFFER::diffProperties(), KICAD_DIFF::DiffSymbolElements(), DimensionEndpointsBound(), DimensionHasValueMode(), PCB_DRAW_PANEL_GAL::DisplayBoard(), SCH_EDIT_TOOL::DoDelete(), APPEARANCE_CONTROLS::doesBoardItemNeedRebuild(), DIALOG_GLOBAL_DELETION::DoGlobalDeletions(), EDIT_TOOL::doMoveSelection(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SELECTION_TOOL::doSelectionMenu(), KIGFX::PCB_PAINTER::Draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), DRAWING_TOOL::DrawDimension(), KIGFX::SCH_PAINTER::drawItemBoundingBox(), SCH_DRAWING_TOOLS::DrawSheet(), CONNECTION_SUBGRAPH::driverName(), CN_ITEM::Dump(), EDIT_TOOL::Duplicate(), SCH_ITEM::Duplicate(), FOOTPRINT::DuplicateItem(), EDA_ITEM_DESC::EDA_ITEM_DESC(), EDA_TEXT_DESC::EDA_TEXT_DESC(), SCH_EDIT_TOOL::EditField(), SCH_EDIT_TOOL::editFieldText(), SCH_EDIT_TOOL::EditProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextBoxProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextProperties(), enclosedByAreaFunc(), SCH_SELECTION_TOOL::EnterGroup(), CONNECTION_GRAPH::ercCheckBusToBusConflicts(), CONNECTION_GRAPH::ercCheckBusToBusEntryConflicts(), CONNECTION_GRAPH::ercCheckBusToNetConflicts(), CONNECTION_GRAPH::ercCheckDanglingWireEndpoints(), CONNECTION_GRAPH::ercCheckFloatingWires(), CONNECTION_GRAPH::ercCheckLabels(), CONNECTION_GRAPH::ercCheckMultipleDrivers(), CONNECTION_GRAPH::ercCheckNoConnects(), DRC_ENGINE::EvalRules(), DRC_RULE_CONDITION::EvaluateFor(), DRC_ENGINE::EvalZoneConnection(), CONNECTION_GRAPH::ExchangeItem(), CONNECTION_SUBGRAPH::ExchangeItem(), SCH_SELECTION_TOOL::expandConnectionWithGraph(), SYMBOL_EDITOR_EDIT_TOOL::ExplodeStackedPin(), extractDiffPairCoupledItems(), MATCH_PROPERTIES_CATALOG::Family(), PCB_SELECTION_TOOL::FilterCollectorForFreePads(), BOARD_INSPECTION_TOOL::filterCollectorForInspection(), PCB_SELECTION_TOOL::FilterCollectorForMarkers(), PCB_SELECTION_TOOL::FilterCollectorForTableCells(), PCB_PROPERTIES_PANEL::filterOutReadOnlyGenChildren(), ORCAD_CONVERTER::finalizeNetNames(), TEARDROP_MANAGER::findAnchorPointsOnTrack(), MULTICHANNEL_TOOL::findComponentsInRuleArea(), PCB_SELECTION_TOOL::FindItem(), PNS::TOPOLOGY::findLinesFromVia(), NETLIST_EXPORTER_BASE::findNextSymbol(), FOOTPRINT_EDIT_FRAME::findOrCreateFootprintInstanceTab(), MULTICHANNEL_TOOL::findOtherItemsInRuleArea(), findParent(), MULTICHANNEL_TOOL::findRoutingInRuleArea(), FindSnapGraphic(), FindSnapPad(), FindSnapTrack(), findTableCell(), DRC_TOOL::FixDRCErrorMenuText(), SCH_IO_ALTIUM::fixupSymbolPinNameNumbers(), flattenGroups(), EDIT_TOOL::Flip(), PCB_SHAPE::Flip(), PCB_IO_KICAD_SEXPR::Format(), SCH_IO_KICAD_LEGACY::Format(), SCH_IO_KICAD_SEXPR::Format(), SCH_IO_KICAD_SEXPR::Format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), SCH_MARKER::FromProto(), BOARD_ITEM::GetBoard(), BOARD_ITEM::GetBoard(), GetBoardItemWidth(), PCB_TRACK::GetBoundingBox(), SCH_LABEL_BASE::GetBoundingBox(), getBoundingBox(), DRC_ENGINE::GetCachedOwnClearance(), getClosestGroup(), getClosestGroup(), KIGFX::DS_RENDER_SETTINGS::GetColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), SCH_MOVE_TOOL::getConnectedDragItems(), SCH_MOVE_TOOL::getConnectedItems(), CONNECTIVITY_DATA::GetConnectedPadsAndVias(), FOOTPRINT::GetCoverageArea(), CONNECTION_GRAPH::getDefaultConnection(), CONNECTION_SUBGRAPH::GetDriverPriority(), SCH_ITEM::GetEffectivePenWidth(), PCBEXPR_CONTEXT::GetEffectiveType(), getFieldFunc(), PCB_TRACK::GetFriendlyName(), PCB_GROUP_TOOL::getGroupFromItem(), SCH_GROUP_TOOL::getGroupFromItem(), PCB_SHAPE::getHatchingKnockouts(), getInferredSymbols(), PCB_TRACK::GetItemDescription(), EE_GRID_HELPER::GetItemGrid(), PCB_GRID_HELPER::GetItemGrid(), PCB_PROPERTIES_PANEL::getItemValue(), SCH_PROPERTIES_PANEL::getItemValue(), BOARD_ITEM::GetLayer(), PL_EDITOR_FRAME::GetLayoutFromRedoList(), PL_EDITOR_FRAME::GetLayoutFromUndoList(), PCB_SHAPE::GetLibraryBezierC1(), PCB_SHAPE::GetLibraryBezierC2(), PCB_SHAPE::GetLibraryPolyShape(), getMinDist(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_TRACK::GetMsgPanelInfo(), SCH_LABEL_BASE::GetMsgPanelInfo(), SCH_SCREEN::GetNeededJunctions(), CONNECTION_SUBGRAPH::GetNetclassesForDriver(), CONNECTIVITY_DATA::GetNetItems(), GetNetNavigatorItemText(), SCH_SYMBOL::GetPinPhysicalPosition(), KIGFX::SCH_PAINTER::getRenderColor(), SCH_RULE_AREA::GetResolvedNetclasses(), GROUP_SEARCH_HANDLER::getResultCell(), LABEL_SEARCH_HANDLER::getResultCell(), TEXT_SEARCH_HANDLER::getResultCell(), GetSchItemAsText(), ALIGN_DISTRIBUTE_TOOL::GetSelections(), SCH_PROPERTIES_PANEL::getSinglePinMappedSymbol(), CONVERT_TOOL::getStartEndPoints(), KIGFX::SCH_PAINTER::getTextThickness(), GetTypeDesc(), PCBEXPR_COMPONENT_CLASS_REF::GetValue(), DIALOG_FIND_BY_PROPERTIES::getVariantAwareValue(), TEARDROP_MANAGER::GetWidth(), PCB_SELECTION_TOOL::grabUnconnected(), GraphicEditShape(), graphicNetCode(), PCB_SELECTION_TOOL::GuessSelectionCandidates(), SCH_SELECTION_TOOL::GuessSelectionCandidates(), API_HANDLER_BOARD::handleCreateUpdateItemsInternal(), API_HANDLER_SCH::handleCreateUpdateItemsInternal(), API_HANDLER_BOARD::handleFlipItems(), API_HANDLER_BOARD::handleGetBoundingBox(), API_HANDLER_SCH::handleGetItems(), API_HANDLER_SCH::handleGetItemsById(), hasComponentClassFunc(), hash_fp_item(), hashDimension(), BOARD::HasItemsOnLayer(), KIGFX::PCB_PAINTER::HasUniformColor(), SCH_SELECTION_TOOL::highlight(), BOARD_INSPECTION_TOOL::HighlightItem(), BOARD_INSPECTION_TOOL::highlightNet(), highlightNet(), SCH_FIELD::HitTest(), SCH_FIELD::HitTest(), SCH_LABEL_BASE::HitTest(), SCH_LABEL_BASE::HitTest(), SCH_LABEL_BASE::HitTest(), PCB_SELECTION_TOOL::hitTestDistance(), EE_GRAPHIC_TOOL::ImportGraphics(), PCB_POINT_EDITOR::Init(), PCB_SELECTION_TOOL::Init(), SCH_EDIT_TOOL::Init(), SCH_POINT_EDITOR::Init(), SCH_SELECTION_TOOL::Init(), ODB_LAYER_ENTITY::InitDrillData(), DRC_ENGINE::InitializeClearanceCache(), SCH_MOVE_TOOL::initializeMoveOperation(), ROUTER_TOOL::InlineBreakTrack(), ROUTER_TOOL::InlineDrag(), DRC_RTREE::Insert(), EE_RTREE::insert(), GENERAL_COLLECTOR::Inspect(), SCH_COLLECTOR::Inspect(), TEST_COLLECTOR::Inspect(), BOARD_INSPECTION_TOOL::InspectConstraints(), BOARD_INSPECTION_TOOL::InspectDRCError(), isBlindBuriedViaFunc(), isBlindVia(), isBuriedVia(), CONNECTIVITY_DATA::IsConnectedOnLayer(), isCopper(), SCH_LINE_WIRE_BUS_TOOL::IsDrawingLineWireOrBus(), PCB_SELECTION_TOOL::isExpandableGraphicShape(), ALLEGRO::BOARD_BUILDER::GRAPHIC_DEDUP::IsFirst(), PNS_KICAD_IFACE_BASE::IsFlashedOnLayer(), PNS_KICAD_IFACE_BASE::IsFlashedOnLayer(), CADSTAR_PCB_ARCHIVE_LOADER::isFootprint(), isGraphicItemForDrop(), BOARD_ITEM::IsGroupableType(), SCH_ITEM::IsGroupableType(), PNS_PCBNEW_RULE_RESOLVER::IsKeepout(), isKeepoutZone(), PCB_PROPERTIES_PANEL::isKeyEditable(), SCH_PROPERTIES_PANEL::isKeyEditable(), isMaskAperture(), isMicroVia(), isNoGeometryItem(), PNS_PCBNEW_RULE_RESOLVER::IsNonPlatedSlot(), isNPTHPad(), isNPTHPadWithNoCopper(), PCB_TRACK::IsNull(), BOARD_ITEM::IsOnCopperLayer(), SCH_LINE::IsParallel(), isPlatedFunc(), TEARDROP_MANAGER::IsRound(), KICAD_DIFF::isSheetItem(), isStackedViaFunc(), PNS::ROUTER::isStartingPointRoutable(), SCH_ITEM::IsType(), TEARDROP_MANAGER::IsUniformlyRound(), ItemHasDRCViolation(), itemHasEditableCorners(), itemIsIncludedByFilter(), DIALOG_FIND_BY_PROPERTIES::itemMatchesPropertyCriteria(), PCB_SELECTION_TOOL::itemPassesFilter(), SCH_SELECTION_TOOL::itemPassesFilter(), SCH_EDIT_TOOL::JustifyText(), EE_GRID_HELPER::layoutBounds(), PCB_GRID_HELPER::layoutBounds(), EE_GRID_HELPER::layoutPins(), CADSTAR_SCH_ARCHIVE_LOADER::loadHierarchicalSheetPins(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), PCB_SELECTION_TOOL::Main(), SCH_SELECTION_TOOL::Main(), EDIT_POINTS_FACTORY::Make(), PCB_POINT_EDITOR::makePoints(), SCH_POINT_EDITOR::makePointsAndBehavior(), CONVERT_TOOL::makePolysFromChainedSegs(), GENERATOR_TOOL::MakeViaStackFromSelection(), CONNECTIVITY_DATA::MarkItemNetAsDirty(), CN_CONNECTIVITY_ALGO::markItemNetAsDirty(), DRC_TEST_PROVIDER_SOLDER_MASK::maskApertureBridgeExcluded(), memberKey(), memberOfGroupFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), SCH_LINE::MergeOverlap(), PCB_GROUP::Mirror(), SCH_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), PNS_KICAD_IFACE::modifyBoardItem(), BOARD_EDITOR_CONTROL::modifyLockSelected(), SCH_MOVE_TOOL::moveItem(), MoveSchematicItem(), moveSelectionBy(), SCH_SELECTION_TOOL::narrowSelection(), BOARD::noteDrillModelChange(), ARRAY_TOOL::onDialogClosed(), DIALOG_DRC::OnDRCItemSelected(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), DIALOG_GENERATORS::OnItemSelected(), PCB_PROPERTIES_PANEL::onKeyRenamed(), SCH_PROPERTIES_PANEL::onKeyRenamed(), EDA_3D_CANVAS::OnLeftUp(), EDA_3D_CANVAS::OnMouseMove(), SCH_EDIT_FRAME::onNetNavigatorSelection(), PCB_PROPERTIES_PANEL::onNewItemLeftBlank(), DIALOG_GENERATORS::OnRebuildTypeClick(), PCB_POINT_EDITOR::OnSelectionChange(), ALLEGRO::BOARD_BUILDER::GRAPHIC_KEY_EQ::operator()(), ALLEGRO::BOARD_BUILDER::GRAPHIC_KEY_HASH::operator()(), BOARD::cmp_drawings::operator()(), BOARD::cmp_items::operator()(), BOARD_ITEM::ptr_cmp::operator()(), CN_VISITOR::operator()(), FOOTPRINT::cmp_drawings::operator()(), KI_TEST::kitest_cmp_drawings::operator()(), PCB_SHAPE::cmp_drawings::operator()(), PCB_TRACK::cmp_tracks::operator()(), SCH_BUS_ENTRY_BASE::operator<(), SCH_FIELD::operator<(), SCH_ITEM::operator<(), SCH_JUNCTION::operator<(), SCH_LINE::operator<(), SCH_SHEET::operator<(), SCH_SYMBOL::operator<(), SCH_TABLE::operator<(), SCH_TEXT::operator<(), SCH_TEXTBOX::operator<(), PCB_REFERENCE_IMAGE::operator=(), SCH_BITMAP::operator=(), SCH_SHEET::operator=(), SCH_SYMBOL::operator=(), BOARD::operator==(), FOOTPRINT::operator==(), PAD::operator==(), PCB_ARC::operator==(), PCB_ARC::operator==(), PCB_CONSTRAINT::operator==(), PCB_DIMENSION_BASE::operator==(), PCB_DRILL_CHART::operator==(), PCB_DRILL_MAP::operator==(), PCB_FIELD::operator==(), PCB_GRID_ITEM::operator==(), PCB_GROUP::operator==(), PCB_POINT::operator==(), PCB_REFERENCE_IMAGE::operator==(), PCB_SHAPE::operator==(), PCB_SHAPE::operator==(), PCB_TABLE::operator==(), PCB_TABLECELL::operator==(), PCB_TARGET::operator==(), PCB_TEXT::operator==(), PCB_TEXTBOX::operator==(), PCB_TRACK::operator==(), PCB_VIA::operator==(), PCB_VIA::operator==(), SCH_BITMAP::operator==(), SCH_BUS_ENTRY_BASE::operator==(), SCH_FIELD::operator==(), SCH_FIELD::operator==(), SCH_GROUP::operator==(), SCH_ITEM::operator==(), SCH_JUNCTION::operator==(), SCH_LINE::operator==(), SCH_NO_CONNECT::operator==(), SCH_SHAPE::operator==(), SCH_SHEET::operator==(), SCH_SHEET_PIN::operator==(), SCH_SYMBOL::operator==(), SCH_TABLE::operator==(), SCH_TABLECELL::operator==(), SCH_TEXT::operator==(), SCH_TEXTBOX::operator==(), ZONE::operator==(), ZONE::operator==(), API_HANDLER_SCH::packSchItem(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_SHAPE(), SCH_EASYEDAPRO_PARSER::ParseSchematic(), SCH_EASYEDAPRO_V3_PARSER::ParseSchematic(), SCH_IO_KICAD_SEXPR_PARSER::parseSchField(), PCB_CONTROL::Paste(), SCH_EDITOR_CONTROL::Paste(), ZONE_PAINTER::PCB_PAINTER(), PCB_TABLECELL_DESC::PCB_TABLECELL_DESC(), PCB_GROUP_TOOL::PickNewMember(), SCH_GROUP_TOOL::PickNewMember(), SCH_DRAWING_TOOLS::PlaceNextSymbolUnit(), SCH_LABEL_BASE::Plot(), BRDITEMS_PLOTTER::PlotBoardGraphicItem(), SCH_MOVE_TOOL::prepareSelection(), OUTSET_ROUTINE::ProcessItem(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::processItem(), BACK_ANNOTATE::processNetNameChange(), CONNECTION_GRAPH::processSubGraphs(), BOARD_COMMIT::propagateDamage(), EDIT_TOOL::Properties(), SCH_EDIT_TOOL::Properties(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), PCB_SELECTION_TOOL::pruneObscuredSelectionCandidates(), BOARD_COMMIT::Push(), SCH_COMMIT::pushSchEdit(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), SCH_EDIT_FRAME::PutDataInPreviousState(), EE_GRID_HELPER::queryVisible(), PCB_GRID_HELPER::queryVisible(), BOARD_REANNOTATE_TOOL::ReannotateDuplicates(), PCB_SELECTION_TOOL::RebuildSelection(), SCHEMATIC::RecalculateConnections(), refOfSolid(), SCH_MOVE_TOOL::refreshSelectionTraits(), SCH_BASE_FRAME::RefreshZoomDependentItems(), GENERATOR_TOOL::RegenerateSelected(), PCB_CONTROL::rehatchBoardItem(), BOARD::Remove(), CN_CONNECTIVITY_ALGO::Remove(), FOOTPRINT::Remove(), KIGFX::PCB_VIEW::Remove(), SCH_SCREEN::Remove(), EE_RTREE::remove(), BOARD::RemoveAllItemsOnLayer(), PCB_POINT_EDITOR::removeCorner(), LIB_SYMBOL::RemoveDrawItem(), SCH_PROPERTIES_PANEL::removeField(), SCH_BASE_FRAME::RemoveFromScreen(), CONNECTION_SUBGRAPH::RemoveItem(), PNS_KICAD_IFACE::RemoveItem(), SCH_SHEET::RemovePin(), SCH_EDIT_TOOL::RepeatDrawItem(), SCH_FIND_REPLACE_TOOL::ReplaceAll(), BOARD_INSPECTION_TOOL::reportClearance(), SCH_SELECTION_TOOL::RequestSelection(), KI_TEST::RequireBoardItemWithTypeAndId(), CONNECTION_GRAPH::resolveAllDrivers(), ResolveConstrainableItem(), SCHEMATIC::resolveCrossReference(), EE_GRID_HELPER::ResolveSnap(), PCB_GRID_HELPER::ResolveSnap(), BOARD::ResolveTextVar(), SCH_LABEL_BASE::ResolveTextVar(), DS_PROXY_UNDO_ITEM::Restore(), BOARD_COMMIT::Revert(), SCH_COMMIT::Revert(), PL_EDITOR_FRAME::RollbackFromUndo(), EDIT_TOOL::Rotate(), SCH_EDIT_TOOL::Rotate(), DRC_TEST_PROVIDER_CONNECTIVITY::Run(), DRC_TEST_PROVIDER_DISALLOW::Run(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), DRC_TEST_PROVIDER_TRACK_ANGLE::Run(), DRC_TEST_PROVIDER_TRACK_SEGMENT_LENGTH::Run(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY_LIB_CACHE::savePin(), SCH_IO_KICAD_SEXPR_LIB_CACHE::savePin(), CLIPBOARD_IO::SaveSelection(), SCH_IO_KICAD_SEXPR::saveShape(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveSymbolDrawItem(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SCH_IO_KICAD_SEXPR::saveText(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveText(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveTextBox(), SCH_FIELD::SCH_FIELD(), SCH_SCREEN::Schematic(), POWER_SEARCH_HANDLER::Search(), SYMBOL_SEARCH_HANDLER::Search(), TEXT_SEARCH_HANDLER::Search(), CONVERT_TOOL::SegmentToArc(), PCB_SELECTION_TOOL::select(), PCB_SELECTION_TOOL::Selectable(), SCH_SELECTION_TOOL::Selectable(), PCB_SELECTION_TOOL::selectAllConnectedTracks(), SCH_SELECTION_TOOL::SelectConnection(), selectionSpecFromItem(), PCB_SELECTION_TOOL::selectSameSheet(), PCB_SELECTION_TOOL::selectUnconnected(), PCB_EDIT_FRAME::SendCrossProbeItem(), SCH_BUS_ENTRY_BASE::Serialize(), PCB_POINT_EDITOR::setAltConstraint(), ITEM_PICKER::SetItem(), SCH_LABEL_BASE::SetLabelShape(), PCB_BASE_FRAME::SetPlotSettings(), SCH_MOVE_TOOL::setupItemsForDrag(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowFindDialog(), SCH_BASE_FRAME::ShowFindReplaceDialog(), FOOTPRINT::Similarity(), LIB_SYMBOL::Similarity(), PAD::Similarity(), PCB_ARC::Similarity(), PCB_BOARD_OUTLINE::Similarity(), PCB_CONSTRAINT::Similarity(), PCB_DIMENSION_BASE::Similarity(), PCB_DRILL_CHART::Similarity(), PCB_DRILL_MAP::Similarity(), PCB_FIELD::Similarity(), PCB_GRID_ITEM::Similarity(), PCB_GROUP::Similarity(), PCB_POINT::Similarity(), PCB_REFERENCE_IMAGE::Similarity(), PCB_SHAPE::Similarity(), PCB_TABLE::Similarity(), PCB_TABLECELL::Similarity(), PCB_TARGET::Similarity(), PCB_TEXT::Similarity(), PCB_TEXTBOX::Similarity(), PCB_TRACK::Similarity(), PCB_VIA::Similarity(), SCH_BITMAP::Similarity(), SCH_BUS_ENTRY_BASE::Similarity(), SCH_FIELD::Similarity(), SCH_GROUP::Similarity(), SCH_JUNCTION::Similarity(), SCH_LINE::Similarity(), SCH_NO_CONNECT::Similarity(), SCH_PIN::Similarity(), SCH_SHAPE::Similarity(), SCH_SHEET::Similarity(), SCH_SHEET_PIN::Similarity(), SCH_SYMBOL::Similarity(), SCH_TABLE::Similarity(), SCH_TABLECELL::Similarity(), SCH_TEXT::Similarity(), SCH_TEXTBOX::Similarity(), ZONE::Similarity(), SCH_EDITOR_CONTROL::SimProbe(), SCH_EDITOR_CONTROL::SimTune(), stableDriverIdentity(), ALLEGRO::BOARD_BUILDER::stampIds(), PNS::LINE_PLACER::Start(), EDIT_TOOL::Swap(), SCH_EDIT_TOOL::Swap(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), FOOTPRINT::swapData(), PAD::swapData(), PCB_ARC::swapData(), PCB_BARCODE::swapData(), PCB_CONSTRAINT::swapData(), PCB_DIM_ALIGNED::swapData(), PCB_DIM_CENTER::swapData(), PCB_DIM_LEADER::swapData(), PCB_DIM_ORTHOGONAL::swapData(), PCB_DIM_RADIAL::swapData(), PCB_DRILL_CHART::swapData(), PCB_DRILL_MAP::swapData(), PCB_FIELD::swapData(), PCB_GRID_ITEM::swapData(), PCB_GROUP::swapData(), PCB_MARKER::swapData(), PCB_POINT::swapData(), PCB_REFERENCE_IMAGE::swapData(), PCB_TABLE::swapData(), PCB_TABLECELL::swapData(), PCB_TARGET::swapData(), PCB_TEXT::swapData(), PCB_TEXTBOX::swapData(), PCB_TRACK::swapData(), PCB_TUNING_PATTERN::swapData(), PCB_VIA::swapData(), PCB_VIA_STITCH::swapData(), SCH_BITMAP::swapData(), SCH_FIELD::swapData(), SCH_GROUP::swapData(), SCH_JUNCTION::swapData(), SCH_NO_CONNECT::swapData(), SCH_SHEET::swapData(), SCH_SHEET_PIN::swapData(), SCH_SYMBOL::swapData(), SCH_TABLE::swapData(), ZONE::swapData(), EDIT_TOOL::SwapGateNets(), EDIT_TOOL::SwapPadNets(), SCH_EDIT_TOOL::SwapPins(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), PCB_SHAPE::syncLibCoords(), PNS_KICAD_IFACE_BASE::syncTextItem(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testGraphicClearances(), DRC_TEST_PROVIDER_HOLE_TO_HOLE::testHoleAgainstHole(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstItem(), DRC_TEST_PROVIDER_SOLDER_MASK::testItemAgainstItems(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZone(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstZones(), DRC_TEST_PROVIDER_SOLDER_MASK::testMaskItemAgainstZones(), ERC_TESTER::TestMissingNetclasses(), ERC_TESTER::TestNoConnectPins(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testSingleLayerItemAgainstItem(), ERC_TESTER::TestTextVars(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackClearances(), CONNECTIVITY_DATA::TestTrackEndpointDangling(), PANEL_SETUP_LAYERS::TransferDataFromWindow(), DIALOG_FIELD_PROPERTIES::TransferDataToWindow(), DIALOG_FOOTPRINT_FIELDS_TABLE::TransferDataToWindow(), DIALOG_SYMBOL_FIELDS_TABLE::TransferDataToWindow(), PCB_SHAPE::transformFp(), PCB_TRACK::TransformShapeToPolygon(), SCH_LINE_WIRE_BUS_TOOL::TrimOverLappingWires(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), BOARD_COMMIT::undoLevelItem(), undoListContainsShapesOrFootprints(), SCH_SELECTION_TOOL::unhighlight(), PCB_SELECTION_TOOL::unrouteSegment(), PCB_SELECTION_TOOL::unrouteSelected(), KIGFX::PCB_VIEW::Update(), KIGFX::SCH_VIEW::Update(), NET_CHAIN_MENU::update(), SCH_SHEET_PATH::UpdateAllScreenReferences(), PCB_EDIT_FRAME::UpdateDesignBlockFromSelection(), SCH_EDIT_FRAME::UpdateDesignBlockFromSelection(), DIALOG_FIELD_PROPERTIES::UpdateField(), CONNECTION_GRAPH::updateGenericItemConnectivity(), SCH_BASE_FRAME::UpdateItem(), PCB_POINT_EDITOR::updateItem(), PL_POINT_EDITOR::updateItem(), PCB_CONTROL::UpdateMessagePanel(), EDIT_TOOL::updateModificationPoint(), SCH_EDITOR_CONTROL::UpdateNetHighlighting(), PL_POINT_EDITOR::updatePoints(), SCH_MOVE_TOOL::updateStoredPositions(), DIALOG_CREATE_NET_CHAIN::validateAndCreate(), PCB_PROPERTIES_PANEL::valueChanged(), SCH_PROPERTIES_PANEL::valueChanged(), PCB_PROPERTIES_PANEL::valueChanging(), SCH_BUS_ENTRY_BASE::ViewGetLayers(), SYMBOL::ViewGetLayers(), GERBER_DRAW_ITEM::Visit(), PCB_GROUP::Visit(), PCB_TRACK::Visit(), SCH_GROUP::Visit(), SCH_SHEET::Visit(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::visitItem(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::visitItem(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem().
|
inherited |
Assigns a net to this item from an API message.
If the net does not yet exist, it will be created.
| aProto | is the protobuf message to unpack a net from |
Definition at line 60 of file board_connected_item.cpp.
References BOARD_ITEM::BOARD, BOARD_ITEM::GetBoard(), name, and SetNet().
Referenced by PAD::Deserialize(), PCB_ARC::Deserialize(), PCB_SHAPE::Deserialize(), PCB_TRACK::Deserialize(), PCB_VIA::Deserialize(), and ZONE::Deserialize().
|
overridevirtualinherited |
Reimplemented from EDA_SHAPE.
Definition at line 532 of file pcb_shape.cpp.
References EDA_SHAPE::m_hatchingDirty, and EDA_SHAPE::UpdateHatching().
Referenced by KIGFX::PCB_PAINTER::draw(), and PCB_CONTROL::rehatchBoardItem().
|
staticinherited |
Check if aURL is a valid hyperlink.
| aURL | String to validate |
Definition at line 1232 of file eda_text.cpp.
References IsGotoPageHref().
Referenced by SCH_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), and DIALOG_TEXT_PROPERTIES::TransferDataFromWindow().
|
overridevirtualinherited |
Return the bounding box of the item covering all its layers.
Reimplemented from EDA_ITEM.
Definition at line 1660 of file pcb_shape.cpp.
References GetWidth(), BOX2< Vec >::Inflate(), and EDA_ITEM::ViewBBox().
|
inlinevirtualinherited |
Draw the parts of the object belonging to layer aLayer.
An alternative way for drawing objects if there is no #PAINTER assigned for the view or if the PAINTER doesn't know how to paint this particular implementation of VIEW_ITEM. The preferred way of drawing is to design an appropriate PAINTER object, the method below is intended only for quick hacks and debugging purposes.
| aLayer | is the current drawing layer. |
| aView | is a pointer to the VIEW device we are drawing on. |
Reimplemented in CONSTRAINT_BADGE_ITEM, DS_PROXY_VIEW_ITEM, EDIT_POINTS, KIGFX::ANCHOR_DEBUG, KIGFX::CONSTRUCTION_GEOM, KIGFX::ORIGIN_VIEWITEM, KIGFX::PREVIEW::ARC_ASSISTANT, KIGFX::PREVIEW::BEZIER_ASSISTANT, KIGFX::PREVIEW::ELLIPSE_ASSISTANT, KIGFX::PREVIEW::RULER_ITEM, KIGFX::PREVIEW::SELECTION_AREA, KIGFX::PREVIEW::SIMPLE_OVERLAY_ITEM, KIGFX::PREVIEW::TWO_POINT_ASSISTANT, KIGFX::SNAP_INDICATOR, KIGFX::VIEW_GROUP, KIGFX::VIEW_OVERLAY, MY_DRAWING, PCB_TUNING_PATTERN, PCB_VIA_STITCH, RATSNEST_VIEW_ITEM, RECT_RADIUS_TEXT_ITEM, ROUTER_PREVIEW_ITEM, ROUTER_STATUS_VIEW_ITEM, TUNING_STATUS_VIEW_ITEM, and VIEW_OVERLAY.
Definition at line 123 of file view_item.h.
References VIEW.
Referenced by KIGFX::VIEW::draw(), and KIGFX::VIEW::updateItemGeometry().
|
overridevirtual |
Reimplemented from PCB_SHAPE.
Definition at line 482 of file pcb_textbox.cpp.
References PCB_SHAPE::GetLayer(), BOARD_ITEM::GetParentFootprint(), BOARD_ITEM::IsLocked(), and LAYER_LOCKED_ITEM_SHADOW.
|
overridevirtual |
Return the level of detail (LOD) of the item.
A level of detail is the minimal VIEW scale that is sufficient for an item to be shown on a given layer.
Use LOD_HIDE and LOD_SHOW constants to hide or show the item unconditionally.
Use lodScaleForThreshold() to calculate the LOD scale for when the item passes a certain threshold size on screen.
| aLayer | is the current drawing layer. |
| aView | is a pointer to the VIEW device we are drawing on. |
Reimplemented from PCB_SHAPE.
Definition at line 459 of file pcb_textbox.cpp.
References KIGFX::RENDER_SETTINGS::GetHighContrast(), KIGFX::VIEW::GetPainter(), KIGFX::RENDER_SETTINGS::GetPrimaryHighContrastLayer(), KIGFX::PCB_PAINTER::GetSettings(), KIGFX::VIEW::IsLayerVisibleCached(), LAYER_LOCKED_ITEM_SHADOW, KIGFX::VIEW_ITEM::LOD_HIDE, KIGFX::VIEW_ITEM::LOD_SHOW, and BOARD_ITEM::m_layer.
|
inlineinherited |
Definition at line 157 of file view_item.h.
References m_viewPrivData.
Referenced by KIGFX::VIEW::Add(), KIGFX::VIEW::draw(), KIGFX::VIEW::HasItem(), KIGFX::VIEW::Hide(), KIGFX::VIEW::invalidateItem(), KIGFX::VIEW::IsHiddenOnOverlay(), KIGFX::VIEW::IsVisible(), KIGFX::VIEW::CLEAR_LAYER_CACHE_VISITOR::operator()(), KIGFX::VIEW::DRAW_ITEM_VISITOR::operator()(), KIGFX::VIEW::RECACHE_ITEM_VISITOR::operator()(), KIGFX::VIEW::UPDATE_COLOR_VISITOR::operator()(), KIGFX::VIEW::UPDATE_DEPTH_VISITOR::operator()(), KIGFX::VIEW::SetVisible(), KIGFX::VIEW::Update(), KIGFX::VIEW::updateItemColor(), KIGFX::VIEW::updateItemGeometry(), and KIGFX::VIEW::updateLayers().
|
virtualinherited |
May be re-implemented for each derived class in order to handle all the types given by its member data.
Implementations should call inspector->Inspect() on types in aScanTypes, and may use IterateForward() to do so on lists of such data.
| inspector | An INSPECTOR instance to use in the inspection. |
| testData | Arbitrary data used by the inspector. |
| aScanTypes | Which KICAD_T types are of interest and the order in which they should be processed. |
Reimplemented in BOARD, FOOTPRINT, GBR_LAYOUT, GERBER_DRAW_ITEM, GERBER_FILE_IMAGE, LIB_SYMBOL, PCB_DRILL_CHART, PCB_GROUP, PCB_TABLE, PCB_TRACK, SCH_GROUP, SCH_LABEL_BASE, SCH_SHEET, SCH_SYMBOL, and SCH_TABLE.
Definition at line 287 of file eda_item.cpp.
References CONTINUE, KIGFX::VIEW_ITEM::GetClass(), IsType(), and QUIT.
Referenced by GENERAL_COLLECTOR::Collect(), GERBER_COLLECTOR::Collect(), PCB_LAYER_COLLECTOR::Collect(), PCB_TYPE_COLLECTOR::Collect(), IterateForward(), IterateForward(), and BOARD::UpdateUserUnits().
|
inlineinherited |
Definition at line 159 of file eda_item.h.
References m_flags.
Referenced by SCH_SELECTION_TOOL::SelectMultiple().
|
staticconstexprprotectedinherited |
Return this constant from ViewGetLOD() to hide the item unconditionally.
Definition at line 176 of file view_item.h.
Referenced by lodScaleForThreshold(), KIGFX::VIEW_GROUP::ViewDraw(), FOOTPRINT::ViewGetLOD(), PAD::ViewGetLOD(), PCB_BARCODE::ViewGetLOD(), PCB_DIMENSION_BASE::ViewGetLOD(), PCB_FIELD::ViewGetLOD(), PCB_GRID_ITEM::ViewGetLOD(), PCB_GROUP::ViewGetLOD(), PCB_POINT::ViewGetLOD(), PCB_REFERENCE_IMAGE::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TABLE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), PCB_TEXTBOX::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), PCB_VIA::ViewGetLOD(), SCH_GROUP::ViewGetLOD(), SCH_LINE::ViewGetLOD(), and ZONE::ViewGetLOD().
|
staticconstexprprotectedinherited |
Return this constant from ViewGetLOD() to show the item unconditionally.
Definition at line 181 of file view_item.h.
Referenced by lodScaleForThreshold(), FOOTPRINT::ViewGetLOD(), GERBER_DRAW_ITEM::ViewGetLOD(), ViewGetLOD(), PAD::ViewGetLOD(), PCB_BARCODE::ViewGetLOD(), PCB_DIMENSION_BASE::ViewGetLOD(), PCB_FIELD::ViewGetLOD(), PCB_GRID_ITEM::ViewGetLOD(), PCB_GROUP::ViewGetLOD(), PCB_POINT::ViewGetLOD(), PCB_REFERENCE_IMAGE::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TABLE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), PCB_TEXTBOX::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), PCB_VIA::ViewGetLOD(), SCH_GROUP::ViewGetLOD(), SCH_LINE::ViewGetLOD(), and ZONE::ViewGetLOD().
|
mutableprotectedinherited |
Definition at line 503 of file eda_text.h.
Referenced by SCH_TEXT::DoHypertextAction(), SCH_TEXTBOX::DoHypertextAction(), SCH_TEXT::HasHoveredHypertext(), SCH_TEXTBOX::HasHoveredHypertext(), and SetActiveUrl().
|
protectedinherited |
Definition at line 750 of file eda_shape.h.
Referenced by calcEdit(), computeArcBBox(), Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), flip(), GetArcMid(), getCenter(), GetRadius(), makeEffectiveShapes(), makeShortenedBodyShapes(), move(), operator=(), operator==(), recalcEllipseArcEndpoints(), rotate(), scale(), SetArcAngleAndEnd(), SetArcGeometry(), SetCenter(), Similarity(), SwapShape(), and TransformWithLineEndingsToPolygon().
|
protectedinherited |
Definition at line 751 of file eda_shape.h.
Referenced by Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), GetArcMid(), move(), operator=(), rotate(), SetArcGeometry(), and SetCachedArcData().
|
privateinherited |
Definition at line 529 of file eda_text.h.
Referenced by Compare(), EDA_TEXT(), GetAttributes(), GetFont(), GetHorizJustify(), GetLineSpacing(), GetTextAngle(), GetTextAngleDegrees(), GetTextColor(), GetTextSize(), GetTextThickness(), GetVertJustify(), IsBold(), IsItalic(), IsKeepUpright(), IsMirrored(), IsMultilineAllowed(), operator=(), ResolveFont(), SetAttributes(), SetAttributes(), SetBold(), SetBoldFlag(), SetFont(), SetHorizJustify(), SetItalic(), SetItalicFlag(), SetKeepUpright(), SetLineSpacing(), SetMirrored(), SetMultilineAllowed(), SetTextAngle(), SetTextColor(), SetTextHeight(), SetTextSize(), SetTextThickness(), SetTextWidth(), SetVertJustify(), Similarity(), and SwapAttributes().
|
mutableprivateinherited |
Definition at line 526 of file eda_text.h.
Referenced by ClearBoundingBoxCache(), EDA_TEXT(), GetTextBox(), and operator=().
|
mutableprivateinherited |
Definition at line 527 of file eda_text.h.
Referenced by ClearBoundingBoxCache(), EDA_TEXT(), GetTextBox(), and operator=().
|
protectedinherited |
Definition at line 753 of file eda_shape.h.
Referenced by buildBezierToSegmentsPointsList(), Compare(), Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), flip(), GetBezierC1(), GetEndingTangents(), hitTest(), hitTest(), move(), operator=(), operator==(), rotate(), scale(), SetBezierC1(), ShortenedBezierCurve(), Similarity(), and SwapShape().
|
protectedinherited |
Definition at line 754 of file eda_shape.h.
Referenced by buildBezierToSegmentsPointsList(), Compare(), Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), flip(), GetBezierC2(), GetEndingTangents(), hitTest(), hitTest(), move(), operator=(), operator==(), rotate(), scale(), SetBezierC2(), ShortenedBezierCurve(), Similarity(), and SwapShape().
|
protectedinherited |
Definition at line 756 of file eda_shape.h.
Referenced by Compare(), EDA_SHAPE(), GetBezierPoints(), getBoundingBox(), SCH_SHAPE::GetItemDescription(), GetLength(), hitTest(), hitTest(), IsClosed(), move(), operator=(), operator==(), SCH_SHAPE::Plot(), RebuildBezierToSegmentsPointsList(), rotate(), Similarity(), and SwapShape().
|
mutableprotectedinherited |
Definition at line 576 of file board_item.h.
Referenced by BOARD::CacheAndReturnItemById(), BOARD::CacheItemById(), BOARD::ClearItemByIdCache(), IsIndexedInBoard(), SetUuid(), BOARD::UncacheItemById(), BOARD::UncacheItemByPtr(), and ~BOARD_ITEM().
|
protected |
Controls drawing the border (as defined by the stroke members)
Definition at line 224 of file pcb_textbox.h.
Referenced by IsBorderEnabled(), operator==(), PCB_TEXTBOX(), SetBorderEnabled(), Similarity(), and TransformShapeToPolygon().
|
protectedinherited |
Definition at line 745 of file eda_shape.h.
Referenced by Compare(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), GetCornerRadius(), hitTest(), hitTest(), makeEffectiveShapes(), operator=(), rotate(), SetCornerRadius(), and SwapShape().
|
protectedinherited |
Definition at line 615 of file eda_item.h.
Referenced by ClearCustomProperties(), GetCustomProperties(), GetCustomPropertiesAsInspectables(), GetCustomProperty(), HasCustomProperties(), operator=(), RemoveConflictingCustomProperties(), RemoveCustomProperty(), SetCustomProperties(), SetCustomProperty(), LIB_SYMBOL::SetParent(), PCB_BARCODE::swapData(), PCB_REFERENCE_IMAGE::swapData(), PCB_SHAPE::swapData(), PCB_TABLE::swapData(), and SCH_ITEM::SwapItemData().
|
mutableprotectedinherited |
Per-key cache of dynamic property descriptors for m_customProperties, owned by this object.
Mirrors the per-object field-property caches used by FOOTPRINT / SCH_SYMBOL / SCH_SHEET; entries linger after a key is removed but are simply not enumerated.
Definition at line 621 of file eda_item.h.
Referenced by GetCustomPropertiesAsInspectables(), and RemoveCustomProperty().
|
protectedinherited |
Definition at line 760 of file eda_shape.h.
Referenced by beginEdit(), calcEdit(), continueEdit(), Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), endEdit(), operator=(), recalcEllipseArcEndpoints(), setEditState(), and SwapShape().
|
protectedinherited |
Definition at line 757 of file eda_shape.h.
Referenced by buildShapeEllipse(), calcEdit(), Compare(), EDA_SHAPE(), flip(), getCenter(), GetEllipse(), GetEllipseCenter(), GetEllipseEndAngle(), GetEllipseMajorRadius(), GetEllipseMinorRadius(), GetEllipseRotation(), GetEllipseStartAngle(), move(), operator=(), operator==(), recalcEllipseArcEndpoints(), rotate(), scale(), SetCenter(), SetEllipseCenter(), SetEllipseEndAngle(), SetEllipseMajorRadius(), SetEllipseMinorRadius(), SetEllipseRotation(), SetEllipseStartAngle(), and SwapShape().
|
protectedinherited |
Definition at line 748 of file eda_shape.h.
Referenced by buildBezierToSegmentsPointsList(), calcEdit(), Compare(), computeArcBBox(), Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), flip(), GetArcMid(), getCenter(), PCB_TEXTBOX::GetCornersInSequence(), SCH_TEXTBOX::GetDrawPos(), GetEnd(), GetEndingTangents(), GetEndX(), GetEndY(), SCH_SHAPE::GetItemDescription(), GetRadius(), hitTest(), hitTest(), IsClockwiseArc(), makeEffectiveShapes(), move(), operator=(), operator==(), SCH_SHAPE::Plot(), SCH_TEXTBOX::Plot(), recalcEllipseArcEndpoints(), PCB_TEXTBOX::Rotate(), rotate(), scale(), SetArcAngleAndEnd(), SetArcGeometry(), SetCenter(), SetCenterX(), SetCenterY(), SetEnd(), SetEndX(), SetEndY(), ShortenedBezierCurve(), Similarity(), SwapShape(), and PCB_TEXTBOX::syncLibCoords().
|
protectedinherited |
Definition at line 736 of file eda_shape.h.
Referenced by Deserialize(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), GetEndEnding(), GetEndEndingLength(), GetEndEndingStrokeWidth(), GetEndEndingStyle(), GetEndEndingWidth(), GetEndingTangents(), GetLineEndingsBoundingBox(), hitTest(), hitTest(), hitTest(), MakeEffectiveShapesForStroking(), MakeLineEndingEffectiveShapes(), makeShortenedBodyShapes(), operator=(), operator==(), Serialize(), SetEndEnding(), SetEndEndingLength(), SetEndEndingStrokeWidth(), SetEndEndingStyle(), SetEndEndingWidth(), ShortenArcForEndings(), ShortenedBezierCurve(), ShortenPolyForEndings(), Similarity(), SwapShape(), TransformLineEndingsToPolygon(), and TransformWithLineEndingsToPolygon().
|
protectedinherited |
Definition at line 732 of file eda_shape.h.
Referenced by Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), EndsSwapped(), operator=(), SetArcAngleAndEnd(), SetArcGeometry(), SetEnd(), SetStart(), and SwapShape().
|
protectedinherited |
Definition at line 737 of file eda_shape.h.
Referenced by Compare(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), GetFillMode(), GetFillModeProp(), operator=(), operator==(), SCH_RULE_AREA::Plot(), SCH_SHAPE::Plot(), SCH_SHAPE::SetFilled(), setFilled(), SCH_SHAPE::setFilled(), SetFillMode(), Similarity(), SwapShape(), and SCH_SHAPE::ViewGetLayers().
|
protectedinherited |
Definition at line 738 of file eda_shape.h.
Referenced by Deserialize(), EDA_SHAPE(), EDA_SHAPE(), GetFillColor(), operator=(), operator==(), Serialize(), SetFillColor(), Similarity(), and SwapShape().
|
protectedinherited |
Definition at line 606 of file eda_item.h.
Referenced by ClearFlags(), DS_DRAW_ITEM_BASE::DS_DRAW_ITEM_BASE(), EDA_ITEM(), EDA_ITEM(), EDA_ITEM(), SCH_PIN::GetBoundingBox(), GetEditFlags(), GetFlags(), PCB_TRACK::GetMsgPanelInfoBase_Common(), SCH_LINE::GetSelectedPoints(), GetTempFlags(), HasFlag(), SCH_FIELD::HitTest(), SCH_FIELD::HitTest(), SCH_JUNCTION::HitTest(), SCH_JUNCTION::HitTest(), SCH_LINE::HitTest(), SCH_LINE::HitTest(), SCH_PIN::HitTest(), SCH_PIN::HitTest(), SCH_SHAPE::HitTest(), SCH_SHAPE::HitTest(), SCH_SYMBOL::HitTest(), SCH_SYMBOL::HitTest(), SCH_TEXT::HitTest(), SCH_TEXT::HitTest(), ZONE::InitDataFromSrcInCopyCtor(), IsBrightened(), SCH_ITEM::IsConnected(), IsEntered(), IsModified(), IsMoving(), IsNew(), IsSelected(), IsShownAsBitmap(), SCH_LINE::MirrorHorizontally(), SCH_LINE::MirrorVertically(), operator=(), PCB_SHAPE::operator==(), SCH_LINE::Rotate(), SetFlags(), LIB_SYMBOL::Similarity(), PCB_SHAPE::Similarity(), PCB_REFERENCE_IMAGE::swapData(), PCB_SHAPE::swapData(), SCH_ITEM::SwapFlags(), SCH_PIN::ViewBBox(), and XorFlags().
|
privateinherited |
Additional transparency for diff'ing items.
Definition at line 206 of file view_item.h.
Referenced by GetForcedTransparency(), KIGFX::VIEW::DRAW_ITEM_VISITOR::operator()(), SetForcedTransparency(), and VIEW_ITEM().
|
protectedinherited |
Definition at line 612 of file eda_item.h.
Referenced by EDA_ITEM(), EDA_ITEM(), ZONE::InitDataFromSrcInCopyCtor(), IsForceVisible(), operator=(), PCB_SHAPE::operator==(), SetForceVisible(), LIB_SYMBOL::SetParent(), PCB_SHAPE::Similarity(), PCB_REFERENCE_IMAGE::swapData(), and PCB_SHAPE::swapData().
|
protectedinherited |
The group this item belongs to, if any. No ownership implied.
Definition at line 608 of file eda_item.h.
Referenced by EDA_ITEM(), EDA_ITEM(), EDA_ITEM(), GetParentGroup(), operator=(), SCH_LINE::SCH_LINE(), and SetParentGroup().
|
protectedinherited |
Definition at line 371 of file pcb_shape.h.
Referenced by GetLayerSet(), HasSolderMask(), IsOnLayer(), operator==(), PCB_SHAPE(), PCB_SHAPE(), SetHasSolderMask(), Similarity(), swapData(), and ViewGetLayers().
|
mutableprotectedinherited |
Definition at line 740 of file eda_shape.h.
Referenced by GetHatching(), GetHatchLines(), hatching(), hatchLines(), move(), and operator=().
|
mutableprotectedinherited |
Definition at line 741 of file eda_shape.h.
Referenced by EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), flip(), move(), operator=(), rotate(), scale(), SetCenter(), SetCenterX(), SetCenterY(), SetEllipseCenter(), SetEllipseEndAngle(), SetEllipseMajorRadius(), SetEllipseMinorRadius(), SetEllipseRotation(), SetEllipseStartAngle(), SetEnd(), SetFillMode(), SetHatchingDirty(), PCB_SHAPE::SetLibStrokeWidth(), SetRadius(), SetStart(), SetWidth(), PCB_SHAPE::SetWidth(), SwapShape(), UpdateHatching(), and PCB_SHAPE::UpdateHatching().
|
protectedinherited |
A hyperlink URL.
If empty, this text object is not a hyperlink.
Definition at line 501 of file eda_text.h.
Referenced by SCH_TEXT::DoHypertextAction(), SCH_TEXTBOX::DoHypertextAction(), GetHyperlink(), HasHyperlink(), RemoveHyperlink(), and SetHyperlink().
|
privateinherited |
Definition at line 204 of file view_item.h.
Referenced by IsBOARD_ITEM(), and VIEW_ITEM().
|
protectedinherited |
Definition at line 572 of file board_item.h.
Referenced by BOARD_ITEM(), BOARD_ITEM(), IsKnockout(), operator=(), PCB_SHAPE::operator==(), SetIsKnockout(), PCB_SHAPE::Similarity(), PCB_BARCODE::swapData(), PCB_REFERENCE_IMAGE::swapData(), and PCB_SHAPE::swapData().
|
protectedinherited |
Definition at line 573 of file board_item.h.
Referenced by BOARD_ITEM(), BOARD_ITEM(), IsLocked(), operator=(), PCB_SHAPE::operator==(), SetLocked(), PCB_SHAPE::Similarity(), PCB_BARCODE::swapData(), PCB_DRILL_MAP::swapData(), PCB_REFERENCE_IMAGE::swapData(), PCB_SHAPE::swapData(), and PCB_TABLE::swapData().
|
protectedinherited |
Definition at line 611 of file eda_item.h.
Referenced by EDA_ITEM(), EDA_ITEM(), IsRollover(), operator=(), SetIsRollover(), and LIB_SYMBOL::SetParent().
|
privateinherited |
Definition at line 203 of file view_item.h.
Referenced by IsSCH_ITEM(), and VIEW_ITEM().
|
privateinherited |
Definition at line 516 of file eda_text.h.
Referenced by EDA_TEXT(), EDA_TEXT(), Format(), SetTextHeight(), SetTextSize(), and SetTextWidth().
|
protectedinherited |
Definition at line 571 of file board_item.h.
Referenced by PCB_BARCODE::AssembleBarcode(), BOARD_ITEM(), BOARD_ITEM(), PCB_BARCODE::computeCacheKey(), PCB_BARCODE::Deserialize(), FOOTPRINT::FOOTPRINT(), PCB_BARCODE::GetBoundingHull(), PCB_VIA::GetDrillConstraint(), GetLayer(), FOOTPRINT::GetLayer(), PCB_GENERATOR::GetLayer(), PCB_SHAPE::GetLayer(), GetLayerName(), GetLayerSet(), PCB_SHAPE::GetLayerSet(), PCB_TRACK::GetLayerSet(), PCB_REFERENCE_IMAGE::GetMsgPanelInfo(), PAD::GetPrincipalLayer(), PCB_SHAPE::GetSolderMaskExpansion(), PCB_TRACK::GetSolderMaskExpansion(), PCB_TRACK::GetWidthConstraint(), PCB_VIA::GetWidthConstraint(), IsOnLayer(), PCB_SHAPE::IsOnLayer(), PCB_TRACK::IsOnLayer(), IsSideSpecific(), PCB_SHAPE::IsType(), operator=(), PCB_ARC::operator==(), PCB_REFERENCE_IMAGE::operator==(), PCB_SHAPE::operator==(), PCB_TARGET::operator==(), PCB_TRACK::operator==(), PCB_VIA::operator==(), PCB_BARCODE::PCB_BARCODE(), PCB_DIMENSION_BASE::PCB_DIMENSION_BASE(), PCB_TARGET::PCB_TARGET(), PCB_TARGET::PCB_TARGET(), PCB_POINT::Serialize(), PCB_REFERENCE_IMAGE::Serialize(), SetLayer(), PCB_BARCODE::SetLayer(), PCB_GENERATOR::SetLayer(), PCB_TABLE::SetLayer(), PAD::SetLayerSet(), PCB_ARC::Similarity(), PCB_REFERENCE_IMAGE::Similarity(), PCB_TRACK::Similarity(), PCB_VIA::Similarity(), PCB_DIMENSION_BASE::StyleFromSettings(), PCB_BARCODE::swapData(), PCB_DRILL_MAP::swapData(), PCB_REFERENCE_IMAGE::swapData(), PCB_SHAPE::swapData(), PCB_TABLE::swapData(), PCB_BARCODE::TransformShapeToPolygon(), ViewGetLayers(), FOOTPRINT::ViewGetLayers(), PCB_REFERENCE_IMAGE::ViewGetLayers(), PCB_SHAPE::ViewGetLayers(), PCB_TRACK::ViewGetLayers(), FOOTPRINT::ViewGetLOD(), PCB_BARCODE::ViewGetLOD(), PCB_POINT::ViewGetLOD(), PCB_REFERENCE_IMAGE::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TABLE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), PCB_TEXTBOX::ViewGetLOD(), and PCB_TRACK::ViewGetLOD().
|
protectedinherited |
Definition at line 377 of file pcb_shape.h.
Referenced by Flip(), GetLibraryArcMid(), OverrideLibCoords(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), and syncLibCoords().
|
protectedinherited |
Definition at line 379 of file pcb_shape.h.
Referenced by Flip(), GetLibraryBezierC1(), OverrideLibBezier(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), and syncLibCoords().
|
protectedinherited |
Definition at line 380 of file pcb_shape.h.
Referenced by Flip(), GetLibraryBezierC2(), OverrideLibBezier(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), and syncLibCoords().
|
protectedinherited |
Definition at line 384 of file pcb_shape.h.
Referenced by Flip(), GetLibraryEllipseCenter(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), SetLibraryEllipse(), and syncLibCoords().
|
protectedinherited |
Definition at line 389 of file pcb_shape.h.
Referenced by Flip(), GetLibraryEllipseEndAngle(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), SetLibraryEllipse(), and syncLibCoords().
|
protectedinherited |
Definition at line 385 of file pcb_shape.h.
Referenced by GetLibraryEllipseMajorRadius(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), SetLibraryEllipse(), and syncLibCoords().
|
protectedinherited |
Definition at line 386 of file pcb_shape.h.
Referenced by GetLibraryEllipseMinorRadius(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), SetLibraryEllipse(), and syncLibCoords().
|
protectedinherited |
Definition at line 387 of file pcb_shape.h.
Referenced by Flip(), GetLibraryEllipseRotation(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), SetLibraryEllipse(), and syncLibCoords().
|
protectedinherited |
Definition at line 388 of file pcb_shape.h.
Referenced by Flip(), GetLibraryEllipseStartAngle(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), SetLibraryEllipse(), and syncLibCoords().
|
protectedinherited |
Definition at line 375 of file pcb_shape.h.
Referenced by Flip(), GetLibraryEnd(), PCB_TEXTBOX::OnFootprintTransformed(), OverrideLibCoords(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), syncLibCoords(), and PCB_TEXTBOX::syncLibCoords().
|
protectedinherited |
Definition at line 382 of file pcb_shape.h.
Referenced by Flip(), GetLibPoly(), GetLibraryPolyShape(), OverrideLibPoly(), rebakeFromTransform(), and syncLibCoords().
|
protectedinherited |
Definition at line 391 of file pcb_shape.h.
Referenced by Flip(), GetLibraryArcMid(), GetLibraryShape(), OverrideLibCoords(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), SetShape(), and PCB_TEXTBOX::SetShape().
|
protectedinherited |
Definition at line 374 of file pcb_shape.h.
Referenced by Flip(), GetLibraryStart(), PCB_TEXTBOX::OnFootprintTransformed(), OverrideLibCoords(), PCB_SHAPE(), PCB_SHAPE(), rebakeFromTransform(), syncLibCoords(), and PCB_TEXTBOX::syncLibCoords().
|
private |
Definition at line 231 of file pcb_textbox.h.
Referenced by Flip(), GetLibTextAngle(), GetTextAngle(), Mirror(), PCB_TEXTBOX(), Rotate(), and SetLibTextAngle().
|
privateinherited |
Definition at line 250 of file board_connected_item.h.
Referenced by BOARD_CONNECTED_ITEM(), GetLocalRatsnestVisible(), and SetLocalRatsnestVisible().
|
private |
Definition at line 230 of file pcb_textbox.h.
Referenced by GetMarginBottom(), PCB_TEXTBOX(), and SetMarginBottom().
|
private |
Definition at line 227 of file pcb_textbox.h.
Referenced by GetMarginLeft(), PCB_TEXTBOX(), and SetMarginLeft().
|
private |
Definition at line 229 of file pcb_textbox.h.
Referenced by GetMarginRight(), PCB_TEXTBOX(), and SetMarginRight().
|
private |
Definition at line 228 of file pcb_textbox.h.
Referenced by GetMarginTop(), PCB_TEXTBOX(), and SetMarginTop().
|
protectedinherited |
Definition at line 613 of file eda_item.h.
Referenced by ClearFlags(), IsBrightened(), IsNetHighlighted(), operator=(), SetNetHighlighted(), and LIB_SYMBOL::SetParent().
|
protectedinherited |
Store all information about the net that item belongs to.
Definition at line 243 of file board_connected_item.h.
Referenced by BOARD_CONNECTED_ITEM(), GetDisplayNetname(), GetEffectiveNetClass(), GetNet(), GetNetCode(), GetNetname(), GetShortNetname(), ZONE::InitDataFromSrcInCopyCtor(), PCB_SHAPE::operator==(), SetNet(), SetNetCode(), PCB_SHAPE::Similarity(), and PCB_SHAPE::swapData().
|
protectedinherited |
Owner.
Definition at line 607 of file eda_item.h.
Referenced by PCB_BOARD_OUTLINE::CopyPros(), SCH_FIELD::Deserialize(), SCH_FIELD::DoHypertextAction(), EDA_ITEM(), EDA_ITEM(), EDA_ITEM(), SCH_FIELD::GetBoundingBox(), SCH_FIELD::GetDefaultLayer(), SCH_FIELD::GetDrawRotation(), SCH_FIELD::GetMenuImage(), PAD::GetMsgPanelInfo(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), SCH_FIELD::GetName(), BOARD_ITEM::GetParent(), GetParent(), SCH_SHEET_PIN::GetParent(), BOARD_ITEM::GetParentAsString(), SCH_FIELD::GetParentPosition(), SCH_FIELD::GetPosition(), SCH_TEXT::GetShownText(), SCH_FIELD::GetText(), SCH_FIELD::getUnescapedText(), SCH_FIELD::GetUntranslatedName(), SCH_FIELD::HitTest(), SCH_FIELD::IsLocked(), SCH_PIN::IsStacked(), SCH_FIELD::Matches(), BOARD_BOUNDING_BOX::operator=(), operator=(), PAD::operator==(), PCB_BOARD_OUTLINE::operator==(), SCH_FIELD::operator==(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_FIELD::Replace(), SCH_ITEM::ResolveText(), SCH_LABEL_BASE::ResolveTextVar(), SCH_FIELD::SCH_FIELD(), SCH_SYMBOL::SCH_SYMBOL(), SCH_FIELD::Serialize(), SetModified(), SetParent(), SCH_FIELD::SetPosition(), SCH_FIELD::SetText(), PAD::Similarity(), PCB_BOARD_OUTLINE::Similarity(), PCB_REFERENCE_IMAGE::swapData(), and PCB_SHAPE::swapData().
|
mutableprotectedinherited |
Definition at line 758 of file eda_shape.h.
Referenced by EDA_SHAPE(), GetPolyShape(), GetPolyShape(), operator=(), and SwapShape().
|
privateinherited |
Definition at line 531 of file eda_text.h.
Referenced by EDA_TEXT(), GetTextPos(), Offset(), operator=(), SetAttributes(), Similarity(), and SwapAttributes().
|
protectedinherited |
Definition at line 761 of file eda_shape.h.
Referenced by Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), IsProxyItem(), PCB_SHAPE::IsProxyItem(), operator=(), SetIsProxyItem(), and PCB_SHAPE::SetIsProxyItem().
|
protectedinherited |
Definition at line 743 of file eda_shape.h.
Referenced by EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), operator=(), SetRectangle(), and SetRectangleHeight().
|
protectedinherited |
Definition at line 744 of file eda_shape.h.
Referenced by EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), operator=(), SetRectangle(), and SetRectangleWidth().
|
mutableprivateinherited |
Definition at line 518 of file eda_text.h.
Referenced by AddRenderCacheGlyph(), ClearRenderCache(), EDA_TEXT(), GetRenderCache(), Offset(), operator=(), ResolveFont(), and SetupRenderCache().
|
protectedinherited |
Definition at line 610 of file eda_item.h.
Referenced by GetRolloverPos(), and SetIsRollover().
|
protectedinherited |
Definition at line 733 of file eda_shape.h.
Referenced by buildShapeEllipse(), Compare(), EDA_SHAPE(), EDA_SHAPE(), PCB_SHAPE::Flip(), flip(), getBoundingBox(), getCenter(), PCB_SHAPE::GetConnectionPoints(), GetCornersInSequence(), PCB_TEXTBOX::GetCornersInSequence(), GetEndingTangents(), PCB_SHAPE::GetFocusPosition(), getFriendlyName(), GetLength(), GetLineEndingEndpoints(), getPosition(), GetRadius(), GetRectangleHeight(), GetRectangleWidth(), GetShape(), hitTest(), hitTest(), IsClockwiseArc(), IsClosed(), PCB_SHAPE::IsType(), SCH_RULE_AREA::MakeEffectiveShapes(), makeEffectiveShapes(), MakeEffectiveShapesForStroking(), makeShortenedBodyShapes(), move(), PCB_SHAPE::Normalize(), PCB_SHAPE::NormalizeForCompare(), PCB_TEXTBOX::OnFootprintTransformed(), operator=(), operator==(), PCB_SHAPE::rebakeFromTransform(), RebuildBezierToSegmentsPointsList(), recalcEllipseArcEndpoints(), rotate(), scale(), SetCenter(), SetCornerRadius(), SetRectangle(), SetRectangleHeight(), SetRectangleWidth(), SetShape(), SHAPE_T_asString(), ShapeGetMsgPanelInfo(), ShortenedBezierCurve(), ShowShape(), SwapShape(), PCB_SHAPE::syncLibCoords(), TransformShapeToPolygon(), TransformWithLineEndingsToPolygon(), and UpdateHatching().
|
privateinherited |
Definition at line 507 of file eda_text.h.
Referenced by cacheShownText(), EDA_TEXT(), GetShownText(), and operator=().
|
privateinherited |
Definition at line 508 of file eda_text.h.
Referenced by cacheShownText(), EDA_TEXT(), HasTextVars(), and operator=().
|
protectedinherited |
Definition at line 372 of file pcb_shape.h.
Referenced by GetLocalSolderMaskMargin(), GetSolderMaskExpansion(), operator==(), SetLocalSolderMaskMargin(), Similarity(), and swapData().
|
protectedinherited |
Definition at line 747 of file eda_shape.h.
Referenced by buildBezierToSegmentsPointsList(), calcEdit(), Compare(), computeArcBBox(), Deserialize(), PCB_SHAPE::Deserialize(), EDA_SHAPE(), flip(), GetArcMid(), getCenter(), PCB_TEXTBOX::GetCornersInSequence(), SCH_TEXTBOX::GetDrawPos(), GetEndingTangents(), SCH_SHAPE::GetItemDescription(), getPosition(), GetRadius(), GetStart(), GetStartX(), GetStartY(), hitTest(), hitTest(), IsClockwiseArc(), makeEffectiveShapes(), move(), operator=(), operator==(), SCH_SHAPE::Plot(), SCH_TEXTBOX::Plot(), recalcEllipseArcEndpoints(), PCB_TEXTBOX::Rotate(), rotate(), scale(), SetArcAngleAndEnd(), SetArcGeometry(), SetCenter(), SetCenterX(), SetCenterY(), SetRadius(), SetStart(), SetStartX(), SetStartY(), ShortenedBezierCurve(), Similarity(), SwapShape(), and PCB_TEXTBOX::syncLibCoords().
|
protectedinherited |
Definition at line 735 of file eda_shape.h.
Referenced by Deserialize(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), GetEndingTangents(), GetLineEndingsBoundingBox(), GetStartEnding(), GetStartEndingLength(), GetStartEndingStrokeWidth(), GetStartEndingStyle(), GetStartEndingWidth(), hitTest(), hitTest(), hitTest(), MakeEffectiveShapesForStroking(), MakeLineEndingEffectiveShapes(), makeShortenedBodyShapes(), operator=(), operator==(), Serialize(), SetStartEnding(), SetStartEndingLength(), SetStartEndingStrokeWidth(), SetStartEndingStyle(), SetStartEndingWidth(), ShortenArcForEndings(), ShortenedBezierCurve(), ShortenPolyForEndings(), Similarity(), SwapShape(), TransformLineEndingsToPolygon(), and TransformWithLineEndingsToPolygon().
|
protectedinherited |
Definition at line 734 of file eda_shape.h.
Referenced by Compare(), Deserialize(), SCH_TEXTBOX::Deserialize(), EDA_SHAPE(), EDA_SHAPE(), EDA_SHAPE(), PCB_TEXTBOX::GetBorderWidth(), SCH_SHAPE::GetEffectiveLineStyle(), GetLineColor(), GetLineStyle(), PCB_TEXTBOX::GetMsgPanelInfo(), SCH_RULE_AREA::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), PCB_SHAPE::GetStroke(), SCH_SHAPE::GetStroke(), GetWidth(), operator=(), operator==(), Serialize(), PCB_TEXTBOX::SetBorderWidth(), PCB_SHAPE::SetLibStrokeWidth(), SetLineColor(), SetLineStyle(), PCB_SHAPE::SetStroke(), SCH_SHAPE::SetStroke(), SetWidth(), PCB_SHAPE::SetWidth(), ShapeGetMsgPanelInfo(), Similarity(), PCB_SHAPE::StyleFromSettings(), and SwapShape().
|
privateinherited |
Run time identification, keep private so it can never be changed after a ctor sets it.
Definition at line 603 of file eda_item.h.
Referenced by EDA_ITEM(), EDA_ITEM(), EDA_ITEM(), IsType(), and Type().
|
protectedinherited |
Not all BOARD_CONNECTED_ITEMs support teardrops, but we want those that do to share a single section in the property inspector.
Definition at line 247 of file board_connected_item.h.
Referenced by GetTeardropAllowSpanTwoTracks(), GetTeardropBestLengthRatio(), GetTeardropBestWidthRatio(), GetTeardropCurved(), GetTeardropMaxLength(), GetTeardropMaxTrackWidth(), GetTeardropMaxWidth(), GetTeardropParams(), GetTeardropParams(), GetTeardropPreferZoneConnections(), GetTeardropsEnabled(), PAD::ImportSettingsFrom(), SetTeardropAllowSpanTwoTracks(), SetTeardropBestLengthRatio(), SetTeardropBestWidthRatio(), SetTeardropCurved(), SetTeardropMaxLength(), SetTeardropMaxTrackWidth(), SetTeardropMaxWidth(), SetTeardropPreferZoneConnections(), and SetTeardropsEnabled().
|
privateinherited |
Definition at line 506 of file eda_text.h.
Referenced by cacheShownText(), Compare(), CopyText(), EDA_TEXT(), EDA_TEXT(), Empty(), GetShownText(), GetText(), operator=(), Replace(), SetText(), and SwapText().
|
privateinherited |
Definition at line 514 of file eda_text.h.
Referenced by cacheShownText(), EDA_TEXT(), GetTextVarReferences(), and operator=().
|
privateinherited |
Definition at line 530 of file eda_text.h.
Referenced by EDA_TEXT(), GetUnresolvedFontName(), isStrokeFont(), operator=(), ResolveFont(), and SetUnresolvedFontName().
|
inherited |
Definition at line 597 of file eda_item.h.
Referenced by SCH_RULE_AREA::addContainedItem(), PCB_POINT_EDITOR::addCorner(), SCH_RULE_AREA::addDirective(), SCH_SYMBOL::AddHierarchicalReference(), RC_ITEM::AddItem(), SCHEMATIC::AdoptContent(), SCH_EDIT_FRAME::AnnotateSymbols(), KICAD_DIFF::SCH_MERGE_APPLIER::Apply(), bindDimensionEndpoints(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), HOVER_PICKER::Brighten(), SCH_SHEET_LIST::BuildSheetList(), BOARD::BulkRemoveStaleTeardrops(), BOARD::CacheAndReturnItemById(), BOARD::CacheItemById(), PCB_POINT_EDITOR::chamferCorner(), SCH_SHEET_PATH::CheckForMissingSymbolInstances(), SCH_SHEET_PATH::Cmp(), DRC_TEST_PROVIDER_SOLDER_MASK::collectBridge(), collectConstraintCluster(), CollectConstraintScopeIds(), collectImportedUuids(), SCH_ITEM::compare(), SCH_SHAPE::compare(), SCH_INSPECTION_TOOL::CompareSchematicWithHistory(), PCB_IO_IPC2581::componentName(), KICAD_DIFF::ConfigurePcbDiffCanvasContext(), KICAD_DIFF::ConfigureSchDiffCanvasContext(), constraintMemberForEditPoint(), ORCAD_CONVERTER::Convert(), ORCAD_CONVERTER::convertPage(), SCHEMATIC::ConvertRefsToKIIDs(), ORCAD_CONVERTER::convertUnreferencedPages(), SCH_EDIT_TABLE_TOOL::copyCell(), LIB_FIELDS_EDITOR_GRID_DATA_MODEL::createActualDerivedSymbol(), createTopLevelSheet(), PCB_GROUP::DeepDuplicate(), SCH_BITMAP::Deserialize(), SCH_BUS_ENTRY_BASE::Deserialize(), SCH_JUNCTION::Deserialize(), SCH_LINE::Deserialize(), SCH_NO_CONNECT::Deserialize(), SCH_PIN::Deserialize(), SCH_RULE_AREA::Deserialize(), SCH_SHAPE::Deserialize(), SCH_SHEET::Deserialize(), SCH_SHEET_PIN::Deserialize(), SCH_SYMBOL::Deserialize(), SCH_TABLE::Deserialize(), SCH_TEXT::Deserialize(), SCH_TEXTBOX::Deserialize(), SCH_GROUP::DeserializeGroup(), CONSTRAINT_EDIT_TOOL::DiagnoseAfterMove(), BOARD_INSPECTION_TOOL::DiffFootprint(), KICAD_DIFF::PCB_DIFFER::diffFootprintChildren(), SCH_INSPECTION_TOOL::DiffSymbol(), DimensionEndpointsBound(), ZONE_FILLER_TOOL::DirtyZone(), KIGFX::PCB_PAINTER::draw(), KIGFX::PCB_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::draw(), KIGFX::PCB_PAINTER::drawDrillSymbol(), EDIT_TOOL::Duplicate(), FOOTPRINT::Duplicate(), LIB_SYMBOL::Duplicate(), SCH_ITEM::Duplicate(), SYMBOL_EDITOR_EDIT_TOOL::Duplicate(), EDA_ITEM(), BOARD::ExchangeFootprint(), PAD_TOOL::explodePad(), NETLIST_EXPORTER_ALLEGRO::extractComponentsInfo(), BOARD::FillItemMap(), SCH_SHEET_LIST::FillItemMap(), ORCAD_CONVERTER::finalizeNetNames(), FindDimensionLengthConstraint(), FOOTPRINT_EDIT_FRAME::findOrCreateFootprintInstanceTab(), MULTICHANNEL_TOOL::findOtherItemsInRuleArea(), MULTICHANNEL_TOOL::findRoutingInRuleArea(), KIGIT_PCB_MERGE::findSetDifferences(), SCH_EDITOR_CONTROL::FindSymbolAndItem(), SCH_EDIT_FRAME::FocusOnItem(), SYMBOL_EDIT_FRAME::FocusOnItem(), PCB_BASE_FRAME::FocusOnItems(), SCH_IO_KICAD_SEXPR::Format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), SCH_MARKER::FromProto(), BOARD::GetCachedItemById(), DRC_ENGINE::GetCachedOwnClearance(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getDataStoreKey(), LIB_FIELDS_EDITOR_GRID_DATA_MODEL::getDataStoreKey(), SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL::getDataStoreKey(), SCH_PIN::GetDefaultNetName(), RC_ITEM::GetJsonViolation(), PAD::GetMsgPanelInfo(), DIALOG_BOARD_REANNOTATE::GetNewRefDes(), SCH_SYMBOL::GetRef(), GetSymbolReferences(), PCB_MARKER::GetUUID(), SCH_MARKER::GetUUID(), hashConstraint(), ZONE::HigherPriority(), WIDGET_DIFF_CANVAS::HighlightChange(), DRC_ENGINE::InitializeClearanceCache(), SCH_SHEET_PATH::IsContainedWithin(), SCH_SHEET::IsVirtualRootSheet(), NETLIST_EXPORTER_BASE::itemNetName(), EESCHEMA_JOBS_HANDLER::JobImport(), FOOTPRINT_EDIT_FRAME::LoadFootprintFromBoard(), DRC_ENGINE::loadImplicitRules(), EESCHEMA_HELPERS::LoadSchematic(), SCH_IO_PADS::LoadSchematicFile(), SCH_EDIT_FRAME::LoadSheetFromFile(), SYMBOL_EDIT_FRAME::LoadSymbolFromSchematic(), KICAD_DIFF::PCB_DIFFER::makeDescriptor(), NETLIST_EXPORTER_XML::makeSymbols(), ISSUE24290_FIXTURE::makeTopLevelSheet(), SCH_EDIT_FRAME::mapExistingAnnotation(), MATCH_PROPERTIES_TOOL::Match(), MatchPendingStackExpansion(), ORCAD_CONVERTER::minimizeNetLabels(), SCH_CONNECTIVITY::NAVIGATION_QUERY::NetItems(), DIALOG_CREATE_NET_CHAIN::OnFindPathClicked(), SCH_EDIT_FRAME::OpenProjectFiles(), BOARD::cmp_drawings::operator()(), BOARD::cmp_items::operator()(), BOARD_ITEM::ptr_cmp::operator()(), CompareByUuid::operator()(), FOOTPRINT::cmp_drawings::operator()(), FOOTPRINT::cmp_pads::operator()(), FOOTPRINT::cmp_zones::operator()(), PCB_POINT::cmp_points::operator()(), PCB_SHAPE::cmp_drawings::operator()(), PCB_TRACK::cmp_tracks::operator()(), ERC_SCH_PIN_CONTEXT::operator<(), SCH_SYMBOL::operator<(), ERC_SCH_PIN_CONTEXT::operator==(), PAD::operator==(), SCH_FIELD::operator==(), packLabel(), PackSymbol(), PAD::PAD(), SCH_IO_KICAD_SEXPR_PARSER::parseEllipseBody(), SCH_IO_KICAD_SEXPR_PARSER::ParseSchematic(), SCH_IO_KICAD_SEXPR_PARSER::parseSchTextBoxContent(), SCH_EDITOR_CONTROL::Paste(), SCH_SHEET_PATH::PathAsString(), PCB_VIA::PCB_VIA(), processTextItem(), SCH_SHEET_PATH::push_back(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), NETLIST_EXPORTER_SPICE::ReadSchematicAndLibraries(), BOARD::RebindItemUuid(), SCH_CONNECTIVITY::NETCHAIN_MANAGER::rebuild(), ORCAD_CONVERTER::recordNetNameMap(), SCH_MOVE_TOOL::recordRedundantJunctions(), WIDGET_DIFF_CANVAS::refreshItemDimming(), BOARD::Remove(), PCB_POINT_EDITOR::removeCorner(), SCH_RULE_AREA::RemoveDirective(), SCH_SYMBOL::RemoveInstance(), SCH_RULE_AREA::RemoveItem(), SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL::RemoveSymbol(), CONSTRAINT_OVERLAY::render(), SCH_SCREENS::ReplaceDuplicateTimeStamps(), ReSolveAfterShapeResize(), PCB_IO_KICAD_SEXPR_PARSER::resolveConstraints(), PCB_IO_KICAD_SEXPR_PARSER::resolveGroups(), BOARD::ResolveItem(), SCH_SHEET_PATH::ResolveItem(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::resolveSilkDisposition(), EE_GRID_HELPER::ResolveSnap(), PCB_GRID_HELPER::ResolveSnap(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), SCH_IO_KICAD_SEXPR::saveBitmap(), SCH_IO_KICAD_SEXPR::saveBusEntry(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), SCH_IO_KICAD_SEXPR::saveGroup(), SCH_IO_KICAD_SEXPR::saveJunction(), SCH_IO_KICAD_SEXPR::saveLine(), SCH_IO_KICAD_SEXPR::saveNoConnect(), SCH_EDIT_FRAME::SaveProject(), SCH_IO_KICAD_SEXPR::saveShape(), SCH_IO_KICAD_LEGACY::saveSheet(), SCH_IO_KICAD_SEXPR::saveSheet(), SCH_IO_KICAD_LEGACY::saveSymbol(), SCH_IO_KICAD_SEXPR::saveSymbol(), SCH_IO_KICAD_SEXPR::saveTable(), SCH_IO_KICAD_SEXPR::saveText(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_PIN::SCH_PIN(), SCH_REFERENCE::SCH_REFERENCE(), SCH_SHEET::SCH_SHEET(), SCH_SYMBOL::SCH_SYMBOL(), FOOTPRINT::Serialize(), PAD::Serialize(), PCB_ARC::Serialize(), PCB_BARCODE::Serialize(), PCB_CONSTRAINT::Serialize(), PCB_DIMENSION_BASE::Serialize(), PCB_DRILL_MAP::Serialize(), PCB_GRID_ITEM::Serialize(), PCB_GROUP::Serialize(), PCB_POINT::Serialize(), PCB_REFERENCE_IMAGE::Serialize(), PCB_SHAPE::Serialize(), PCB_TABLE::Serialize(), PCB_TEXT::Serialize(), PCB_TEXTBOX::Serialize(), PCB_TRACK::Serialize(), PCB_VIA::Serialize(), SCH_BITMAP::Serialize(), SCH_BUS_ENTRY_BASE::Serialize(), SCH_GLOBALLABEL::Serialize(), SCH_GROUP::Serialize(), SCH_JUNCTION::Serialize(), SCH_LINE::Serialize(), SCH_NO_CONNECT::Serialize(), SCH_PIN::Serialize(), SCH_RULE_AREA::Serialize(), SCH_SHAPE::Serialize(), SCH_SHEET::Serialize(), SCH_SHEET_PIN::Serialize(), SCH_SYMBOL::Serialize(), SCH_TABLE::Serialize(), SCH_TEXT::Serialize(), SCH_TEXTBOX::Serialize(), ZONE::Serialize(), PAD::SetAttribute(), PCB_VIA::SetBottomLayer(), SetDimensionValueMode(), RC_ITEM::SetItems(), BOARD_CONNECTED_ITEM::SetLayer(), PCB_VIA::SetLayerPair(), PAD::SetLayerSet(), BOARD_CONNECTED_ITEM::SetNetCode(), SCH_EDITOR_CONTROL::setPastedSymbolInstances(), CONSTRAINT_EDIT_TOOL::setSelectedConstraint(), SCHEMATIC::SetSheetNumberAndCount(), TEARDROP_MANAGER::setTeardropPriorities(), NETINFO_ITEM::SetTerminal(), PCB_VIA::SetTopLayer(), BOARD_ITEM::SetUuid(), BOARD_ITEM::SetUuidDirect(), LIB_SYMBOL::Similarity(), PAD::Similarity(), PCB_DIMENSION_BASE::Similarity(), PCB_FIELD::Similarity(), SCH_BITMAP::Similarity(), SCH_BUS_ENTRY_BASE::Similarity(), SCH_FIELD::Similarity(), SCH_JUNCTION::Similarity(), SCH_LABEL_BASE::Similarity(), SCH_LINE::Similarity(), SCH_NO_CONNECT::Similarity(), SCH_PIN::Similarity(), SCH_SHAPE::Similarity(), SCH_TEXT::Similarity(), SCH_TEXTBOX::Similarity(), SCH_DRAWING_TOOLS::SingleClickPlace(), SCH_SHEET_LIST::SortByHierarchicalPageNumbers(), stableDriverIdentity(), SCH_SYMBOL::SyncOtherUnits(), SCH_SHEET::SyncUuidToScreen(), TEARDROP_MANAGER::teardropUuid(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testGraphicClearances(), testGroupEqual(), DRC_TEST_PROVIDER_HOLE_TO_HOLE::testHoleAgainstHole(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadClearances(), ERC_TESTER::TestSameLocalGlobalLabel(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testSingleLayerItemAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackClearances(), ToProto(), DIALOG_LABEL_PROPERTIES::TransferDataFromWindow(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), unpackLabel(), NET_CHAIN_MENU::update(), REPLACE_TERMINAL_PAD_MENU::update(), CONSTRAINT_EDIT_TOOL::updateConstraintMsgPanel(), BOARD_NETLIST_UPDATER::updateFootprintGroup(), PCB_POINT_EDITOR::updateItem(), PCB_CONTROL::UpdateMessagePanel(), PL_EDITOR_CONTROL::UpdateMessagePanel(), SCH_INSPECTION_TOOL::UpdateMessagePanel(), BOARD_NETLIST_UPDATER::UpdateNetlist(), SCH_EDITOR_CONTROL::updatePastedSheet(), SCH_EDITOR_CONTROL::updatePastedSymbol(), SCH_API_SAVE::UpdateProjectFile(), BOARD::UpdateRatsnestExclusions(), DIALOG_FOOTPRINT_FIELDS_TABLE::updateSelectionItems(), DIALOG_SYMBOL_FIELDS_TABLE::updateSelectionItems(), SCH_SHEET_LIST::UpdateSymbolInstanceData(), PCB_DIMENSION_BASE::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), NETLIST_EXPORTER_CADSTAR::writeNetlist(), NETLIST_EXPORTER_ORCADPCB2::writeNetlist(), and NETLIST_EXPORTER_PADS::writeNetlist().
|
privateinherited |
Definition at line 205 of file view_item.h.
Referenced by KIGFX::VIEW::Add(), KIGFX::VIEW::OnDestroy(), KIGFX::VIEW::unlinkItem(), KIGFX::VIEW::updateBbox(), KIGFX::VIEW::updateLayers(), VIEW_ITEM(), viewPrivData(), and ~VIEW_ITEM().
|
privateinherited |
Definition at line 532 of file eda_text.h.
Referenced by EDA_TEXT(), EDA_TEXT(), IsVisible(), operator=(), and SetVisible().
|
staticinherited |
A value of wxPoint(0,0) which can be passed to the Draw() functions.
Definition at line 232 of file board_item.h.
Referenced by BOARD::GetPosition().