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
4a31802d
Kaydet (Commit)
4a31802d
authored
Nis 14, 2014
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't forget to add polygon as an object in the makefile!
Change-Id: Ib4a51d23d80d20e00968929628bbb4966b78c408
üst
7bb315b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
outdev.hxx
include/vcl/outdev.hxx
+12
-11
Library_vcl.mk
vcl/Library_vcl.mk
+1
-0
No files found.
include/vcl/outdev.hxx
Dosyayı görüntüle @
4a31802d
...
...
@@ -692,25 +692,31 @@ public:
// Helper who implements the DrawPolyPolygon functionality for basegfx::B2DPolyPolygon
// without MetaFile processing
SAL_DLLPRIVATE
void
ImplDrawPolyPolygonWithB2DPolyPolygon
(
const
basegfx
::
B2DPolyPolygon
&
rB2DPolyPoly
);
private
:
///@}
/** @name Gradient functions
*/
///@{
SAL_DLLPRIVATE
void
DrawLinearGradient
(
const
Rectangle
&
rRect
,
const
Gradient
&
rGradient
,
bool
bMtf
,
const
PolyPolygon
*
pClipPolyPoly
);
SAL_DLLPRIVATE
void
DrawComplexGradient
(
const
Rectangle
&
rRect
,
const
Gradient
&
rGradient
,
bool
bMtf
,
const
PolyPolygon
*
pClipPolyPoly
);
public
:
void
DrawGradient
(
const
Rectangle
&
rRect
,
const
Gradient
&
rGradient
);
void
DrawGradient
(
const
PolyPolygon
&
rPolyPoly
,
const
Gradient
&
rGradient
);
void
AddGradientActions
(
const
Rectangle
&
rRect
,
const
Gradient
&
rGradient
,
GDIMetaFile
&
rMtf
);
protected
:
virtual
long
ImplGetGradientStepCount
(
long
nMinRect
);
private
:
SAL_DLLPRIVATE
void
DrawLinearGradient
(
const
Rectangle
&
rRect
,
const
Gradient
&
rGradient
,
bool
bMtf
,
const
PolyPolygon
*
pClipPolyPoly
);
SAL_DLLPRIVATE
void
DrawComplexGradient
(
const
Rectangle
&
rRect
,
const
Gradient
&
rGradient
,
bool
bMtf
,
const
PolyPolygon
*
pClipPolyPoly
);
SAL_DLLPRIVATE
long
ImplGetGradientSteps
(
const
Gradient
&
rGradient
,
const
Rectangle
&
rRect
,
bool
bMtf
,
bool
bComplex
=
false
);
SAL_DLLPRIVATE
Color
GetSingleColorGradientFill
();
SAL_DLLPRIVATE
void
SetGrayscaleColors
(
Gradient
&
rGradient
);
///@}
public
:
...
...
@@ -812,7 +818,6 @@ protected:
const
Point
&
rDestPt
,
const
Size
&
rDestSize
,
const
Point
&
rSrcPtPixel
,
const
Size
&
rSrcSizePixel
);
virtual
long
ImplGetGradientStepCount
(
long
nMinRect
);
virtual
bool
UsePolyPolygonForComplexGradient
()
=
0
;
/** Transform and draw a bitmap directly
...
...
@@ -861,16 +866,12 @@ private:
SAL_DLLPRIVATE
void
ImplClearFontData
(
bool
bNewFontLists
);
SAL_DLLPRIVATE
void
ImplRefreshFontData
(
bool
bNewFontLists
);
SAL_DLLPRIVATE
static
void
ImplUpdateFontDataForAllFrames
(
FontUpdateHandler_t
pHdl
,
bool
bNewFontLists
);
SAL_DLLPRIVATE
long
ImplGetGradientSteps
(
const
Gradient
&
rGradient
,
const
Rectangle
&
rRect
,
bool
bMtf
,
bool
bComplex
=
false
);
// not implemented; to detect misuses of DrawOutDev(...OutputDevice&);
void
DrawOutDev
(
const
Point
&
,
const
Size
&
,
const
Point
&
,
const
Size
&
,
const
Printer
&
);
bool
DrawTransparentNatively
(
const
PolyPolygon
&
rPolyPoly
,
sal_uInt16
nTransparencePercent
);
Color
GetSingleColorGradientFill
();
void
SetGrayscaleColors
(
Gradient
&
rGradient
);
public
:
virtual
~
OutputDevice
();
...
...
vcl/Library_vcl.mk
Dosyayı görüntüle @
4a31802d
...
...
@@ -234,6 +234,7 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/source/gdi/metric \
vcl/source/gdi/octree \
vcl/source/gdi/oldprintadaptor \
vcl/source/gdi/outdev/polygon \
vcl/source/gdi/outdev/outdev2 \
vcl/source/gdi/outdev/outdev3 \
vcl/source/gdi/outdev/hatch \
...
...
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