calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / vcl / win / gdi / salgdi_gdiplus.cxx
blob13452f5c7a6ec12a1d739d2dbc2017b5c7e067ee
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(
30 const basegfx::B2DHomMatrix& rObjectToDevice,
31 const basegfx::B2DPolyPolygon& rPolyPolygon,
32 double fTransparency)
34 return mpImpl->drawPolyPolygon(
35 rObjectToDevice,
36 rPolyPolygon,
37 fTransparency);
40 bool WinSalGraphics::drawPolyLine(
41 const basegfx::B2DHomMatrix& rObjectToDevice,
42 const basegfx::B2DPolygon& rPolygon,
43 double fTransparency,
44 double fLineWidth,
45 const std::vector< double >* pStroke, // MM01
46 basegfx::B2DLineJoin eLineJoin,
47 css::drawing::LineCap eLineCap,
48 double fMiterMinimumAngle,
49 bool bPixelSnapHairline)
51 return mpImpl->drawPolyLine(
52 rObjectToDevice,
53 rPolygon,
54 fTransparency,
55 fLineWidth,
56 pStroke, // MM01
57 eLineJoin,
58 eLineCap,
59 fMiterMinimumAngle,
60 bPixelSnapHairline);
63 bool WinSalGraphics::blendBitmap(
64 const SalTwoRect& rTR,
65 const SalBitmap& rBmp)
67 return mpImpl->blendBitmap(rTR, rBmp);
70 bool WinSalGraphics::blendAlphaBitmap(
71 const SalTwoRect& rTR,
72 const SalBitmap& rSrcBmp,
73 const SalBitmap& rMaskBmp,
74 const SalBitmap& rAlphaBmp)
76 return mpImpl->blendAlphaBitmap(rTR, rSrcBmp, rMaskBmp, rAlphaBmp);
79 bool WinSalGraphics::drawAlphaBitmap(
80 const SalTwoRect& rTR,
81 const SalBitmap& rSrcBitmap,
82 const SalBitmap& rAlphaBmp)
84 return mpImpl->drawAlphaBitmap(rTR, rSrcBitmap, rAlphaBmp);
87 bool WinSalGraphics::drawTransformedBitmap(
88 const basegfx::B2DPoint& rNull,
89 const basegfx::B2DPoint& rX,
90 const basegfx::B2DPoint& rY,
91 const SalBitmap& rSourceBitmap,
92 const SalBitmap* pAlphaBitmap,
93 double fAlpha)
95 return mpImpl->drawTransformedBitmap(rNull, rX, rY,
96 rSourceBitmap, pAlphaBitmap, fAlpha);
99 bool WinSalGraphics::hasFastDrawTransformedBitmap() const
101 return mpImpl->hasFastDrawTransformedBitmap();
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */