pcb 4.1.1
An interactive printed circuit board layout editor.
|
Functions used to change object properties. More...
#include <stdlib.h>
#include <stdio.h>
#include "global.h"
#include "change.h"
#include "create.h"
#include "crosshair.h"
#include "data.h"
#include "draw.h"
#include "error.h"
#include "mymem.h"
#include "misc.h"
#include "mirror.h"
#include "polygon.h"
#include "rats.h"
#include "remove.h"
#include "rtree.h"
#include "search.h"
#include "select.h"
#include "set.h"
#include "thermal.h"
#include "undo.h"
Go to the source code of this file.
Functions | |
static void * | ChangePinSize (ElementType *Element, PinType *Pin) |
Changes the size of a pin. | |
static void * | ChangePinClearSize (ElementType *Element, PinType *Pin) |
Changes the clearance size of a pin. | |
static void * | ChangePinMaskSize (ElementType *Element, PinType *Pin) |
Changes the mask size of a pin. | |
static void * | ChangePadSize (ElementType *Element, PadType *Pad) |
Changes the size of a pad. | |
static void * | ChangePadClearSize (ElementType *Element, PadType *Pad) |
Changes the clearance size of a pad. | |
static void * | ChangePadMaskSize (ElementType *Element, PadType *Pad) |
Changes the mask size of a pad. | |
static void * | ChangePin2ndSize (ElementType *Element, PinType *Pin) |
Changes the drilling hole of a pin. | |
static void * | ChangeElement2ndSize (ElementType *Element) |
Changes the drilling hole of all pins of an element. | |
static void * | ChangeViaSize (PinType *Via) |
Changes the size of a via. | |
static void * | ChangeVia2ndSize (PinType *Via) |
Changes the drilling hole of a via. | |
static void * | ChangeViaClearSize (PinType *Via) |
Changes the clearance size of a via. | |
static void * | ChangeViaMaskSize (PinType *Via) |
Changes the mask size of a via. | |
static void * | ChangeLineSize (LayerType *Layer, LineType *Line) |
Changes the size of a line. | |
static void * | ChangeLineClearSize (LayerType *Layer, LineType *Line) |
Changes the clearance size of a line. | |
static void * | ChangePolygonClearSize (LayerType *Layer, PolygonType *poly) |
Handle attempts to change the clearance of a polygon. | |
static void * | ChangeArcSize (LayerType *Layer, ArcType *Arc) |
Changes the size of an arc. | |
static void * | ChangeArcClearSize (LayerType *Layer, ArcType *Arc) |
Changes the clearance size of an arc. | |
static void * | ChangeTextSize (LayerType *Layer, TextType *Text) |
Changes the scaling factor of a text object. | |
static void * | ChangeElementSize (ElementType *Element) |
Changes the scaling factor of an element's outline. | |
static void * | ChangeElementNameSize (ElementType *Element) |
Changes the scaling factor of a elementname object. | |
static void * | ChangePinName (ElementType *Element, PinType *Pin) |
Changes the name of a pin. | |
static void * | ChangePadName (ElementType *Element, PadType *Pad) |
Changes the name of a pad. | |
static void * | ChangeViaName (PinType *Via) |
Changes the name of a via. | |
static void * | ChangeLineName (LayerType *Layer, LineType *Line) |
Changes the name of a line. | |
static void * | ChangeElementName (ElementType *) |
static void * | ChangeTextName (LayerType *Layer, TextType *Text) |
Sets data of a text object and calculates bounding box. | |
static void * | ChangeElementSquare (ElementType *Element) |
Changes the square flag of all pins on an element. | |
static void * | SetElementSquare (ElementType *Element) |
Sets the square flag of all pins on an element. | |
static void * | ClrElementSquare (ElementType *Element) |
Clears the square flag of all pins on an element. | |
static void * | ChangeElementOctagon (ElementType *Element) |
Changes the octagon flags of all pins of an element. | |
static void * | SetElementOctagon (ElementType *Element) |
Sets the octagon flags of all pins of an element. | |
static void * | ClrElementOctagon (ElementType *Element) |
Clears the octagon flags of all pins of an element. | |
static void * | ChangePinSquare (ElementType *Element, PinType *Pin) |
Changes the square flag of a pin. | |
static void * | SetPinSquare (ElementType *Element, PinType *Pin) |
Sets the square flag of a pin. | |
static void * | ClrPinSquare (ElementType *Element, PinType *Pin) |
Clears the square flag of a pin. | |
static void * | ChangePinOctagon (ElementType *Element, PinType *Pin) |
Changes the octagon flag of a pin. | |
static void * | SetPinOctagon (ElementType *Element, PinType *Pin) |
Sets the octagon flag of a pin. | |
static void * | ClrPinOctagon (ElementType *Element, PinType *Pin) |
Clears the octagon flag of a pin. | |
static void * | ChangeViaOctagon (PinType *Via) |
Changes the octagon flag of a via. | |
static void * | SetViaOctagon (PinType *Via) |
Sets the octagon flag of a via. | |
static void * | ClrViaOctagon (PinType *Via) |
Clears the octagon flag of a via. | |
static void * | ChangePadSquare (ElementType *Element, PadType *Pad) |
Changes the square flag of a pad. | |
static void * | SetPadSquare (ElementType *Element, PadType *Pad) |
Sets the square flag of a pad. | |
static void * | ClrPadSquare (ElementType *Element, PadType *Pad) |
Clears the square flag of a pad. | |
static void * | ChangeViaThermal (PinType *Via) |
Changes the thermal on a via. | |
static void * | ChangePinThermal (ElementType *element, PinType *Pin) |
Changes the thermal on a pin. | |
static void * | ChangeLineJoin (LayerType *Layer, LineType *Line) |
Changes the clearance flag of a line. | |
static void * | SetLineJoin (LayerType *Layer, LineType *Line) |
Sets the clearance flag of a line. | |
static void * | ClrLineJoin (LayerType *Layer, LineType *Line) |
Clears the clearance flag of a line. | |
static void * | ChangeArcJoin (LayerType *Layer, ArcType *Arc) |
Changes the clearance flag of an arc. | |
static void * | SetArcJoin (LayerType *Layer, ArcType *Arc) |
Sets the clearance flag of an arc. | |
static void * | ClrArcJoin (LayerType *Layer, ArcType *Arc) |
Clears the clearance flag of an arc. | |
static void * | ChangeTextJoin (LayerType *Layer, TextType *Text) |
Changes the clearance flag of a text. | |
static void * | SetTextJoin (LayerType *Layer, TextType *Text) |
Sets the clearance flag of a text. | |
static void * | ClrTextJoin (LayerType *Layer, TextType *Text) |
Clears the clearance flag of a text. | |
static void * | ChangePolyClear (LayerType *Layer, PolygonType *Polygon) |
Changes the CLEARPOLY flag of a polygon. | |
char * | ChangeElementText (PCBType *pcb, DataType *data, ElementType *Element, int which, char *new_name) |
Changes the layout-name of an element. | |
bool | ChangeLayoutName (char *Name) |
Changes the name of a layout; memory has to be already allocated. | |
bool | ChangeElementSide (ElementType *Element, Coord yoff) |
Changes the side of the board an element is on. | |
bool | ChangeLayerName (LayerType *Layer, char *Name) |
Changes the name of a layer; memory has to be already allocated. | |
bool | ChangeHole (PinType *Via) |
Changes the hole flag of a via. | |
bool | ChangePaste (PadType *Pad) |
Changes the nopaste flag of a pad. | |
bool | ChangeSelectedElementSide (void) |
Changes the side of all selected and visible elements. | |
bool | ChangeSelectedThermals (int types, int therm_style) |
Changes the thermals on all selected and visible pins and/or vias. | |
bool | ChangeSelectedViaLayers (int from, int to) |
Changes the thermals on all selected and visible pins and/or vias. | |
bool | ChangeSelectedSize (int types, Coord Difference, bool fixIt) |
Changes the size of all selected and visible object types. | |
bool | ChangeSelectedClearSize (int types, Coord Difference, bool fixIt) |
Changes the clearance size of all selected and visible objects. | |
bool | ChangeSelected2ndSize (int types, Coord Difference, bool fixIt) |
Changes the 2nd size (drilling hole) of all selected and visible objects. | |
bool | ChangeSelectedJoin (int types) |
Changes the clearance flag (join) of all selected and visible lines and/or arcs. | |
bool | SetSelectedJoin (int types) |
Changes the clearance flag (join) of all selected and visible lines and/or arcs. | |
bool | ClrSelectedJoin (int types) |
Changes the clearance flag (join) of all selected and visible lines and/or arcs. | |
bool | ChangeSelectedSquare (int types) |
Changes the square-flag of all selected and visible pins or pads. | |
bool | SetSelectedSquare (int types) |
Sets the square-flag of all selected and visible pins or pads. | |
bool | ClrSelectedSquare (int types) |
Clears the square-flag of all selected and visible pins or pads. | |
bool | ChangeSelectedOctagon (int types) |
Changes the octagon-flag of all selected and visible pins and vias. | |
bool | SetSelectedOctagon (int types) |
Sets the octagon-flag of all selected and visible pins and vias. | |
bool | ClrSelectedOctagon (int types) |
Clears the octagon-flag of all selected and visible pins and vias. | |
bool | ChangeSelectedHole (void) |
Changes the hole-flag of all selected and visible vias. | |
bool | ChangeSelectedPaste (void) |
Changes the no paste-flag of all selected and visible pads. | |
bool | ChangeObjectSize (int Type, void *Ptr1, void *Ptr2, void *Ptr3, Coord Difference, bool fixIt) |
Changes the size of the passed object. | |
bool | ChangeObjectClearSize (int Type, void *Ptr1, void *Ptr2, void *Ptr3, Coord Difference, bool fixIt) |
Changes the clearance size of the passed object. | |
bool | ChangeObjectThermal (int Type, void *Ptr1, void *Ptr2, void *Ptr3, int therm_type) |
Changes the thermal of the passed object. | |
bool | ChangeObjectViaLayers (void *Ptr1, void *Ptr2, void *Ptr3, int from, int to) |
Changes the thermal of the passed object. | |
bool | ChangeObject2ndSize (int Type, void *Ptr1, void *Ptr2, void *Ptr3, Coord Difference, bool fixIt, bool incundo) |
Changes the 2nd size of the passed object. | |
bool | ChangeObjectMaskSize (int Type, void *Ptr1, void *Ptr2, void *Ptr3, Coord Difference, bool fixIt) |
Changes the mask size of the passed object. | |
void * | ChangeObjectName (int Type, void *Ptr1, void *Ptr2, void *Ptr3, char *Name) |
Changes the name of the passed object. | |
bool | ChangeObjectJoin (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Changes the clearance-flag of the passed object. | |
bool | SetObjectJoin (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Sets the clearance-flag of the passed object. | |
bool | ClrObjectJoin (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Clears the clearance-flag of the passed object. | |
bool | ChangeObjectSquare (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Changes the square-flag of the passed object. | |
bool | SetObjectSquare (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Sets the square-flag of the passed object. | |
bool | ClrObjectSquare (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Clears the square-flag of the passed object. | |
bool | ChangeObjectOctagon (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Changes the octagon-flag of the passed object. | |
bool | SetObjectOctagon (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Sets the octagon-flag of the passed object. | |
bool | ClrObjectOctagon (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
Clears the octagon-flag of the passed object. | |
void * | QueryInputAndChangeObjectName (int Type, void *Ptr1, void *Ptr2, void *Ptr3) |
void | ChangePCBSize (Coord Width, Coord Height) |
Changes the maximum size of a layout, adjusts the scrollbars, releases the saved pixmap if necessary and adjusts the cursor confinement box. | |
Variables | |
static int | Delta |
static int | Absolute |
static char * | NewName |
static ObjectFunctionType | ChangeSizeFunctions |
static ObjectFunctionType | Change2ndSizeFunctions |
static ObjectFunctionType | ChangeThermalFunctions |
static ObjectFunctionType | ChangeClearSizeFunctions |
static ObjectFunctionType | ChangeNameFunctions |
static ObjectFunctionType | ChangeSquareFunctions |
static ObjectFunctionType | ChangeJoinFunctions |
static ObjectFunctionType | ChangeOctagonFunctions |
static ObjectFunctionType | ChangeMaskSizeFunctions |
static ObjectFunctionType | SetSquareFunctions |
static ObjectFunctionType | SetJoinFunctions |
static ObjectFunctionType | SetOctagonFunctions |
static ObjectFunctionType | ClrSquareFunctions |
static ObjectFunctionType | ClrJoinFunctions |
static ObjectFunctionType | ClrOctagonFunctions |
Functions used to change object properties.
PCB, interactive printed circuit board design
Copyright (C) 1994,1995,1996, 2005 Thomas Nau
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Contact addresses for paper mail and Email: Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany Thomas.Nau@rz.uni-ulm.de
Definition in file change.c.
Changes the clearance size of an arc.
Definition at line 818 of file change.c.
References Absolute, AddObjectToClearSizeUndoList(), LayerType::arc_tree, PCBType::Bloat, CLEAR_FLAG, ArcType::Clearance, ClearFromPolygon(), PCBType::Data, Delta, DrawArc(), EraseArc(), MAX, MIL_TO_COORD, MIN, PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetArcBoundingBox(), and TEST_FLAG.
Changes the clearance flag of an arc.
Definition at line 1205 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ClearFromPolygon(), PCBType::Data, DrawArc(), EraseArc(), PCB, RestoreToPolygon(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ClrArcJoin(), and SetArcJoin().
Changes the size of an arc.
Definition at line 789 of file change.c.
References Absolute, AddObjectToSizeUndoList(), LayerType::arc_tree, ClearFromPolygon(), PCBType::Data, Delta, DrawArc(), EraseArc(), PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetArcBoundingBox(), TEST_FLAG, and ArcType::Thickness.
static void * ChangeElement2ndSize | ( | ElementType * | Element | ) | [static] |
Changes the drilling hole of all pins of an element.
Definition at line 628 of file change.c.
References Absolute, AddObjectTo2ndSizeUndoList(), AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawPin(), pin_st::DrillingHole, END_LOOP, ErasePin(), PCB, pin, PIN_LOOP, RestoreToPolygon(), TEST_FLAG, and pin_st::Thickness.
static void * ChangeElementName | ( | ElementType * | Element | ) | [static] |
Definition at line 1066 of file change.c.
References _, ChangeElementText(), PCBType::Data, Message(), ElementType::Name, NAME_INDEX, NAMEONPCB_INDEX, NewName, PCB, TEST_FLAG, and UniqueElementName().
static void * ChangeElementNameSize | ( | ElementType * | Element | ) | [static] |
Changes the scaling factor of a elementname object.
Definition at line 931 of file change.c.
References Absolute, AddObjectToSizeUndoList(), PCBType::Data, Delta, DESCRIPTION_TEXT, DrawElementName(), ELEMENTTEXT_LOOP, END_LOOP, EraseElementName(), PCBType::Font, n, ElementType::Name, DataType::name_tree, PCB, r_delete_entry(), r_insert_entry(), SetTextBoundingBox(), and TEST_FLAG.
static void * ChangeElementOctagon | ( | ElementType * | Element | ) | [static] |
bool ChangeElementSide | ( | ElementType * | Element, |
Coord | yoff | ||
) |
Changes the side of the board an element is on.
Definition at line 1130 of file change.c.
References AddObjectToMirrorUndoList(), PCBType::Data, DrawElement(), EraseElement(), MirrorElementCoordinates(), PCB, and TEST_FLAG.
Referenced by ActionFlip(), and ChangeSelectedElementSide().
static void * ChangeElementSize | ( | ElementType * | Element | ) | [static] |
Changes the scaling factor of an element's outline.
Definition at line 883 of file change.c.
References Absolute, AddObjectToSizeUndoList(), ARC_LOOP, Delta, DrawElement(), ELEMENTLINE_LOOP, PCBType::ElementOn, END_LOOP, EraseElement(), line, PCB, and TEST_FLAG.
static void * ChangeElementSquare | ( | ElementType * | Element | ) | [static] |
Changes the square flag of all pins on an element.
Definition at line 1299 of file change.c.
References ChangePadSquare(), ChangePinSquare(), END_LOOP, PAD_LOOP, pin, PIN_LOOP, and TEST_FLAG.
char* ChangeElementText | ( | PCBType * | pcb, |
DataType * | data, | ||
ElementType * | Element, | ||
int | which, | ||
char * | new_name | ||
) |
Changes the layout-name of an element.
Change the specified text on an element, either on the board (give PCB, PCB->Data) or in a buffer (give NULL, Buffer->Data).
Definition at line 1039 of file change.c.
References DrawElementName(), EraseElementName(), PCBType::Font, ElementType::Name, NAME_INDEX, DataType::name_tree, PCB, r_delete_entry(), r_insert_entry(), SetTextBoundingBox(), and TextType::TextString.
Referenced by ActionElementList(), and ChangeElementName().
bool ChangeHole | ( | PinType * | Via | ) |
Changes the hole flag of a via.
Definition at line 1601 of file change.c.
References AddObjectToFlagUndoList(), AddObjectToMaskSizeUndoList(), ClearFromPolygon(), PCBType::Data, Draw(), DrawVia(), EraseVia(), PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetPinBoundingBox(), TEST_FLAG, TOGGLE_FLAG, and DataType::via_tree.
Referenced by ActionChangeHole(), and ChangeSelectedHole().
bool ChangeLayerName | ( | LayerType * | Layer, |
char * | Name | ||
) |
Changes the name of a layer; memory has to be already allocated.
Definition at line 1146 of file change.c.
References CURRENT, and hid_action().
Referenced by ActionChangeName().
bool ChangeLayoutName | ( | char * | Name | ) |
Changes the name of a layout; memory has to be already allocated.
Definition at line 1116 of file change.c.
References hid_action(), PCBType::Name, and PCB.
Referenced by ActionChangeName().
Changes the clearance size of a line.
Definition at line 735 of file change.c.
References Absolute, AddObjectToClearSizeUndoList(), PCBType::Bloat, CLEAR_FLAG, ClearFromPolygon(), PCBType::Data, Delta, DrawLine(), EraseLine(), LayerType::line_tree, MAX, MIL_TO_COORD, MIN, PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetLineBoundingBox(), and TEST_FLAG.
Changes the clearance flag of a line.
Definition at line 1158 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ClearFromPolygon(), PCBType::Data, DrawLine(), EraseLine(), PCB, RestoreToPolygon(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ClrLineJoin(), and SetLineJoin().
Changes the name of a line.
Definition at line 1020 of file change.c.
References NewName, and LineType::Number.
Changes the size of a line.
Definition at line 706 of file change.c.
References Absolute, AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawLine(), EraseLine(), LayerType::line_tree, PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetLineBoundingBox(), and TEST_FLAG.
bool ChangeObject2ndSize | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3, | ||
Coord | Difference, | ||
bool | fixIt, | ||
bool | incundo | ||
) |
Changes the 2nd size of the passed object.
Definition at line 2232 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionChange2ndSize(), and apply_vendor_map().
bool ChangeObjectClearSize | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3, | ||
Coord | Difference, | ||
bool | fixIt | ||
) |
Changes the clearance size of the passed object.
Definition at line 2116 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), ObjectOperation(), PCB, and TEST_FLAG.
Referenced by ActionChangeClearSize(), and ActionMinClearGap().
bool ChangeObjectJoin | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Changes the clearance-flag of the passed object.
Definition at line 2302 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionChangeJoin().
bool ChangeObjectMaskSize | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3, | ||
Coord | Difference, | ||
bool | fixIt | ||
) |
Changes the mask size of the passed object.
Definition at line 2258 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionMinMaskGap().
void* ChangeObjectName | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3, | ||
char * | Name | ||
) |
Changes the name of the passed object.
Definition at line 2286 of file change.c.
References Draw(), NewName, and ObjectOperation().
Referenced by ActionRenumber(), QueryInputAndChangeObjectName(), renumber_block(), renumber_buffer(), and UndoChangeName().
bool ChangeObjectOctagon | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Changes the octagon-flag of the passed object.
Definition at line 2405 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionChangeOctagon().
bool ChangeObjectSize | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3, | ||
Coord | Difference, | ||
bool | fixIt | ||
) |
Changes the size of the passed object.
Definition at line 2092 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionChangeSize().
bool ChangeObjectSquare | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Changes the square-flag of the passed object.
Definition at line 2353 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionChangeSquare().
bool ChangeObjectThermal | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3, | ||
int | therm_type | ||
) |
Changes the thermal of the passed object.
Definition at line 2147 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionSetThermal(), and NotifyMode().
bool ChangeObjectViaLayers | ( | void * | Ptr1, |
void * | Ptr2, | ||
void * | Ptr3, | ||
int | from, | ||
int | to | ||
) |
Changes the thermal of the passed object.
Definition at line 2171 of file change.c.
References AddObjectToSetViaLayersUndoList(), pin_st::BuriedFrom, pin_st::BuriedTo, ClearFromPolygon(), PCBType::Data, Draw(), DrawVia(), GetMaxBottomLayer(), IncrementUndoSerialNumber(), DataType::Layer, max_copper_layer, PCB, RestoreToPolygon(), SanitizeBuriedVia(), TEST_FLAG, and VIA_IS_BURIED.
Referenced by ActionSetViaLayers().
static void * ChangePadClearSize | ( | ElementType * | Element, |
PadType * | Pad | ||
) | [static] |
Changes the clearance size of a pad.
Definition at line 595 of file change.c.
References Absolute, AddObjectToClearSizeUndoList(), PCBType::Bloat, Bloat, ClearFromPolygon(), PCBType::Data, Delta, DrawPad(), ErasePad(), PCBType::Font, MIN, DataType::pad_tree, PCB, r_delete_entry(), RestoreToPolygon(), SetElementBoundingBox(), and TEST_FLAG.
static void * ChangePadMaskSize | ( | ElementType * | Element, |
PadType * | Pad | ||
) | [static] |
Changes the mask size of a pad.
Definition at line 2537 of file change.c.
References Absolute, AddObjectToMaskSizeUndoList(), PCBType::Data, Delta, DrawPad(), ErasePad(), PCBType::Font, pad_st::Mask, MAX, DataType::pad_tree, PCB, r_delete_entry(), and SetElementBoundingBox().
static void * ChangePadName | ( | ElementType * | Element, |
PadType * | Pad | ||
) | [static] |
Changes the name of a pad.
Definition at line 1000 of file change.c.
References DrawPadName(), ErasePadName(), pad_st::Name, NewName, and TEST_FLAG.
static void * ChangePadSize | ( | ElementType * | Element, |
PadType * | Pad | ||
) | [static] |
Changes the size of a pad.
Definition at line 565 of file change.c.
References Absolute, AddObjectToMaskSizeUndoList(), AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawPad(), ErasePad(), PCBType::Font, pad_st::Mask, DataType::pad_tree, PCB, r_delete_entry(), RestoreToPolygon(), SetElementBoundingBox(), and TEST_FLAG.
static void * ChangePadSquare | ( | ElementType * | Element, |
PadType * | Pad | ||
) | [static] |
Changes the square flag of a pad.
Definition at line 1425 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ClearFromPolygon(), PCBType::Data, DrawPad(), ErasePad(), PCB, RestoreToPolygon(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ChangeElementSquare(), ClrPadSquare(), and SetPadSquare().
bool ChangePaste | ( | PadType * | Pad | ) |
Changes the nopaste flag of a pad.
Definition at line 1644 of file change.c.
References AddObjectToFlagUndoList(), Draw(), DrawPad(), ErasePad(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ActionChangePaste(), and ChangeSelectedPaste().
Changes the maximum size of a layout, adjusts the scrollbars, releases the saved pixmap if necessary and adjusts the cursor confinement box.
Definition at line 2524 of file change.c.
References hid_action(), PCBType::MaxHeight, PCBType::MaxWidth, and PCB.
Referenced by config_sizes_apply(), and real_load_pcb().
static void * ChangePin2ndSize | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Changes the drilling hole of a pin.
Definition at line 672 of file change.c.
References Absolute, AddObjectTo2ndSizeUndoList(), AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawPin(), pin_st::DrillingHole, ErasePin(), PCB, RestoreToPolygon(), TEST_FLAG, and pin_st::Thickness.
static void * ChangePinClearSize | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Changes the clearance size of a pin.
Definition at line 532 of file change.c.
References Absolute, AddObjectToClearSizeUndoList(), PCBType::Bloat, Bloat, pin_st::Clearance, ClearFromPolygon(), PCBType::Data, Delta, DrawPin(), ErasePin(), PCBType::Font, MIN, PCB, DataType::pin_tree, r_delete_entry(), RestoreToPolygon(), SetElementBoundingBox(), and TEST_FLAG.
static void * ChangePinMaskSize | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Changes the mask size of a pin.
Definition at line 2563 of file change.c.
References Absolute, AddObjectToMaskSizeUndoList(), PCBType::Data, Delta, DrawPin(), ErasePin(), PCBType::Font, pin_st::Mask, MAX, PCB, DataType::pin_tree, r_delete_entry(), SetElementBoundingBox(), and pin_st::Thickness.
static void * ChangePinName | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Changes the name of a pin.
Definition at line 980 of file change.c.
References DrawPinName(), ErasePinName(), pin_st::Name, NewName, and TEST_FLAG.
static void * ChangePinOctagon | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Changes the octagon flag of a pin.
Definition at line 1558 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ClearFromPolygon(), PCBType::Data, DrawPin(), ErasePin(), PCB, RestoreToPolygon(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ChangeElementOctagon(), ClrPinOctagon(), and SetPinOctagon().
static void * ChangePinSize | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Changes the size of a pin.
Definition at line 499 of file change.c.
References Absolute, AddObjectToMaskSizeUndoList(), AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawPin(), pin_st::DrillingHole, ErasePin(), PCBType::Font, pin_st::Mask, PCB, DataType::pin_tree, r_delete_entry(), RestoreToPolygon(), SetElementBoundingBox(), TEST_FLAG, and pin_st::Thickness.
static void * ChangePinSquare | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Changes the square flag of a pin.
Definition at line 1472 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ClearFromPolygon(), PCBType::Data, DrawPin(), ErasePin(), PCB, RestoreToPolygon(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ChangeElementSquare(), ClrPinSquare(), and SetPinSquare().
static void * ChangePinThermal | ( | ElementType * | element, |
PinType * | Pin | ||
) | [static] |
Changes the thermal on a pin.
Definition at line 373 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ASSIGN_THERM, CLEAR_THERM, ClearFromPolygon(), CURRENT, PCBType::Data, Delta, DrawPin(), INDEXOFCURRENT, PCB, and RestoreToPolygon().
static void * ChangePolyClear | ( | LayerType * | Layer, |
PolygonType * | Polygon | ||
) | [static] |
Changes the CLEARPOLY flag of a polygon.
Definition at line 1660 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), PCBType::Data, DrawPolygon(), InitClip(), PCB, TEST_FLAG, and TOGGLE_FLAG.
static void * ChangePolygonClearSize | ( | LayerType * | Layer, |
PolygonType * | poly | ||
) | [static] |
Handle attempts to change the clearance of a polygon.
Definition at line 767 of file change.c.
References _, hid_st::confirm_dialog, and gui.
bool ChangeSelected2ndSize | ( | int | types, |
Coord | Difference, | ||
bool | fixIt | ||
) |
Changes the 2nd size (drilling hole) of all selected and visible objects.
Definition at line 1841 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionChange2ndSize().
bool ChangeSelectedClearSize | ( | int | types, |
Coord | Difference, | ||
bool | fixIt | ||
) |
Changes the clearance size of all selected and visible objects.
Definition at line 1815 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), PCB, SelectedOperation(), and TEST_FLAG.
Referenced by ActionChangeClearSize().
bool ChangeSelectedElementSide | ( | void | ) |
Changes the side of all selected and visible elements.
Definition at line 1678 of file change.c.
References ChangeElementSide(), PCBType::Data, Draw(), ELEMENT_LOOP, PCBType::ElementOn, END_LOOP, IncrementUndoSerialNumber(), PCB, PCBType::PinOn, and TEST_FLAG.
Referenced by ActionFlip().
bool ChangeSelectedHole | ( | void | ) |
Changes the hole-flag of all selected and visible vias.
Definition at line 2042 of file change.c.
References ChangeHole(), PCBType::Data, Draw(), END_LOOP, IncrementUndoSerialNumber(), PCB, TEST_FLAG, VIA_LOOP, and PCBType::ViaOn.
Referenced by ActionChangeHole().
bool ChangeSelectedJoin | ( | int | types | ) |
Changes the clearance flag (join) of all selected and visible lines and/or arcs.
Definition at line 1864 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionChangeJoin().
bool ChangeSelectedOctagon | ( | int | types | ) |
Changes the octagon-flag of all selected and visible pins and vias.
Definition at line 1983 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionChangeOctagon().
bool ChangeSelectedPaste | ( | void | ) |
Changes the no paste-flag of all selected and visible pads.
Definition at line 2067 of file change.c.
References ALLPAD_LOOP, ChangePaste(), PCBType::Data, Draw(), ENDALL_LOOP, IncrementUndoSerialNumber(), PCB, and TEST_FLAG.
Referenced by ActionChangePaste().
bool ChangeSelectedSize | ( | int | types, |
Coord | Difference, | ||
bool | fixIt | ||
) |
Changes the size of all selected and visible object types.
Definition at line 1792 of file change.c.
References Absolute, Delta, Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionChangeSize().
bool ChangeSelectedSquare | ( | int | types | ) |
Changes the square-flag of all selected and visible pins or pads.
Definition at line 1924 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionChangeSquare().
bool ChangeSelectedThermals | ( | int | types, |
int | therm_style | ||
) |
Changes the thermals on all selected and visible pins and/or vias.
Definition at line 1707 of file change.c.
References Delta, Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionSetThermal().
bool ChangeSelectedViaLayers | ( | int | from, |
int | to | ||
) |
Changes the thermals on all selected and visible pins and/or vias.
Definition at line 1729 of file change.c.
References AddObjectToSetViaLayersUndoList(), ClearFromPolygon(), PCBType::Data, Draw(), DrawVia(), END_LOOP, GetMaxBottomLayer(), IncrementUndoSerialNumber(), DataType::Layer, max_copper_layer, PCB, RestoreToPolygon(), SanitizeBuriedVia(), TEST_FLAG, VIA_IS_BURIED, and VIA_LOOP.
Referenced by ActionSetViaLayers().
Changes the clearance flag of a text.
Definition at line 1252 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ClearFromPolygon(), PCBType::Data, DrawText(), EraseText(), PCB, RestoreToPolygon(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ClrTextJoin(), and SetTextJoin().
Sets data of a text object and calculates bounding box.
Memory must have already been allocated. The one for the new string is allocated.
Definition at line 1092 of file change.c.
References ClearFromPolygon(), PCBType::Data, DrawText(), EraseText(), PCBType::Font, NewName, PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetTextBoundingBox(), TEST_FLAG, LayerType::text_tree, and TextType::TextString.
Changes the scaling factor of a text object.
Definition at line 852 of file change.c.
References Absolute, AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawText(), EraseText(), PCBType::Font, PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), TextType::Scale, SetTextBoundingBox(), TEST_FLAG, and LayerType::text_tree.
static void * ChangeVia2ndSize | ( | PinType * | Via | ) | [static] |
Changes the drilling hole of a via.
Definition at line 430 of file change.c.
References Absolute, AddObjectTo2ndSizeUndoList(), AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawVia(), pin_st::DrillingHole, EraseVia(), PCB, RestoreToPolygon(), TEST_FLAG, and pin_st::Thickness.
static void * ChangeViaClearSize | ( | PinType * | Via | ) | [static] |
Changes the clearance size of a via.
Definition at line 464 of file change.c.
References Absolute, AddObjectToClearSizeUndoList(), PCBType::Bloat, Bloat, pin_st::Clearance, ClearFromPolygon(), PCBType::Data, Delta, DrawVia(), EraseVia(), MIN, PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetPinBoundingBox(), TEST_FLAG, and DataType::via_tree.
static void * ChangeViaMaskSize | ( | PinType * | Via | ) | [static] |
Changes the mask size of a via.
Definition at line 2589 of file change.c.
References Absolute, AddObjectToMaskSizeUndoList(), PCBType::Data, Delta, DrawVia(), EraseVia(), pin_st::Mask, MAX, PCB, r_delete_entry(), r_insert_entry(), SetPinBoundingBox(), and DataType::via_tree.
static void * ChangeViaName | ( | PinType * | Via | ) | [static] |
Changes the name of a via.
Definition at line 961 of file change.c.
References DrawPinName(), ErasePinName(), pin_st::Name, NewName, and TEST_FLAG.
static void * ChangeViaOctagon | ( | PinType * | Via | ) | [static] |
Changes the octagon flag of a via.
Definition at line 1515 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ClearFromPolygon(), PCBType::Data, DrawVia(), EraseVia(), PCB, RestoreToPolygon(), TEST_FLAG, and TOGGLE_FLAG.
Referenced by ClrViaOctagon(), and SetViaOctagon().
static void * ChangeViaSize | ( | PinType * | Via | ) | [static] |
Changes the size of a via.
Definition at line 394 of file change.c.
References Absolute, AddObjectToMaskSizeUndoList(), AddObjectToSizeUndoList(), ClearFromPolygon(), PCBType::Data, Delta, DrawVia(), pin_st::DrillingHole, EraseVia(), PCB, r_delete_entry(), r_insert_entry(), RestoreToPolygon(), SetPinBoundingBox(), TEST_FLAG, pin_st::Thickness, and DataType::via_tree.
static void * ChangeViaThermal | ( | PinType * | Via | ) | [static] |
Changes the thermal on a via.
Definition at line 352 of file change.c.
References AddObjectToClearPolyUndoList(), AddObjectToFlagUndoList(), ASSIGN_THERM, CLEAR_THERM, ClearFromPolygon(), CURRENT, PCBType::Data, Delta, DrawVia(), INDEXOFCURRENT, PCB, and RestoreToPolygon().
Clears the clearance flag of an arc.
Definition at line 1241 of file change.c.
References ChangeArcJoin(), and TEST_FLAG.
static void * ClrElementOctagon | ( | ElementType * | Element | ) | [static] |
static void * ClrElementSquare | ( | ElementType * | Element | ) | [static] |
Clears the square flag of all pins on an element.
Definition at line 1345 of file change.c.
References ClrPadSquare(), ClrPinSquare(), END_LOOP, PAD_LOOP, pin, PIN_LOOP, and TEST_FLAG.
Clears the clearance flag of a line.
Definition at line 1194 of file change.c.
References ChangeLineJoin(), and TEST_FLAG.
bool ClrObjectJoin | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Clears the clearance-flag of the passed object.
Definition at line 2336 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ChangeFlag().
bool ClrObjectOctagon | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Clears the octagon-flag of the passed object.
Definition at line 2440 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionClearOctagon(), and ChangeFlag().
bool ClrObjectSquare | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Clears the square-flag of the passed object.
Definition at line 2388 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionClearSquare(), and ChangeFlag().
static void * ClrPadSquare | ( | ElementType * | Element, |
PadType * | Pad | ||
) | [static] |
Clears the square flag of a pad.
Definition at line 1458 of file change.c.
References ChangePadSquare(), and TEST_FLAG.
Referenced by ClrElementSquare().
static void * ClrPinOctagon | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Clears the octagon flag of a pin.
Definition at line 1589 of file change.c.
References ChangePinOctagon(), and TEST_FLAG.
Referenced by ClrElementOctagon().
static void * ClrPinSquare | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Clears the square flag of a pin.
Definition at line 1503 of file change.c.
References ChangePinSquare(), and TEST_FLAG.
Referenced by ClrElementSquare().
bool ClrSelectedJoin | ( | int | types | ) |
Changes the clearance flag (join) of all selected and visible lines and/or arcs.
Definition at line 1904 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ChangeFlag().
bool ClrSelectedOctagon | ( | int | types | ) |
Clears the octagon-flag of all selected and visible pins and vias.
Definition at line 2023 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionClearOctagon(), and ChangeFlag().
bool ClrSelectedSquare | ( | int | types | ) |
Clears the square-flag of all selected and visible pins or pads.
Definition at line 1963 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionClearSquare(), and ChangeFlag().
Clears the clearance flag of a text.
Definition at line 1288 of file change.c.
References ChangeTextJoin(), and TEST_FLAG.
static void * ClrViaOctagon | ( | PinType * | Via | ) | [static] |
Clears the octagon flag of a via.
Definition at line 1546 of file change.c.
References ChangeViaOctagon(), and TEST_FLAG.
void* QueryInputAndChangeObjectName | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Queries the user for a new object name and changes it.
Definition at line 2458 of file change.c.
References _, AddObjectToChangeNameUndoList(), ChangeObjectName(), Draw(), ELEMENT_NAME, EMPTY, gui, IncrementUndoSerialNumber(), Number, PCB, and hid_st::prompt_for.
Referenced by ActionChangeName().
Sets the clearance flag of an arc.
Definition at line 1230 of file change.c.
References ChangeArcJoin(), and TEST_FLAG.
static void * SetElementOctagon | ( | ElementType * | Element | ) | [static] |
static void * SetElementSquare | ( | ElementType * | Element | ) | [static] |
Sets the square flag of all pins on an element.
Definition at line 1322 of file change.c.
References END_LOOP, PAD_LOOP, pin, PIN_LOOP, SetPadSquare(), SetPinSquare(), and TEST_FLAG.
Sets the clearance flag of a line.
Definition at line 1183 of file change.c.
References ChangeLineJoin(), and TEST_FLAG.
bool SetObjectJoin | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Sets the clearance-flag of the passed object.
Definition at line 2319 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ChangeFlag().
bool SetObjectOctagon | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Sets the octagon-flag of the passed object.
Definition at line 2423 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionSetOctagon(), and ChangeFlag().
bool SetObjectSquare | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Sets the square-flag of the passed object.
Definition at line 2371 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and ObjectOperation().
Referenced by ActionSetSquare(), and ChangeFlag().
static void * SetPadSquare | ( | ElementType * | Element, |
PadType * | Pad | ||
) | [static] |
Sets the square flag of a pad.
Definition at line 1444 of file change.c.
References ChangePadSquare(), and TEST_FLAG.
Referenced by SetElementSquare().
static void * SetPinOctagon | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Sets the octagon flag of a pin.
Definition at line 1577 of file change.c.
References ChangePinOctagon(), and TEST_FLAG.
Referenced by SetElementOctagon().
static void * SetPinSquare | ( | ElementType * | Element, |
PinType * | Pin | ||
) | [static] |
Sets the square flag of a pin.
Definition at line 1491 of file change.c.
References ChangePinSquare(), and TEST_FLAG.
Referenced by SetElementSquare().
bool SetSelectedJoin | ( | int | types | ) |
Changes the clearance flag (join) of all selected and visible lines and/or arcs.
Definition at line 1884 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ChangeFlag().
bool SetSelectedOctagon | ( | int | types | ) |
Sets the octagon-flag of all selected and visible pins and vias.
Definition at line 2003 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionSetOctagon(), and ChangeFlag().
bool SetSelectedSquare | ( | int | types | ) |
Sets the square-flag of all selected and visible pins or pads.
Definition at line 1943 of file change.c.
References Draw(), IncrementUndoSerialNumber(), and SelectedOperation().
Referenced by ActionSetSquare(), and ChangeFlag().
Sets the clearance flag of a text.
Definition at line 1277 of file change.c.
References ChangeTextJoin(), and TEST_FLAG.
static void * SetViaOctagon | ( | PinType * | Via | ) | [static] |
Sets the octagon flag of a via.
Definition at line 1534 of file change.c.
References ChangeViaOctagon(), and TEST_FLAG.
int Absolute [static] |
Definition at line 129 of file change.c.
Referenced by ChangeArcClearSize(), ChangeArcSize(), ChangeElement2ndSize(), ChangeElementNameSize(), ChangeElementSize(), ChangeLineClearSize(), ChangeLineSize(), ChangeObject2ndSize(), ChangeObjectClearSize(), ChangeObjectMaskSize(), ChangeObjectSize(), ChangeObjectThermal(), ChangePadClearSize(), ChangePadMaskSize(), ChangePadSize(), ChangePin2ndSize(), ChangePinClearSize(), ChangePinMaskSize(), ChangePinSize(), ChangeSelected2ndSize(), ChangeSelectedClearSize(), ChangeSelectedSize(), ChangeTextSize(), ChangeVia2ndSize(), ChangeViaClearSize(), ChangeViaMaskSize(), and ChangeViaSize().
ObjectFunctionType Change2ndSizeFunctions [static] |
{ NULL, NULL, NULL, ChangeVia2ndSize, ChangeElement2ndSize, NULL, ChangePin2ndSize, NULL, NULL, NULL, NULL, NULL }
{ ChangeLineClearSize, NULL, ChangePolygonClearSize, ChangeViaClearSize, NULL, NULL, ChangePinClearSize, ChangePadClearSize, NULL, NULL, ChangeArcClearSize, NULL }
ObjectFunctionType ChangeJoinFunctions [static] |
{ ChangeLineJoin, ChangeTextJoin, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ChangeArcJoin, NULL }
{ NULL, NULL, NULL, ChangeViaMaskSize, NULL, NULL, ChangePinMaskSize, ChangePadMaskSize, NULL, NULL, NULL, NULL }
ObjectFunctionType ChangeNameFunctions [static] |
{ ChangeLineName, ChangeTextName, NULL, ChangeViaName, ChangeElementName, NULL, ChangePinName, ChangePadName, NULL, NULL, NULL, NULL }
ObjectFunctionType ChangeOctagonFunctions [static] |
{ NULL, NULL, NULL, ChangeViaOctagon, ChangeElementOctagon, NULL, ChangePinOctagon, NULL, NULL, NULL, NULL, NULL }
ObjectFunctionType ChangeSizeFunctions [static] |
{ ChangeLineSize, ChangeTextSize, ChangePolyClear, ChangeViaSize, ChangeElementSize, ChangeElementNameSize, ChangePinSize, ChangePadSize, NULL, NULL, ChangeArcSize, NULL }
ObjectFunctionType ChangeSquareFunctions [static] |
{ NULL, NULL, NULL, NULL, ChangeElementSquare, NULL, ChangePinSquare, ChangePadSquare, NULL, NULL, NULL, NULL }
ObjectFunctionType ChangeThermalFunctions [static] |
{ NULL, NULL, NULL, ChangeViaThermal, NULL, NULL, ChangePinThermal, NULL, NULL, NULL, NULL, NULL }
ObjectFunctionType ClrJoinFunctions [static] |
{ ClrLineJoin, ClrTextJoin, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ClrArcJoin, NULL }
ObjectFunctionType ClrOctagonFunctions [static] |
{ NULL, NULL, NULL, ClrViaOctagon, ClrElementOctagon, NULL, ClrPinOctagon, NULL, NULL, NULL, NULL, NULL }
ObjectFunctionType ClrSquareFunctions [static] |
{ NULL, NULL, NULL, NULL, ClrElementSquare, NULL, ClrPinSquare, ClrPadSquare, NULL, NULL, NULL, NULL }
int Delta [static] |
Definition at line 128 of file change.c.
Referenced by ChangeArcClearSize(), ChangeArcSize(), ChangeElement2ndSize(), ChangeElementNameSize(), ChangeElementSize(), ChangeLineClearSize(), ChangeLineSize(), ChangeObject2ndSize(), ChangeObjectClearSize(), ChangeObjectMaskSize(), ChangeObjectSize(), ChangeObjectThermal(), ChangePadClearSize(), ChangePadMaskSize(), ChangePadSize(), ChangePin2ndSize(), ChangePinClearSize(), ChangePinMaskSize(), ChangePinSize(), ChangePinThermal(), ChangeSelected2ndSize(), ChangeSelectedClearSize(), ChangeSelectedSize(), ChangeSelectedThermals(), ChangeTextSize(), ChangeVia2ndSize(), ChangeViaClearSize(), ChangeViaMaskSize(), ChangeViaSize(), ChangeViaThermal(), and maybe_pull_1().
char* NewName [static] |
Definition at line 130 of file change.c.
Referenced by ChangeElementName(), ChangeLineName(), ChangeObjectName(), ChangePadName(), ChangePinName(), ChangeTextName(), and ChangeViaName().
ObjectFunctionType SetJoinFunctions [static] |
{ SetLineJoin, SetTextJoin, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, SetArcJoin, NULL }
ObjectFunctionType SetOctagonFunctions [static] |
{ NULL, NULL, NULL, SetViaOctagon, SetElementOctagon, NULL, SetPinOctagon, NULL, NULL, NULL, NULL, NULL }
ObjectFunctionType SetSquareFunctions [static] |
{ NULL, NULL, NULL, NULL, SetElementSquare, NULL, SetPinSquare, SetPadSquare, NULL, NULL, NULL, NULL }