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
ca9ceb20
Kaydet (Commit)
ca9ceb20
authored
Nis 06, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Log the ImplLayoutArgs parameter in AdjustLayout().
Change-Id: Ib875973d31f71bab75973f683621118eb9cb927b
üst
efe842ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
salatslayout.cxx
vcl/aqua/source/gdi/atsui/salatslayout.cxx
+7
-5
No files found.
vcl/aqua/source/gdi/atsui/salatslayout.cxx
Dosyayı görüntüle @
ca9ceb20
...
...
@@ -301,8 +301,7 @@ bool ATSLayout::LayoutText( ImplLayoutArgs& rArgs )
**/
void
ATSLayout
::
AdjustLayout
(
ImplLayoutArgs
&
rArgs
)
{
SAL_INFO
(
"vcl.atsui.layout"
,
"AdjustLayout("
<<
this
<<
"): "
<<
rArgs
.
mnLength
<<
":"
<<
rArgs
.
mnMinCharPos
<<
"--"
<<
rArgs
.
mnEndCharPos
<<
", width="
<<
rArgs
.
mnLayoutWidth
);
SAL_INFO
(
"vcl.atsui.layout"
,
"AdjustLayout("
<<
this
<<
",rArgs="
<<
rArgs
<<
")"
);
int
nOrigWidth
=
GetTextWidth
();
int
nPixelWidth
=
rArgs
.
mnLayoutWidth
;
if
(
!
nPixelWidth
&&
rArgs
.
mpDXArray
)
{
...
...
@@ -382,6 +381,8 @@ void ATSLayout::AdjustLayout( ImplLayoutArgs& rArgs )
**/
void
ATSLayout
::
DrawText
(
SalGraphics
&
rGraphics
)
const
{
SAL_INFO
(
"vcl.atsui.layout"
,
"DrawText("
<<
this
<<
") mnCharCount="
<<
mnCharCount
<<
", mnGlyphCount="
<<
mnGlyphCount
);
AquaSalGraphics
&
rAquaGraphics
=
static_cast
<
AquaSalGraphics
&>
(
rGraphics
);
// short circuit if there is nothing to do
...
...
@@ -734,11 +735,12 @@ long ATSLayout::FillDXArray( sal_Int32* pDXArray ) const
**/
int
ATSLayout
::
GetTextBreak
(
long
nMaxWidth
,
long
nCharExtra
,
int
nFactor
)
const
{
SAL_INFO
(
"vcl.atsui.layout"
,
"GetTextBreak("
<<
this
<<
","
<<
nCharExtra
<<
","
<<
nFactor
<<
")"
<<
(
maATSULayout
==
NULL
?
" no layout"
:
""
));
SAL_INFO
(
"vcl.atsui.layout"
,
"GetTextBreak("
<<
this
<<
",nMaxWidth="
<<
nMaxWidth
<<
",nCharExtra="
<<
nCharExtra
<<
",nFactor="
<<
nFactor
<<
")"
);
if
(
!
maATSULayout
)
if
(
!
maATSULayout
)
{
SAL_INFO
(
"vcl.atsui.layout"
,
"GetTextBreak(): no maATSULayout, returning STRING_LEN"
);
return
STRING_LEN
;
}
// the semantics of the legacy use case (nCharExtra!=0) cannot be mapped to ATSUBreakLine()
if
(
nCharExtra
!=
0
)
...
...
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