maTransform had to go ( was always = identity)
This commit is contained in:
committed by
Fridrich Štrba
parent
7be233e60a
commit
e55595d0e0
@@ -44,7 +44,6 @@ PresenterSprite::PresenterSprite (void)
|
||||
mxSprite(),
|
||||
maSize(0,0),
|
||||
maLocation(0,0),
|
||||
maTransform(1,0,0, 0,1,0),
|
||||
mbIsVisible(false),
|
||||
mnPriority(0),
|
||||
mnAlpha(1.0)
|
||||
@@ -142,7 +141,6 @@ void PresenterSprite::ProvideSprite (void)
|
||||
mxSprite = mxSpriteFactory->createCustomSprite(maSize);
|
||||
if (mxSprite.is())
|
||||
{
|
||||
mxSprite->transform(maTransform);
|
||||
mxSprite->move(maLocation,
|
||||
rendering::ViewState(
|
||||
geometry::AffineMatrix2D(1,0,0, 0,1,0),
|
||||
|
@@ -73,7 +73,6 @@ private:
|
||||
::css::uno::Reference<css::rendering::XCustomSprite> mxSprite;
|
||||
css::geometry::RealSize2D maSize;
|
||||
css::geometry::RealPoint2D maLocation;
|
||||
css::geometry::AffineMatrix2D maTransform;
|
||||
bool mbIsVisible;
|
||||
double mnPriority;
|
||||
double mnAlpha;
|
||||
|
Reference in New Issue
Block a user