Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3dbed9ac
Kaydet (Commit)
3dbed9ac
authored
Nis 23, 2014
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rearrange VCL OutputDevice bitmap functions
Change-Id: I9bb6a5d123c35d3de2d2fa7b8a427c92f599afd7
üst
d0ad5518
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
21 deletions
+24
-21
outdev.hxx
include/vcl/outdev.hxx
+24
-21
bitmap.cxx
vcl/source/outdev/bitmap.cxx
+0
-0
No files found.
include/vcl/outdev.hxx
Dosyayı görüntüle @
3dbed9ac
...
...
@@ -745,11 +745,11 @@ protected:
virtual
void
CopyAreaFinal
(
SalTwoRect
&
aPosAry
,
sal_uInt32
nFlags
);
public
:
/** @name Bitmap functions
*/
///@{
public
:
/** @overload
void DrawBitmap(
const Point& rDestPt,
...
...
@@ -846,19 +846,6 @@ public:
*/
BitmapEx
GetBitmapEx
(
const
Point
&
rSrcPt
,
const
Size
&
rSize
)
const
;
/** Retrieve downsampled and cropped bitmap
@attention This method ignores negative rDstSz values, thus
mirroring must happen outside this method (e.g. in DrawBitmap)
*/
Bitmap
GetDownsampledBitmap
(
const
Size
&
rDstSz
,
const
Point
&
rSrcPt
,
const
Size
&
rSrcSz
,
const
Bitmap
&
rBmp
,
long
nMaxBmpDPIX
,
long
nMaxBmpDPIY
);
/** Draw BitmapEx transformed
...
...
@@ -877,6 +864,13 @@ public:
protected
:
virtual
void
DrawDeviceBitmap
(
const
Point
&
rDestPt
,
const
Size
&
rDestSize
,
const
Point
&
rSrcPtPixel
,
const
Size
&
rSrcSizePixel
,
BitmapEx
&
rBitmapEx
);
virtual
void
ScaleBitmap
(
Bitmap
&
rBmp
,
SalTwoRect
&
rPosAry
);
/** Transform and draw a bitmap directly
@param aFullTransform The B2DHomMatrix used for the transformation
...
...
@@ -904,12 +898,6 @@ protected:
basegfx
::
B2DRange
&
aVisibleRange
,
double
&
fMaximumArea
);
virtual
void
ScaleBitmap
(
Bitmap
&
rBmp
,
SalTwoRect
&
rPosAry
);
virtual
void
DrawDeviceBitmap
(
const
Point
&
rDestPt
,
const
Size
&
rDestSize
,
const
Point
&
rSrcPtPixel
,
const
Size
&
rSrcSizePixel
,
BitmapEx
&
rBitmapEx
);
private
:
SAL_DLLPRIVATE
void
DrawAlphaBitmap
(
...
...
@@ -946,12 +934,27 @@ private:
const
sal_Int32
nDstWidth
,
const
long
*
pMapX
,
const
long
*
pMapY
);
/** Retrieve downsampled and cropped bitmap
@attention This method ignores negative rDstSz values, thus
mirroring must happen outside this method (e.g. in DrawBitmap)
*/
Bitmap
GetDownsampledBitmap
(
const
Size
&
rDstSz
,
const
Point
&
rSrcPt
,
const
Size
&
rSrcSz
,
const
Bitmap
&
rBmp
,
long
nMaxBmpDPIX
,
long
nMaxBmpDPIY
);
///@}
public
:
/** @name Curved shape functions
*/
///@{
public
:
void
DrawEllipse
(
const
Rectangle
&
rRect
);
void
DrawArc
(
const
Rectangle
&
rRect
,
...
...
vcl/source/outdev/bitmap.cxx
Dosyayı görüntüle @
3dbed9ac
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment