LibreOffice Module vcl (master)
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
vcl
BitmapBuffer.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
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 .
18
*/
19
20
#ifndef INCLUDED_VCL_BITMAPBUFFER_HXX
21
#define INCLUDED_VCL_BITMAPBUFFER_HXX
22
23
#include <
vcl/dllapi.h
>
24
#include <
vcl/BitmapPalette.hxx
>
25
#include <
vcl/ColorMask.hxx
>
26
#include <
vcl/Scanline.hxx
>
27
#include <
tools/long.hxx
>
28
29
struct
SalTwoRect
;
30
31
struct
VCL_DLLPUBLIC
BitmapBuffer
32
{
33
ScanlineFormat
mnFormat
;
34
tools::Long
mnWidth
;
35
tools::Long
mnHeight
;
36
tools::Long
mnScanlineSize
;
37
sal_uInt16
mnBitCount
;
38
ColorMask
maColorMask
;
39
BitmapPalette
maPalette
;
40
sal_uInt8
*
mpBits
;
41
};
42
43
VCL_DLLPUBLIC
std::unique_ptr<BitmapBuffer>
StretchAndConvert
(
44
const
BitmapBuffer
& rSrcBuffer,
const
SalTwoRect
& rTwoRect,
45
ScanlineFormat
nDstBitmapFormat,
const
BitmapPalette
* pDstPal =
nullptr
,
const
ColorMask
* pDstMask =
nullptr
);
46
47
#endif // INCLUDED_VCL_BITMAPBUFFER_HXX
48
49
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
BitmapBuffer::maColorMask
ColorMask maColorMask
Definition:
BitmapBuffer.hxx:38
BitmapBuffer::mnHeight
tools::Long mnHeight
Definition:
BitmapBuffer.hxx:35
BitmapPalette.hxx
VCL_DLLPUBLIC
#define VCL_DLLPUBLIC
Definition:
dllapi.h:29
tools::Long
long Long
SalTwoRect
Definition:
salgtype.hxx:39
BitmapBuffer::mnBitCount
sal_uInt16 mnBitCount
Definition:
BitmapBuffer.hxx:37
ScanlineFormat
ScanlineFormat
Definition:
Scanline.hxx:29
BitmapBuffer
Definition:
BitmapBuffer.hxx:31
BitmapBuffer::mnFormat
ScanlineFormat mnFormat
Definition:
BitmapBuffer.hxx:33
StretchAndConvert
VCL_DLLPUBLIC std::unique_ptr< BitmapBuffer > StretchAndConvert(const BitmapBuffer &rSrcBuffer, const SalTwoRect &rTwoRect, ScanlineFormat nDstBitmapFormat, const BitmapPalette *pDstPal=nullptr, const ColorMask *pDstMask=nullptr)
Definition:
salmisc.cxx:229
BitmapBuffer::mpBits
sal_uInt8 * mpBits
Definition:
BitmapBuffer.hxx:40
BitmapPalette
Definition:
BitmapPalette.hxx:28
dllapi.h
long.hxx
Scanline.hxx
BitmapBuffer::mnScanlineSize
tools::Long mnScanlineSize
Definition:
BitmapBuffer.hxx:36
ColorMask.hxx
sal_uInt8
unsigned char sal_uInt8
BitmapBuffer::maPalette
BitmapPalette maPalette
Definition:
BitmapBuffer.hxx:39
BitmapBuffer::mnWidth
tools::Long mnWidth
Definition:
BitmapBuffer.hxx:34
ColorMask
Definition:
ColorMask.hxx:89
Generated on Thu Apr 15 2021 20:45:44 for LibreOffice Module vcl (master) by
1.8.10