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
3a74b40f
Kaydet (Commit)
3a74b40f
authored
Ock 07, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make sure to use the FillColor when we used it before
Change-Id: I36443d12e1607221b9505d1e05a51e804d714e16
üst
2ca2b8c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
openglgdiimpl.hxx
vcl/inc/openglgdiimpl.hxx
+1
-1
gdiimpl.cxx
vcl/opengl/gdiimpl.cxx
+6
-6
No files found.
vcl/inc/openglgdiimpl.hxx
Dosyayı görüntüle @
3a74b40f
...
...
@@ -84,7 +84,7 @@ public:
void
DrawRect
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
);
void
DrawRect
(
const
Rectangle
&
rRect
);
void
DrawPolygon
(
sal_uInt32
nPoints
,
const
SalPoint
*
pPtAry
);
void
DrawPolyPolygon
(
const
basegfx
::
B2DPolyPolygon
&
rPolyPolygon
,
bool
blockAA
=
false
);
void
DrawPolyPolygon
(
const
basegfx
::
B2DPolyPolygon
&
rPolyPolygon
,
bool
b
Line
,
bool
b
lockAA
=
false
);
void
DrawRegionBand
(
const
RegionBand
&
rRegion
);
void
DrawTextureRect
(
OpenGLTexture
&
rTexture
,
const
SalTwoRect
&
rPosAry
,
bool
bInverted
=
false
);
void
DrawTexture
(
OpenGLTexture
&
rTexture
,
const
SalTwoRect
&
rPosAry
,
bool
bInverted
=
false
);
...
...
vcl/opengl/gdiimpl.cxx
Dosyayı görüntüle @
3a74b40f
...
...
@@ -198,7 +198,7 @@ void OpenGLSalGraphicsImpl::ImplSetClipBit( const vcl::Region& rClip, GLuint nMa
if
(
rClip
.
getRegionBand
()
)
DrawRegionBand
(
*
rClip
.
getRegionBand
()
);
else
DrawPolyPolygon
(
rClip
.
GetAsB2DPolyPolygon
(),
true
);
DrawPolyPolygon
(
rClip
.
GetAsB2DPolyPolygon
(),
false
,
true
);
}
glColorMask
(
GL_TRUE
,
GL_TRUE
,
GL_TRUE
,
GL_TRUE
);
...
...
@@ -695,11 +695,11 @@ void OpenGLSalGraphicsImpl::DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPt
else
{
const
::
basegfx
::
B2DPolyPolygon
aPolyPolygon
(
aPolygon
);
DrawPolyPolygon
(
aPolyPolygon
);
DrawPolyPolygon
(
aPolyPolygon
,
false
);
}
}
void
OpenGLSalGraphicsImpl
::
DrawPolyPolygon
(
const
basegfx
::
B2DPolyPolygon
&
rPolyPolygon
,
bool
blockAA
)
void
OpenGLSalGraphicsImpl
::
DrawPolyPolygon
(
const
basegfx
::
B2DPolyPolygon
&
rPolyPolygon
,
bool
b
Line
,
bool
b
lockAA
)
{
::
std
::
vector
<
GLfloat
>
aVertices
;
GLfloat
nWidth
=
GetWidth
();
...
...
@@ -745,7 +745,7 @@ void OpenGLSalGraphicsImpl::DrawPolyPolygon( const basegfx::B2DPolyPolygon& rPol
DrawLineAA
(
rPt1
.
getX
(),
rPt1
.
getY
(),
rPt2
.
getX
(),
rPt2
.
getY
());
}
}
UseSolid
(
mnLine
Color
);
UseSolid
(
bLine
?
mnLineColor
:
mnFill
Color
);
}
CHECK_GL_ERROR
();
...
...
@@ -1133,7 +1133,7 @@ bool OpenGLSalGraphicsImpl::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rP
for
(
sal_uInt32
i
=
0
;
i
<
rPolyPolygon
.
count
();
i
++
)
{
const
::
basegfx
::
B2DPolyPolygon
aOnePoly
(
rPolyPolygon
.
getB2DPolygon
(
i
)
);
DrawPolyPolygon
(
aOnePoly
);
DrawPolyPolygon
(
aOnePoly
,
false
);
}
}
...
...
@@ -1216,7 +1216,7 @@ bool OpenGLSalGraphicsImpl::drawPolyLine(
for
(
sal_uInt32
i
=
0
;
i
<
aAreaPolyPoly
.
count
();
i
++
)
{
const
::
basegfx
::
B2DPolyPolygon
aOnePoly
(
aAreaPolyPoly
.
getB2DPolygon
(
i
)
);
DrawPolyPolygon
(
aOnePoly
);
DrawPolyPolygon
(
aOnePoly
,
true
);
}
}
PostDraw
();
...
...
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