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
a369737c
Kaydet (Commit)
a369737c
authored
Eki 15, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rename DummyShapeFactory to OpenglShapeFactory
Change-Id: Ife9640b10e90351f871513f1f8e26d80c384e0d9
üst
0574f59c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
35 deletions
+37
-35
Library_chartcore.mk
chart2/Library_chartcore.mk
+1
-1
OpenglShapeFactory.hxx
chart2/source/view/inc/OpenglShapeFactory.hxx
+4
-4
AbstractShapeFactory.cxx
chart2/source/view/main/AbstractShapeFactory.cxx
+2
-2
OpenglShapeFactory.cxx
chart2/source/view/main/OpenglShapeFactory.cxx
+30
-28
No files found.
chart2/Library_chartcore.mk
Dosyayı görüntüle @
a369737c
...
...
@@ -96,7 +96,7 @@ $(eval $(call gb_Library_add_exception_objects,chartcore,\
chart2/source/view/main/Clipping \
chart2/source/view/main/DataPointSymbolSupplier \
chart2/source/view/main/DrawModelWrapper \
chart2/source/view/main/
Dummy
ShapeFactory \
chart2/source/view/main/
Opengl
ShapeFactory \
chart2/source/view/main/DummyXShape \
chart2/source/view/main/LabelPositionHelper \
chart2/source/view/main/Linear3DTransformation \
...
...
chart2/source/view/inc/
Dummy
ShapeFactory.hxx
→
chart2/source/view/inc/
Opengl
ShapeFactory.hxx
Dosyayı görüntüle @
a369737c
...
...
@@ -7,16 +7,16 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef CHART2_
DUMMY
_SHAPE_FACTORY
#define CHART2_
DUMMY
_SHAPE_FACTORY
#ifndef CHART2_
OPENGL
_SHAPE_FACTORY
#define CHART2_
OPENGL
_SHAPE_FACTORY
#include "AbstractShapeFactory.hxx"
namespace
chart
{
namespace
dummy
{
namespace
opengl
{
class
Dummy
ShapeFactory
:
public
chart
::
AbstractShapeFactory
class
Opengl
ShapeFactory
:
public
chart
::
AbstractShapeFactory
{
public
:
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
...
...
chart2/source/view/main/AbstractShapeFactory.cxx
Dosyayı görüntüle @
a369737c
...
...
@@ -38,7 +38,7 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b3dhommatrix.hxx>
#include "
Dummy
ShapeFactory.hxx"
#include "
Opengl
ShapeFactory.hxx"
#include "ShapeFactory.hxx"
using
namespace
com
::
sun
::
star
;
...
...
@@ -54,7 +54,7 @@ AbstractShapeFactory* AbstractShapeFactory::getOrCreateShapeFactory(uno::Referen
return
pShapeFactory
;
if
(
getenv
(
"CHART_DUMMY_FACTORY"
))
pShapeFactory
=
new
dummy
::
Dummy
ShapeFactory
();
pShapeFactory
=
new
opengl
::
Opengl
ShapeFactory
();
else
pShapeFactory
=
new
ShapeFactory
(
xFactory
);
...
...
chart2/source/view/main/
Dummy
ShapeFactory.cxx
→
chart2/source/view/main/
Opengl
ShapeFactory.cxx
Dosyayı görüntüle @
a369737c
...
...
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "
Dummy
ShapeFactory.hxx"
#include "
Opengl
ShapeFactory.hxx"
#include "DummyXShape.hxx"
#include "ViewDefines.hxx"
#include "Stripe.hxx"
...
...
@@ -54,13 +54,15 @@
using
namespace
::
com
::
sun
::
star
;
using
::
com
::
sun
::
star
::
uno
::
Reference
;
using
chart
::
dummy
::
DummyXShape
;
using
chart
::
dummy
::
DummyXShapes
;
namespace
chart
{
namespace
dummy
{
namespace
opengl
{
uno
::
Reference
<
drawing
::
XShapes
>
Dummy
ShapeFactory
::
getOrCreateChartRootShape
(
uno
::
Reference
<
drawing
::
XShapes
>
Opengl
ShapeFactory
::
getOrCreateChartRootShape
(
const
uno
::
Reference
<
drawing
::
XDrawPage
>&
)
{
return
new
DummyXShapes
();
...
...
@@ -69,7 +71,7 @@ uno::Reference< drawing::XShapes > DummyShapeFactory::getOrCreateChartRootShape(
// methods for 3D shape creation
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createCube
(
Opengl
ShapeFactory
::
createCube
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
Position3D
&
,
const
drawing
::
Direction3D
&
,
sal_Int32
...
...
@@ -81,7 +83,7 @@ uno::Reference<drawing::XShape>
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createCylinder
(
Opengl
ShapeFactory
::
createCylinder
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
Position3D
&
,
const
drawing
::
Direction3D
&
,
sal_Int32
)
...
...
@@ -90,7 +92,7 @@ uno::Reference<drawing::XShape>
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createPyramid
(
Opengl
ShapeFactory
::
createPyramid
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
Position3D
&
,
const
drawing
::
Direction3D
&
,
double
,
bool
...
...
@@ -101,7 +103,7 @@ uno::Reference<drawing::XShape>
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createCone
(
Opengl
ShapeFactory
::
createCone
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
Position3D
&
,
const
drawing
::
Direction3D
&
,
double
,
sal_Int32
)
...
...
@@ -110,7 +112,7 @@ uno::Reference<drawing::XShape>
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createPieSegment2D
(
Opengl
ShapeFactory
::
createPieSegment2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
double
,
double
,
double
,
double
...
...
@@ -121,7 +123,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createPieSegment
(
Opengl
ShapeFactory
::
createPieSegment
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
double
,
double
,
double
,
double
...
...
@@ -133,7 +135,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createStripe
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createStripe
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
Stripe
&
,
const
uno
::
Reference
<
beans
::
XPropertySet
>&
,
const
tPropertyNameMap
&
...
...
@@ -145,7 +147,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createArea3D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createArea3D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
PolyPolygonShape3D
&
,
double
)
{
...
...
@@ -153,14 +155,14 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createArea2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createArea2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
PolyPolygonShape3D
&
)
{
return
new
DummyXShape
();
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createSymbol2D
(
Opengl
ShapeFactory
::
createSymbol2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
Position3D
&
,
const
drawing
::
Direction3D
&
...
...
@@ -172,7 +174,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createGraphic2D
(
Opengl
ShapeFactory
::
createGraphic2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
Position3D
&
,
const
drawing
::
Direction3D
&
...
...
@@ -182,21 +184,21 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShapes
>
Dummy
ShapeFactory
::
createGroup2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createGroup2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
OUString
)
{
return
new
DummyXShapes
();
}
uno
::
Reference
<
drawing
::
XShapes
>
Dummy
ShapeFactory
::
createGroup3D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createGroup3D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
OUString
)
{
return
new
DummyXShapes
();
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createCircle2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createCircle2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
Position3D
&
,
const
drawing
::
Direction3D
&
)
{
...
...
@@ -204,7 +206,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createCircle
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createCircle
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
awt
::
Size
&
,
const
awt
::
Point
&
)
{
...
...
@@ -212,7 +214,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createLine3D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createLine3D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
PolyPolygonShape3D
&
,
const
VLineProperties
&
)
{
...
...
@@ -220,7 +222,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createLine2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createLine2D
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
drawing
::
PointSequenceSequence
&
,
const
VLineProperties
*
)
{
...
...
@@ -228,20 +230,20 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createLine
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
Opengl
ShapeFactory
::
createLine
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
awt
::
Size
&
,
const
awt
::
Point
&
)
{
return
new
DummyXShape
();
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createInvisibleRectangle
(
uno
::
Reference
<
drawing
::
XShape
>
Opengl
ShapeFactory
::
createInvisibleRectangle
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
awt
::
Size
&
)
{
return
new
DummyXShape
();
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createRectangle
(
uno
::
Reference
<
drawing
::
XShape
>
Opengl
ShapeFactory
::
createRectangle
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
awt
::
Size
&
,
const
awt
::
Point
&
...
...
@@ -252,7 +254,7 @@ uno::Reference< drawing::XShape > DummyShapeFactory::createRectangle(
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createRectangle
(
Opengl
ShapeFactory
::
createRectangle
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
)
{
...
...
@@ -260,7 +262,7 @@ uno::Reference< drawing::XShape >
}
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createText
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
Opengl
ShapeFactory
::
createText
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
OUString
&
,
const
tNameSequence
&
,
const
tAnySequence
&
...
...
@@ -271,7 +273,7 @@ uno::Reference< drawing::XShape >
uno
::
Reference
<
drawing
::
XShape
>
Dummy
ShapeFactory
::
createText
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
Opengl
ShapeFactory
::
createText
(
const
uno
::
Reference
<
drawing
::
XShapes
>&
,
const
awt
::
Size
&
,
const
awt
::
Point
&
,
uno
::
Sequence
<
uno
::
Reference
<
chart2
::
XFormattedString
>
>
,
const
uno
::
Reference
<
beans
::
XPropertySet
>
,
...
...
@@ -280,13 +282,13 @@ uno::Reference< drawing::XShape >
return
new
DummyXShape
();
}
void
Dummy
ShapeFactory
::
createSeries
(
const
uno
::
Reference
<
void
Opengl
ShapeFactory
::
createSeries
(
const
uno
::
Reference
<
drawing
::
XShapes
>
&
,
const
DataSeriesState
&
)
{
}
void
Dummy
ShapeFactory
::
pushNextSeriesState
(
const
uno
::
Reference
<
void
Opengl
ShapeFactory
::
pushNextSeriesState
(
const
uno
::
Reference
<
drawing
::
XShapes
>
&
,
const
DataSeriesState
&
,
const
DataSeriesState
&
)
...
...
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