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
756b2c94
Kaydet (Commit)
756b2c94
authored
Mar 02, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
just in case, fallback if not cairo-surface
Change-Id: I5c185f9306f73f787f38566ba5335b5a8f51ee1d
üst
7b4c2d83
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
+21
-5
svpgdi.hxx
vcl/inc/headless/svpgdi.hxx
+1
-1
gtkgdi.hxx
vcl/inc/unx/gtk/gtkgdi.hxx
+6
-4
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+14
-0
No files found.
vcl/inc/headless/svpgdi.hxx
Dosyayı görüntüle @
756b2c94
...
@@ -55,7 +55,7 @@ protected:
...
@@ -55,7 +55,7 @@ protected:
public
:
public
:
GlyphCache
&
getPlatformGlyphCache
();
GlyphCache
&
getPlatformGlyphCache
();
void
setDevice
(
basebmp
::
BitmapDeviceSharedPtr
&
rDevice
);
v
irtual
v
oid
setDevice
(
basebmp
::
BitmapDeviceSharedPtr
&
rDevice
);
void
BlendTextColor
(
const
basebmp
::
Color
&
rTextColor
,
const
basebmp
::
BitmapDeviceSharedPtr
&
rAlphaMask
,
void
BlendTextColor
(
const
basebmp
::
Color
&
rTextColor
,
const
basebmp
::
BitmapDeviceSharedPtr
&
rAlphaMask
,
const
basegfx
::
B2IPoint
&
rDstPoint
);
const
basegfx
::
B2IPoint
&
rDstPoint
);
...
...
vcl/inc/unx/gtk/gtkgdi.hxx
Dosyayı görüntüle @
756b2c94
...
@@ -35,12 +35,14 @@ class GtkSalFrame;
...
@@ -35,12 +35,14 @@ class GtkSalFrame;
class
GtkSalGraphics
:
public
SvpSalGraphics
class
GtkSalGraphics
:
public
SvpSalGraphics
{
{
GtkSalFrame
*
mpFrame
;
GtkSalFrame
*
mpFrame
;
bool
m_bCairoCompatibleSurface
;
public
:
public
:
GtkSalGraphics
(
GtkSalFrame
*
pFrame
,
GtkWidget
*
pWindow
);
GtkSalGraphics
(
GtkSalFrame
*
pFrame
,
GtkWidget
*
pWindow
);
virtual
void
copyArea
(
long
nDestX
,
long
nDestY
,
virtual
void
setDevice
(
basebmp
::
BitmapDeviceSharedPtr
&
rDevice
)
SAL_OVERRIDE
;
long
nSrcX
,
long
nSrcY
,
virtual
void
copyArea
(
long
nDestX
,
long
nDestY
,
long
nSrcWidth
,
long
nSrcHeight
,
long
nSrcX
,
long
nSrcY
,
sal_uInt16
/*nFlags*/
)
SAL_OVERRIDE
;
long
nSrcWidth
,
long
nSrcHeight
,
sal_uInt16
/*nFlags*/
)
SAL_OVERRIDE
;
virtual
bool
drawNativeControl
(
ControlType
nType
,
ControlPart
nPart
,
virtual
bool
drawNativeControl
(
ControlType
nType
,
ControlPart
nPart
,
const
Rectangle
&
rControlRegion
,
const
Rectangle
&
rControlRegion
,
ControlState
nState
,
const
ImplControlValue
&
aValue
,
ControlState
nState
,
const
ImplControlValue
&
aValue
,
...
...
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
756b2c94
...
@@ -1576,6 +1576,20 @@ static void print_update_area (GdkWindow *window, const char *msg)
...
@@ -1576,6 +1576,20 @@ static void print_update_area (GdkWindow *window, const char *msg)
print_cairo_region
(
gdk_window_get_update_area
(
window
),
msg
);
print_cairo_region
(
gdk_window_get_update_area
(
window
),
msg
);
}
}
void
GtkSalGraphics
::
setDevice
(
basebmp
::
BitmapDeviceSharedPtr
&
rDevice
)
{
SvpSalGraphics
::
setDevice
(
rDevice
);
bool
bCairoCompatibleSurface
=
rDevice
->
getScanlineFormat
()
==
basebmp
::
FORMAT_THIRTYTWO_BIT_TC_MASK_BGRX
;
if
(
bCairoCompatibleSurface
!=
m_bCairoCompatibleSurface
)
{
if
(
bCairoCompatibleSurface
)
m_xTextRenderImpl
.
reset
(
new
GtkCairoTextRender
(
*
this
));
else
m_xTextRenderImpl
.
reset
(
new
SvpTextRender
(
*
this
));
m_bCairoCompatibleSurface
=
bCairoCompatibleSurface
;
}
}
void
GtkSalGraphics
::
copyArea
(
long
nDestX
,
long
nDestY
,
void
GtkSalGraphics
::
copyArea
(
long
nDestX
,
long
nDestY
,
long
nSrcX
,
long
nSrcY
,
long
nSrcX
,
long
nSrcY
,
long
nSrcWidth
,
long
nSrcHeight
,
long
nSrcWidth
,
long
nSrcHeight
,
...
...
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