[Qgis-user] Fwd: Re: [Qgis-developer] rendercontext-branch
Marco Hugentobler
marco.hugentobler at karto.baug.ethz.ch
Wed Apr 30 11:54:04 PDT 2008
Hi all,
I'd like to merge the rendercontext branch soon. Therefore I'm repeating my
call to test the branch and report comments and bugs.
Regards,
Marco
---------- Weitergeleitete Nachricht ----------
Betreff: Re: [Qgis-developer] rendercontext-branch
Datum: Sonntag 13 April 2008
Von: Marco Hugentobler <marco.hugentobler at karto.baug.ethz.ch>
An: qgis-developer at lists.osgeo.org
Hi all,
Note that the render context branch is now in a stage where it can be tested.
You may check out the branch with:
'svn co https://svn.osgeo.org/qgis/branches/rendercontext-branch
qgis_rendercontext'
Regards,
Marco
>
> On Mon, Apr 7, 2008 at 6:11 PM, Hugentobler Marco
>
> <marco.hugentobler at karto.baug.ethz.ch> wrote:
> > Hi devs,
> >
> > I started a wiki page about the changes in the rendercontext branch:
> > http://wiki.qgis.org/qgiswiki/RenderContextBranch
> >
> > Although the work in the branch is not completely finished, it would be
> > good for me to have some feedback. The most important changes in the
> > branch are:
> >
> > - QgsRenderContext object encapsulates rendering parameters and is
> > passed to all map layers - QgsRenderContext::mRenderingStopped is set to
> > true to notify the layers that rendering was canceled (with esc key or
> > check box) - QgsRenderContext::mScaleFactor allows to scale outline
> > widths and image sizes. This is important to allow QGIS main canvas and
> > print composer output to look the same. QgsMapRender now sets this
> > scaling factor such that units are always mm - Similarly,
> > QgsRenderContext::mRasterScaleFactor allows for different raster
> > resolutions. The problem is that some devices work with pixels as units
> > (e.g. QImage, QPixmap, widgets), but others work with logical units (e.g.
> > QGraphicsView). To allow for a correct resolution, raster layers and
> > point marker images are oversampled by mRasterScaleFactor and scaled down
> > afterwards.
> >
> > Regards,
> > Marco
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> Marco
--
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------------------------------------------------
--
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-user
mailing list