build fix
[LibreOffice.git] / vcl / win / gdi / salgdi_gdiplus.cxx
blob45e760ae871b808502d4aa6436712513e47b7959
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <string.h>
21 #include <svsys.h>
22 #include <win/wincomp.hxx>
23 #include <win/saldata.hxx>
24 #include <win/salgdi.h>
25 #include <win/salbmp.h>
27 #include "gdiimpl.hxx"
29 bool WinSalGraphics::drawPolyPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, double fTransparency)
31 return mpImpl->drawPolyPolygon( rPolyPolygon, fTransparency );
34 bool WinSalGraphics::drawPolyLine(
35 const basegfx::B2DPolygon& rPolygon,
36 double fTransparency,
37 const basegfx::B2DVector& rLineWidths,
38 basegfx::B2DLineJoin eLineJoin,
39 css::drawing::LineCap eLineCap,
40 double fMiterMinimumAngle)
42 return mpImpl->drawPolyLine(rPolygon, fTransparency, rLineWidths,
43 eLineJoin, eLineCap, fMiterMinimumAngle);
46 bool WinSalGraphics::blendBitmap(
47 const SalTwoRect& rTR,
48 const SalBitmap& rBmp)
50 return mpImpl->blendBitmap(rTR, rBmp);
53 bool WinSalGraphics::blendAlphaBitmap(
54 const SalTwoRect& rTR,
55 const SalBitmap& rSrcBmp,
56 const SalBitmap& rMaskBmp,
57 const SalBitmap& rAlphaBmp)
59 return mpImpl->blendAlphaBitmap(rTR, rSrcBmp, rMaskBmp, rAlphaBmp);
62 bool WinSalGraphics::drawAlphaBitmap(
63 const SalTwoRect& rTR,
64 const SalBitmap& rSrcBitmap,
65 const SalBitmap& rAlphaBmp)
67 return mpImpl->drawAlphaBitmap(rTR, rSrcBitmap, rAlphaBmp);
70 bool WinSalGraphics::drawTransformedBitmap(
71 const basegfx::B2DPoint& rNull,
72 const basegfx::B2DPoint& rX,
73 const basegfx::B2DPoint& rY,
74 const SalBitmap& rSourceBitmap,
75 const SalBitmap* pAlphaBitmap)
77 return mpImpl->drawTransformedBitmap(rNull, rX, rY,
78 rSourceBitmap, pAlphaBitmap);
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */