pcb 4.1.1
An interactive printed circuit board layout editor.

insert.h File Reference

Prototypes for inserting points into objects. More...

#include "global.h"
Include dependency graph for insert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INSERT_TYPES   (POLYGON_TYPE | LINE_TYPE | RATLINE_TYPE)

Functions

void * InsertPointIntoObject (int, void *, void *, Cardinal *, Coord, Coord, bool, bool)
 Inserts point into objects.
PointTypeAdjustInsertPoint (void)
 Adjusts the insert point to make 45 degree lines as necessary.

Detailed Description

Prototypes for inserting points into objects.


Copyright.


PCB, interactive printed circuit board design Copyright (C) 1994,1995,1996 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 insert.h.


Define Documentation

#define INSERT_TYPES   (POLYGON_TYPE | LINE_TYPE | RATLINE_TYPE)

Definition at line 38 of file insert.h.

Referenced by NotifyMode().


Function Documentation

void* InsertPointIntoObject ( int  ,
void *  ,
void *  ,
Cardinal ,
Coord  ,
Coord  ,
bool  ,
bool   
)

Inserts point into objects.

Definition at line 215 of file insert.c.

References Forcible, IncrementUndoSerialNumber(), InsertAt, InsertLast, InsertX, InsertY, ObjectOperation(), and ptr.

Referenced by NotifyMode(), and UndoRemovePoint().

Here is the call graph for this function: