warning C4305: truncation from 'double' to 'float'

Change-Id: I27110c810b1d4d3dd3541625eff861be3e058ef6
This commit is contained in:
Michael Stahl
2012-07-12 20:50:29 +02:00
parent 28d2bb7293
commit 765c7ddf2d

View File

@@ -68,8 +68,8 @@ void TemplateFolderViewItem::Paint (drawinglayer::processor2d::BaseProcessor2D *
if (!maPreview2.IsEmpty())
{
fScaleX = 0.8;
fScaleY = 0.8;
fScaleX = 0.8f;
fScaleY = 0.8f;
aSeq[nCount++] = Primitive2DReference( new FillBitmapPrimitive2D(
createScaleTranslateB2DHomMatrix(fScaleX,fScaleY,aPos.X(),aPos.Y()),