Some whitespace fixes.

This commit is contained in:
Bas Schouten 2010-06-09 17:50:05 +02:00
parent ddffa23d17
commit 8e5fc45701

View File

@ -2234,10 +2234,10 @@ cairo_d2d_surface_create_for_hwnd(HWND wnd,
size.height = sizePixels.height * dpiY;
props = D2D1::RenderTargetProperties(D2D1_RENDER_TARGET_TYPE_DEFAULT,
D2D1::PixelFormat(DXGI_FORMAT_UNKNOWN, D2D1_ALPHA_MODE_PREMULTIPLIED),
dpiX,
dpiY,
D2D1_RENDER_TARGET_USAGE_NONE);
D2D1::PixelFormat(DXGI_FORMAT_UNKNOWN, D2D1_ALPHA_MODE_PREMULTIPLIED),
dpiX,
dpiY,
D2D1_RENDER_TARGET_USAGE_NONE);
hr = D2DSurfFactory::Instance()->CreateDxgiSurfaceRenderTarget(newSurf->backBuf,
props,
&newSurf->rt);
@ -2246,7 +2246,7 @@ cairo_d2d_surface_create_for_hwnd(HWND wnd,
}
bitProps = D2D1::BitmapProperties(D2D1::PixelFormat(DXGI_FORMAT_UNKNOWN,
D2D1_ALPHA_MODE_PREMULTIPLIED));
D2D1_ALPHA_MODE_PREMULTIPLIED));
newSurf->rt->CreateSolidColorBrush(D2D1::ColorF(0, 1.0), &newSurf->solidColorBrush);
@ -2326,7 +2326,7 @@ cairo_d2d_surface_create(cairo_format_t format,
}
props = D2D1::RenderTargetProperties(D2D1_RENDER_TARGET_TYPE_DEFAULT,
D2D1::PixelFormat(DXGI_FORMAT_UNKNOWN, alpha));
D2D1::PixelFormat(DXGI_FORMAT_UNKNOWN, alpha));
hr = D2DSurfFactory::Instance()->CreateDxgiSurfaceRenderTarget(dxgiSurface,
props,
&newSurf->rt);
@ -2336,7 +2336,7 @@ cairo_d2d_surface_create(cairo_format_t format,
}
bitProps = D2D1::BitmapProperties(D2D1::PixelFormat(DXGI_FORMAT_UNKNOWN,
alpha));
alpha));
hr = newSurf->rt->CreateSharedBitmap(IID_IDXGISurface,
dxgiSurface,
&bitProps,