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
2b700a71
Kaydet (Commit)
2b700a71
authored
Haz 12, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
EMF+: aBaseTransform is a hardcoded identity matrix, don't bother with it
Change-Id: Ifa4f42c4f17a70c7238347a13897ef6742eb4679
üst
28e94510
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
28 deletions
+0
-28
implrenderer.hxx
cppcanvas/source/inc/implrenderer.hxx
+0
-1
emfplus.cxx
cppcanvas/source/mtfrenderer/emfplus.cxx
+0
-15
implrenderer.cxx
cppcanvas/source/mtfrenderer/implrenderer.cxx
+0
-3
winmtf.cxx
vcl/source/filter/wmf/winmtf.cxx
+0
-9
No files found.
cppcanvas/source/inc/implrenderer.hxx
Dosyayı görüntüle @
2b700a71
...
...
@@ -286,7 +286,6 @@ static float GetSwapFloat( SvStream& rSt )
ActionVector
maActions
;
/* EMF+ */
XForm
aBaseTransform
;
XForm
aWorldTransform
;
EMFPObject
*
aObjects
[
256
];
float
fPageScale
;
...
...
cppcanvas/source/mtfrenderer/emfplus.cxx
Dosyayı görüntüle @
2b700a71
...
...
@@ -853,9 +853,6 @@ namespace cppcanvas
x
-=
nFrameLeft
;
y
-=
nFrameTop
;
x
*=
aBaseTransform
.
eM11
;
y
*=
aBaseTransform
.
eM22
;
return
::
basegfx
::
B2DPoint
(
x
,
y
);
}
...
...
@@ -868,9 +865,6 @@ namespace cppcanvas
MapToDevice
(
w
,
h
);
w
*=
aBaseTransform
.
eM11
;
h
*=
aBaseTransform
.
eM22
;
return
::
basegfx
::
B2DSize
(
w
,
h
);
}
...
...
@@ -921,7 +915,6 @@ namespace cppcanvas
::
basegfx
::
B2DHomMatrix
aTextureTransformation
;
::
basegfx
::
B2DHomMatrix
aWorldTransformation
;
::
basegfx
::
B2DHomMatrix
aBaseTransformation
;
rendering
::
Texture
aTexture
;
aWorldTransformation
.
set
(
0
,
0
,
aWorldTransform
.
eM11
);
...
...
@@ -931,13 +924,6 @@ namespace cppcanvas
aWorldTransformation
.
set
(
1
,
1
,
aWorldTransform
.
eM22
);
aWorldTransformation
.
set
(
1
,
2
,
aWorldTransform
.
eDy
);
aBaseTransformation
.
set
(
0
,
0
,
aBaseTransform
.
eM11
);
aBaseTransformation
.
set
(
0
,
1
,
aBaseTransform
.
eM21
);
aBaseTransformation
.
set
(
0
,
2
,
aBaseTransform
.
eDx
);
aBaseTransformation
.
set
(
1
,
0
,
aBaseTransform
.
eM12
);
aBaseTransformation
.
set
(
1
,
1
,
aBaseTransform
.
eM22
);
aBaseTransformation
.
set
(
1
,
2
,
aBaseTransform
.
eDy
);
if
(
brush
->
type
==
4
)
{
aTextureTransformation
.
scale
(
brush
->
areaWidth
,
brush
->
areaHeight
);
aTextureTransformation
.
translate
(
brush
->
areaX
,
brush
->
areaY
);
...
...
@@ -964,7 +950,6 @@ namespace cppcanvas
aTextureTransformation
.
scale
(
100.0
*
nMmX
/
nPixX
,
100.0
*
nMmY
/
nPixY
);
aTextureTransformation
.
translate
(
-
nFrameLeft
,
-
nFrameTop
);
aTextureTransformation
*=
rState
.
mapModeTransform
;
aTextureTransformation
*=
aBaseTransformation
;
aTexture
.
RepeatModeX
=
rendering
::
TexturingMode
::
CLAMP
;
aTexture
.
RepeatModeY
=
rendering
::
TexturingMode
::
CLAMP
;
...
...
cppcanvas/source/mtfrenderer/implrenderer.cxx
Dosyayı görüntüle @
2b700a71
...
...
@@ -1873,9 +1873,6 @@ namespace cppcanvas
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ picture frame: "
<<
nFrameLeft
<<
","
<<
nFrameTop
<<
" - "
<<
nFrameRight
<<
","
<<
nFrameBottom
);
rMF
>>
nPixX
>>
nPixY
>>
nMmX
>>
nMmY
;
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ ref device pixel size: "
<<
nPixX
<<
"x"
<<
nPixY
<<
" mm size: "
<<
nMmX
<<
"x"
<<
nMmY
);
rMF
>>
aBaseTransform
;
//aWorldTransform.Set (aBaseTransform);
}
}
break
;
...
...
vcl/source/filter/wmf/winmtf.cxx
Dosyayı görüntüle @
2b700a71
...
...
@@ -2251,15 +2251,6 @@ void WinMtfOutput::PassEMFPlusHeaderInfo()
mem
<<
nLeft
<<
nTop
<<
nRight
<<
nBottom
;
mem
<<
mnPixX
<<
mnPixY
<<
mnMillX
<<
mnMillY
;
float
one
,
zero
;
one
=
1
;
zero
=
0
;
// add transformation matrix to be used in vcl's metaact.cxx for
// rotate and scale operations
mem
<<
one
<<
zero
<<
zero
<<
one
<<
zero
<<
zero
;
// need to flush the stream, otherwise GetEndOfData will return 0
// on windows where the function parameters are probably resolved in reverse order
mem
.
Flush
();
...
...
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