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
f387c5da
Kaydet (Commit)
f387c5da
authored
Haz 12, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Pass also the bounding box in device units to the EMF+ part
Change-Id: I71d3029d4b3aafdc44d82b0bd9db9a54f9b8b81f
üst
d9b7d3a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
implrenderer.hxx
cppcanvas/source/inc/implrenderer.hxx
+4
-0
implrenderer.cxx
cppcanvas/source/mtfrenderer/implrenderer.cxx
+2
-0
winmtf.cxx
vcl/source/filter/wmf/winmtf.cxx
+7
-0
No files found.
cppcanvas/source/inc/implrenderer.hxx
Dosyayı görüntüle @
f387c5da
...
...
@@ -295,6 +295,10 @@ static float GetSwapFloat( SvStream& rSt )
sal_Int32
nHDPI
;
sal_Int32
nVDPI
;
/* EMF+ emf header info */
sal_Int32
nBoundsLeft
;
sal_Int32
nBoundsTop
;
sal_Int32
nBoundsRight
;
sal_Int32
nBoundsBottom
;
sal_Int32
nFrameLeft
;
sal_Int32
nFrameTop
;
sal_Int32
nFrameRight
;
...
...
cppcanvas/source/mtfrenderer/implrenderer.cxx
Dosyayı görüntüle @
f387c5da
...
...
@@ -1867,6 +1867,8 @@ namespace cppcanvas
SvMemoryStream
rMF
((
void
*
)
pAct
->
GetData
(),
pAct
->
GetDataSize
(),
STREAM_READ
);
rMF
>>
nBoundsLeft
>>
nBoundsTop
>>
nBoundsRight
>>
nBoundsBottom
;
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ picture bounds: "
<<
nBoundsLeft
<<
","
<<
nBoundsTop
<<
" - "
<<
nBoundsRight
<<
","
<<
nBoundsBottom
);
rMF
>>
nFrameLeft
>>
nFrameTop
>>
nFrameRight
>>
nFrameBottom
;
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ picture frame: "
<<
nFrameLeft
<<
","
<<
nFrameTop
<<
" - "
<<
nFrameRight
<<
","
<<
nFrameBottom
);
rMF
>>
nPixX
>>
nPixY
>>
nMmX
>>
nMmY
;
...
...
vcl/source/filter/wmf/winmtf.cxx
Dosyayı görüntüle @
f387c5da
...
...
@@ -2233,14 +2233,21 @@ void WinMtfOutput::PassEMFPlusHeaderInfo()
EMFP_DEBUG
(
printf
(
"
\t\t\t
add EMF_PLUS header info
\n
"
));
SvMemoryStream
mem
;
sal_Int32
nDevLeft
,
nDevRight
,
nDevTop
,
nDevBottom
;
sal_Int32
nLeft
,
nRight
,
nTop
,
nBottom
;
nDevLeft
=
mrclBounds
.
Left
();
nDevRight
=
mrclBounds
.
Right
();
nDevTop
=
mrclBounds
.
Top
();
nDevBottom
=
mrclBounds
.
Bottom
();
nLeft
=
mrclFrame
.
Left
();
nTop
=
mrclFrame
.
Top
();
nRight
=
mrclFrame
.
Right
();
nBottom
=
mrclFrame
.
Bottom
();
// emf header info
mem
<<
nDevLeft
<<
nDevTop
<<
nDevRight
<<
nDevBottom
;
mem
<<
nLeft
<<
nTop
<<
nRight
<<
nBottom
;
mem
<<
mnPixX
<<
mnPixY
<<
mnMillX
<<
mnMillY
;
...
...
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