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
55240e88
Kaydet (Commit)
55240e88
authored
Agu 29, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: in debug=2 mode
üst
8b5a850b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
emfplus.cxx
cppcanvas/source/mtfrenderer/emfplus.cxx
+4
-8
No files found.
cppcanvas/source/mtfrenderer/emfplus.cxx
Dosyayı görüntüle @
55240e88
...
...
@@ -428,7 +428,7 @@ namespace cppcanvas
if
(
additionalFlags
&
0x02
)
{
EMFP_DEBUG
(
printf
(
"EMF+
\t
use transformation
\n
"
,
color
));
EMFP_DEBUG
(
printf
(
"EMF+
\t
use transformation
\n
"
));
s
>>
transformation
;
hasTransformation
=
true
;
EMFP_DEBUG
(
printf
(
"EMF+
\t
m11: %f m12: %f
\n
EMF+
\t
m21: %f m22: %f
\n
EMF+
\t
dx: %f dy: %f
\n
"
,
...
...
@@ -503,7 +503,7 @@ namespace cppcanvas
s
>>
color
;
if
(
additionalFlags
&
0x02
)
{
EMFP_DEBUG
(
printf
(
"EMF+
\t
use transformation
\n
"
,
color
));
EMFP_DEBUG
(
printf
(
"EMF+
\t
use transformation
\n
"
));
s
>>
transformation
;
hasTransformation
=
true
;
EMFP_DEBUG
(
printf
(
"EMF+
\t
m11: %f m12: %f
\n
EMF+
\t
m21: %f m22: %f
\n
EMF+
\t
dx: %f dy: %f
\n
"
,
...
...
@@ -708,7 +708,7 @@ namespace cppcanvas
GraphicFilter
filter
;
filter
.
ImportGraphic
(
graphic
,
String
(),
s
);
EMFP_DEBUG
(
printf
(
"EMF+
\t
bitmap width: %
d height: %
d
\n
"
,
graphic
.
GetBitmap
().
GetSizePixel
().
Width
(),
graphic
.
GetBitmap
().
GetSizePixel
().
Height
()));
EMFP_DEBUG
(
printf
(
"EMF+
\t
bitmap width: %
ld height: %l
d
\n
"
,
graphic
.
GetBitmap
().
GetSizePixel
().
Width
(),
graphic
.
GetBitmap
().
GetSizePixel
().
Height
()));
}
}
else
if
(
type
==
2
)
{
...
...
@@ -1093,7 +1093,6 @@ namespace cppcanvas
void
ImplRenderer
::
processObjectRecord
(
SvMemoryStream
&
rObjectStream
,
sal_uInt16
flags
)
{
EMFP_DEBUG
(
sal_uInt32
objectLen
);
sal_uInt32
index
;
EMFP_DEBUG
(
printf
(
"EMF+ Object slot: %hd flags: %hx
\n
"
,
flags
&
0xff
,
flags
&
0xff00
));
...
...
@@ -1285,16 +1284,13 @@ namespace cppcanvas
{
EMFP_DEBUG
(
sal_uInt8
index
=
flags
&
0xff
);
sal_uInt32
brushIndexOrColor
;
EMFP_DEBUG
(
sal_Int32
brushIndex
);
sal_Int32
points
;
EMFP_DEBUG
(
sal_uInt32
color
);
EMFP_DEBUG
(
sal_uInt16
transparency
=
0
);
rMF
>>
brushIndexOrColor
;
rMF
>>
points
;
EMFP_DEBUG
(
printf
(
"EMF+ FillPolygon in slot: %d points: %d
\n
"
,
index
,
points
));
EMFP_DEBUG
(
printf
(
"EMF+
\t
with solid color (ARGB): 0x%08X
\n
"
,
c
olor
));
EMFP_DEBUG
(
printf
(
"EMF+
\t
%s: 0x%08x
\n
"
,
(
flags
&
0x8000
)
?
"color"
:
"brush index"
,
brushIndexOrC
olor
));
EMFPPath
path
(
points
,
true
);
path
.
Read
(
rMF
,
flags
,
*
this
);
...
...
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