diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-05-03 23:21:18 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-05-11 01:16:23 +0200 |
commit | 1bcad85a5d48cc38ced5883de364f2c66ada273e (patch) | |
tree | 02ad7b72b3fe4aa851a870b0f9cc885ff39584ca /include/drawinglayer | |
parent | 2d7db1f688fc3b7e7ce9276776a40d6d8db8d536 (diff) |
drawinglayer: move converter.hxx to public include
Change-Id: I71a15c532ba161d69585bd47631b3a8e2f6ddd66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115304
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r-- | include/drawinglayer/converters.hxx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/drawinglayer/converters.hxx b/include/drawinglayer/converters.hxx new file mode 100644 index 000000000000..64d0e2ce7d4e --- /dev/null +++ b/include/drawinglayer/converters.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#pragma once + +#include <vcl/bitmapex.hxx> +#include <drawinglayer/primitive2d/Primitive2DContainer.hxx> + +namespace drawinglayer +{ +BitmapEx DRAWINGLAYER_DLLPUBLIC +convertToBitmapEx(const drawinglayer::primitive2d::Primitive2DContainer& rSeq, + const geometry::ViewInformation2D& rViewInformation2D, sal_uInt32 nDiscreteWidth, + sal_uInt32 nDiscreteHeight, sal_uInt32 nMaxSquarePixels); + +} // end of namespace drawinglayer + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |