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
80ff016d
Kaydet (Commit)
80ff016d
authored
Eki 29, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bring the gradient rendering down into SalGraphicsImpl & unx backend
Change-Id: Ia5d5e7d996b4a8818e73f3f741907ff9224f93da
üst
580574df
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
3 deletions
+26
-3
openglgdiimpl.hxx
vcl/inc/openglgdiimpl.hxx
+2
-0
salgdiimpl.hxx
vcl/inc/salgdiimpl.hxx
+2
-1
salgdi.h
vcl/inc/unx/salgdi.h
+1
-1
gdiimpl.cxx
vcl/opengl/gdiimpl.cxx
+8
-0
gdiimpl.cxx
vcl/unx/generic/gdi/gdiimpl.cxx
+6
-0
gdiimpl.hxx
vcl/unx/generic/gdi/gdiimpl.hxx
+2
-1
salgdi.cxx
vcl/unx/generic/gdi/salgdi.cxx
+5
-0
No files found.
vcl/inc/openglgdiimpl.hxx
Dosyayı görüntüle @
80ff016d
...
...
@@ -191,6 +191,8 @@ public:
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
sal_uInt8
nTransparency
)
SAL_OVERRIDE
;
virtual
bool
drawGradient
(
const
tools
::
PolyPolygon
&
rPolygon
,
const
Gradient
&
rGradient
)
SAL_OVERRIDE
;
private
:
};
...
...
vcl/inc/salgdiimpl.hxx
Dosyayı görüntüle @
80ff016d
...
...
@@ -34,6 +34,7 @@
class
SalGraphics
;
class
SalBitmap
;
class
Gradient
;
class
VCL_PLUGIN_PUBLIC
SalGraphicsImpl
{
...
...
@@ -197,7 +198,7 @@ public:
long
nWidth
,
long
nHeight
,
sal_uInt8
nTransparency
)
=
0
;
virtual
bool
drawGradient
(
const
tools
::
PolyPolygon
&
rPolygon
,
const
Gradient
&
rGradient
)
=
0
;
};
#endif
...
...
vcl/inc/unx/salgdi.h
Dosyayı görüntüle @
80ff016d
...
...
@@ -237,7 +237,7 @@ public:
const
::
basegfx
::
B2DVector
&
rLineWidth
,
basegfx
::
B2DLineJoin
,
com
::
sun
::
star
::
drawing
::
LineCap
)
SAL_OVERRIDE
;
virtual
bool
drawGradient
(
const
tools
::
PolyPolygon
&
,
const
Gradient
&
)
SAL_OVERRIDE
{
return
false
;
}
;
virtual
bool
drawGradient
(
const
tools
::
PolyPolygon
&
,
const
Gradient
&
)
SAL_OVERRIDE
;
#if 1 // TODO: remove these obselete methods
virtual
bool
drawPolyLineBezier
(
sal_uInt32
nPoints
,
...
...
vcl/opengl/gdiimpl.cxx
Dosyayı görüntüle @
80ff016d
...
...
@@ -19,6 +19,8 @@
#include "openglgdiimpl.hxx"
#include <vcl/gradient.hxx>
OpenGLSalGraphicsImpl
::~
OpenGLSalGraphicsImpl
()
{
}
...
...
@@ -270,4 +272,10 @@ bool OpenGLSalGraphicsImpl::drawAlphaRect(
return
false
;
}
bool
OpenGLSalGraphicsImpl
::
drawGradient
(
const
tools
::
PolyPolygon
&
/*rPolygon*/
,
const
Gradient
&
/*rGradient*/
)
{
return
false
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/unx/generic/gdi/gdiimpl.cxx
Dosyayı görüntüle @
80ff016d
...
...
@@ -24,6 +24,7 @@
#include "gdiimpl.hxx"
#include "vcl/salbtype.hxx"
#include <vcl/gradient.hxx>
#include "unx/salunx.h"
#include "unx/saldata.hxx"
...
...
@@ -1776,4 +1777,9 @@ long X11SalGraphicsImpl::GetGraphicsWidth() const
return
0
;
}
bool
X11SalGraphicsImpl
::
drawGradient
(
const
tools
::
PolyPolygon
&
/*rPolygon*/
,
const
Gradient
&
/*rGradient*/
)
{
return
false
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/unx/generic/gdi/gdiimpl.hxx
Dosyayı görüntüle @
80ff016d
...
...
@@ -33,6 +33,7 @@ class SalGraphics;
class
SalBitmap
;
class
SalPolyLine
;
class
X11SalGraphics
;
class
Gradient
;
class
X11SalGraphicsImpl
:
public
SalGraphicsImpl
{
...
...
@@ -261,7 +262,7 @@ public:
long
nWidth
,
long
nHeight
,
sal_uInt8
nTransparency
)
SAL_OVERRIDE
;
virtual
bool
drawGradient
(
const
tools
::
PolyPolygon
&
rPolygon
,
const
Gradient
&
rGradient
)
SAL_OVERRIDE
;
};
#endif
...
...
vcl/unx/generic/gdi/salgdi.cxx
Dosyayı görüntüle @
80ff016d
...
...
@@ -482,4 +482,9 @@ bool X11SalGraphics::drawPolyLine(
eLineJoin
,
eLineCap
);
}
bool
X11SalGraphics
::
drawGradient
(
const
tools
::
PolyPolygon
&
rPoly
,
const
Gradient
&
rGradient
)
{
return
mpImpl
->
drawGradient
(
rPoly
,
rGradient
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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