~ubuntu-branches/ubuntu/precise/fritzing/precise

« back to all changes in this revision

Viewing changes to src/autoroute/cmrouter/cmrouter.h

  • Committer: Bazaar Package Importer
  • Author(s): Georges Khaznadar
  • Date: 2011-08-26 10:11:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110826101105-w5hmn7zcf93ig5v6
Tags: 0.6.3b-1
* upgrapded to the newer upstream version
* parameters of the function GraphicsUtils::distanceFromLine in 
  src/svg/groundplanegenerator.cpp:767 are now declared as doubles,
  which Closes: #636441
* the new version fixes src/utils/folderutils.cpp, which
  Closes: #636061

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
********************************************************************
20
20
 
21
 
$Revision: 5143 $:
 
21
$Revision: 5308 $:
22
22
$Author: cohen@irascible.com $:
23
 
$Date: 2011-07-01 02:37:01 +0200 (Fri, 01 Jul 2011) $
 
23
$Date: 2011-07-30 21:09:56 +0200 (Sat, 30 Jul 2011) $
24
24
 
25
25
********************************************************************/
26
26
 
191
191
        bool initBoard(ItemBase * board, Plane *, QList<Tile *> & alreadyTiled);
192
192
        Tile * insertTile(Plane* thePlane, QRectF &tileRect, QList<Tile *> &alreadyTiled, QGraphicsItem *, Tile::TileType type, CMRouter::OverlapType);
193
193
        TileRect boardRect();
194
 
        void setKeepout(qreal);
 
194
        void setKeepout(double);
195
195
 
196
196
public:
197
 
    static int realToTile(qreal);
 
197
    static int realToTile(double);
198
198
        static void tileToQRect(Tile * tile, QRectF & rect);
199
199
 
200
200
public slots:
292
292
    class Via * makeVia(PathUnit * pathUnit);
293
293
        bool orderingImproved(Ordering * currentOrdering, Ordering * bestOrdering);
294
294
        ConnectorItem * findViaConnector(ConnectorItem * viaConnectorItem);
295
 
        qreal minWireWidth(CompletePath & completePath);
296
 
        void setUpWidths(qreal width);
 
295
        double minWireWidth(CompletePath & completePath);
 
296
        void setUpWidths(double width);
297
297
        void fixWidths();
298
298
 
299
299
protected:
317
317
        QSet<ConnectorItem *> m_offBoardConnectors;
318
318
        QHash<PathUnit *, TileRect> m_nearestSpaces;
319
319
        bool m_hasOverlaps;
320
 
        qreal m_keepout;
 
320
        double m_keepout;
321
321
        QString m_error;
322
322
};
323
323