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
cf6b2f0e
Kaydet (Commit)
cf6b2f0e
authored
Mar 15, 2013
tarafından
Radek Doulik
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implemented EmfPlusRecordTypeFillEllipse record
Change-Id: Id9362d05ddae2066f2fa289640f447393d7cda84
üst
b6f6c3a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
emfplus.cxx
cppcanvas/source/mtfrenderer/emfplus.cxx
+26
-0
No files found.
cppcanvas/source/mtfrenderer/emfplus.cxx
Dosyayı görüntüle @
cf6b2f0e
...
...
@@ -53,6 +53,8 @@
#define EmfPlusRecordTypeFillRects 16394
#define EmfPlusRecordTypeFillPolygon 16396
#define EmfPlusRecordTypeDrawLines 16397
#define EmfPlusRecordTypeFillEllipse 16398
#define EmfPlusRecordTypeDrawEllipse 16399
#define EmfPlusRecordTypeFillPie 16400
#define EmfPlusRecordTypeFillPath 16404
#define EmfPlusRecordTypeDrawPath 16405
...
...
@@ -1296,6 +1298,30 @@ namespace cppcanvas
EMFPPlusFillPolygon
(((
EMFPPath
*
)
aObjects
[
index
])
->
GetPolygon
(
*
this
),
rFactoryParms
,
rState
,
rCanvas
,
flags
&
0x8000
,
brushIndexOrColor
);
}
break
;
case
EmfPlusRecordTypeFillEllipse
:
{
sal_uInt32
index
=
flags
&
0xff
;
sal_uInt32
brushIndexOrColor
;
rMF
>>
brushIndexOrColor
;
EMFP_DEBUG
(
printf
(
"EMF+ FillEllipse slot: %u
\n
"
,
(
unsigned
int
)
index
));
float
dx
,
dy
,
dw
,
dh
;
ReadRectangle
(
rMF
,
dx
,
dy
,
dw
,
dh
,
flags
&
0x4000
);
EMFP_DEBUG
(
printf
(
"EMF+ RectData: %f,%f %fx%f
\n
"
,
dx
,
dy
,
dw
,
dh
));
B2DPoint
mappedCenter
(
Map
(
dx
+
dw
/
2
,
dy
+
dh
/
2
));
B2DSize
mappedSize
(
MapSize
(
dw
/
2
,
dh
/
2
));
::
basegfx
::
B2DPolyPolygon
polyPolygon
(
::
basegfx
::
B2DPolygon
(
::
basegfx
::
tools
::
createPolygonFromEllipse
(
mappedCenter
,
mappedSize
.
getX
(),
mappedSize
.
getY
()
)
)
);
EMFPPlusFillPolygon
(
polyPolygon
,
rFactoryParms
,
rState
,
rCanvas
,
flags
&
0x8000
,
brushIndexOrColor
);
}
break
;
case
EmfPlusRecordTypeFillRects
:
{
EMFP_DEBUG
(
printf
(
"EMF+ FillRects
\n
"
));
...
...
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