summaryrefslogtreecommitdiff
path: root/vcl/headless/svpgdi.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-12-28 10:29:39 +0900
committerTomaž Vajngerl <quikee@gmail.com>2022-01-04 06:54:49 +0100
commitdd8ab22bd615bba1a5016f3b418157900bed921c (patch)
tree42c972351a1e7b5da76e3e1a3b61e912b521dad3 /vcl/headless/svpgdi.cxx
parent52c903c6a48d62d6ed7841ba2d1021300c8189b3 (diff)
vcl: move empty blendBitmap, hasFastDraw,.. to SvpGraphicsBackend
Moves blendBitmap, blendAlphaBitmap, hasFastDrawTransformedBitmap, supportsOperation to the SvpGraphicsBackend. Most these are empty stub implementations that aren't supported by the backend. The exception is supportsOperation, which already had been implemented but not removed from svpgdi.*xx files. Change-Id: I240a803d9a8614f1c4ed763a8fc34296202045fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127843 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r--vcl/headless/svpgdi.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 4ec12998a163..eb8edacafbd3 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -57,16 +57,6 @@
# endif
#endif
-bool SvpSalGraphics::blendBitmap( const SalTwoRect&, const SalBitmap& /*rBitmap*/ )
-{
- return false;
-}
-
-bool SvpSalGraphics::blendAlphaBitmap( const SalTwoRect&, const SalBitmap&, const SalBitmap&, const SalBitmap& )
-{
- return false;
-}
-
namespace
{
cairo_format_t getCairoFormat(const BitmapBuffer& rBuffer)
@@ -766,11 +756,6 @@ bool SvpSalGraphics::drawTransformedBitmap(
return true;
}
-bool SvpSalGraphics::hasFastDrawTransformedBitmap() const
-{
- return false;
-}
-
bool SvpSalGraphics::drawAlphaRect(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency)
{
const bool bHasFill(m_aCairoCommon.m_aFillColor != SALCOLOR_NONE);
@@ -1076,15 +1061,4 @@ SystemGraphicsData SvpSalGraphics::GetGraphicsData() const
return SystemGraphicsData();
}
-bool SvpSalGraphics::supportsOperation(OutDevSupportType eType) const
-{
- switch (eType)
- {
- case OutDevSupportType::TransparentRect:
- case OutDevSupportType::B2DDraw:
- return true;
- }
- return false;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */