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
7bf98cad
Kaydet (Commit)
7bf98cad
authored
Tem 24, 2014
tarafından
Andrzej Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "Tiled Rendering: ensure rendered area is visible."
This reverts commit
ff6a38b7
.
üst
2d403752
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
viewsh.cxx
sw/source/core/view/viewsh.cxx
+2
-8
No files found.
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
7bf98cad
...
@@ -1785,14 +1785,8 @@ void SwViewShell::PaintTile(VirtualDevice &rDevice, int contextWidth, int contex
...
@@ -1785,14 +1785,8 @@ void SwViewShell::PaintTile(VirtualDevice &rDevice, int contextWidth, int contex
Imp
()
->
GetDrawView
()
->
AddWindowToPaintView
(
&
rDevice
);
Imp
()
->
GetDrawView
()
->
AddWindowToPaintView
(
&
rDevice
);
}
}
// Make the requested area visible -- we can't use MakeVisible as that will
// scroll the requested area into view if necessary
// only scroll the contents, but won't zoom/resize if needed.
MakeVisible
(
SwRect
(
Point
(
tilePosX
,
tilePosY
),
rDevice
.
PixelToLogic
(
Size
(
contextWidth
,
contextHeight
))));
// Without this, items/text that are outside the visible area (in the SwView)
// won't be painted when rendering tiles (at least when using either the
// tiledrendering app, or the gtktiledviewer) -- although ultimately we
// probably want to fix things so that the SwView's area doesn't affect
// tiled rendering?
mpDoc
->
GetDocShell
()
->
SetVisArea
(
Rectangle
(
Point
(
tilePosX
,
tilePosY
),
rDevice
.
PixelToLogic
(
Size
(
contextWidth
,
contextHeight
))));
// draw - works in logic coordinates
// draw - works in logic coordinates
Paint
(
Rectangle
(
Point
(
tilePosX
,
tilePosY
),
rDevice
.
PixelToLogic
(
Size
(
contextWidth
,
contextHeight
))));
Paint
(
Rectangle
(
Point
(
tilePosX
,
tilePosY
),
rDevice
.
PixelToLogic
(
Size
(
contextWidth
,
contextHeight
))));
...
...
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