Skip to content

Commit

Permalink
Remove some debug code
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13327 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 19, 2010
1 parent 57ed537 commit 13d32ee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions src/core/composer/qgscomposerarrow.cpp
Expand Up @@ -48,9 +48,6 @@ void QgsComposerArrow::initGraphicsSettings()
mPen.setColor( QColor( 0, 0, 0 ) );
mPen.setWidthF( 1 );

//setStartMarker( "/home/marco/src/qgis/images/svg/north_arrows/NorthArrow11.svg" );
//setEndMarker( "/home/marco/src/qgis/images/svg/north_arrows/NorthArrow11.svg" );

//set composer item brush and pen to transparent white by default
setPen( QPen( QColor( 255, 255, 255, 0 ) ) );
setBrush( QBrush( QColor( 255, 255, 255, 0 ) ) );
Expand Down
9 changes: 0 additions & 9 deletions src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
Expand Up @@ -233,20 +233,11 @@ void QgsSimpleMarkerSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV
return;
}

//p->setBrush(mBrush);
//p->setPen(mPen);

//p->save();
//p->translate(point);

//drawMarker(p);
//mCache.save("/home/marco/tmp/marker.png","PNG");
QImage &img = context.selected() ? mSelCache : mCache;
double s = img.width() / context.renderContext().rasterScaleFactor();
p->drawImage( QRectF( point.x() - s / 2.0 + context.outputLineWidth( mOffset.x() ),
point.y() - s / 2.0 + context.outputLineWidth( mOffset.y() ),
s, s ), img );
//p->restore();
}


Expand Down
Expand Up @@ -66,12 +66,6 @@ void QgsRasterTerrainAnalysisPlugin::unload()

void QgsRasterTerrainAnalysisPlugin::run()
{
//testcode, remove it after debugging and show a dialog
//QgsRuggednessFilter r("/home/marco/geodaten/raster/albis/mmal25.agr", "/home/marco/tmp/ruggedtest.tif", "GTiff");
//QgsSlopeFilter slopeFilter("/home/marco/geodaten/raster/albis/mmal25.agr", "/home/marco/tmp/ruggedtest.tif", "GTiff");
//QgsAspectFilter aspectFilter("/home/marco/geodaten/raster/albis/mmal25.agr", "/home/marco/tmp/ruggedtest.tif", "GTiff");
//slopeFilter.processRaster(0);

QgsRasterTerrainAnalysisDialog d( mIface );
if ( d.exec() == QDialog::Accepted )
{
Expand Down

0 comments on commit 13d32ee

Please sign in to comment.