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
3ea4d268
Kaydet (Commit)
3ea4d268
authored
Eki 28, 2013
tarafından
Ptyl Dragon
Kaydeden (comit)
Jan Holesovsky
Kas 15, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
in progress tile rendering
Change-Id: Ie49fc47700287c3c21f234e3fece2b3afd272d24
üst
896f76f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
viewsh.cxx
sw/source/core/view/viewsh.cxx
+13
-3
No files found.
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
3ea4d268
...
...
@@ -160,7 +160,9 @@ void SwViewShell::DLPrePaint2(const Region& rRegion)
if
(
mpTargetPaintWindow
->
GetPreRenderDevice
())
{
mpBufferedOut
=
mpOut
;
#ifndef IOS
mpOut
=
&
(
mpTargetPaintWindow
->
GetTargetOutputDevice
());
#endif
}
// remember original paint MapMode for wrapped FlyFrame paints
...
...
@@ -190,11 +192,13 @@ void SwViewShell::DLPostPaint2(bool bPaintFormLayer)
mPrePostPaintRegions
.
pop
();
// clear
if
(
0
!=
mpTargetPaintWindow
)
{
#ifndef IOS
// #i74769# restore buffered OutDev
if
(
mpTargetPaintWindow
->
GetPreRenderDevice
())
{
mpOut
=
mpBufferedOut
;
}
#endif
// #i74769# use SdrPaintWindow now direct
Imp
()
->
GetDrawView
()
->
EndDrawLayers
(
*
mpTargetPaintWindow
,
bPaintFormLayer
);
...
...
@@ -1786,16 +1790,22 @@ void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int
MapMode
aMapMode
(
aDevice
.
GetMapMode
());
aMapMode
.
SetMapUnit
(
MAP_TWIP
);
aMapMode
.
SetOrigin
(
Point
(
-
tilePosX
,
-
tilePosY
));
// scaling
Fraction
scaleX
(
contextWidth
,
tileWidth
);
Fraction
scaleY
(
contextHeight
,
tileHeight
);
aMapMode
.
SetScaleX
(
scaleX
);
aMapMode
.
SetScaleY
(
scaleY
);
aDevice
.
SetMapMode
(
aMapMode
);
aDevice
.
SetOutputSizePixel
(
aDevice
.
PixelToLogic
(
Size
(
contextWidth
,
contextHeight
)));
// resizes the virtual device so to contain the entrie context
aDevice
.
SetOutputSizePixel
(
Size
(
contextWidth
,
contextHeight
));
// draw
pViewShell
->
PaintTile
(
&
aDevice
,
Rectangle
(
Point
(
tilePosX
,
tilePosY
),
Size
(
tileWidth
,
tileHeight
)));
// copy the aDevice content to mpImage
Bitmap
aBitmap
(
aDevice
.
GetBitmap
(
aDevice
.
PixelToLogic
(
Point
(
0
,
0
)),
aDevice
.
PixelToLogic
(
Size
(
contextWidth
,
contextHeight
))));
BitmapReadAccess
*
readAccess
=
aBitmap
.
AcquireReadAccess
();
touch_lo_copy_buffer
((
void
*
)
readAccess
->
GetBuffer
(),
tile
Width
,
tile
Height
,
context
Width
,
context
Height
,
readAccess
->
GetScanlineSize
(),
context
,
contextWidth
,
...
...
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