Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
ac113dd7
Commit
ac113dd7
authored
Nov 10, 2011
by
Ivan Ilin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flash blur for CFF fixed
parent
37afb699
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
UBCFFSubsetAdaptor.cpp
src/adaptors/UBCFFSubsetAdaptor.cpp
+2
-1
UBCFFSubsetAdaptor.h
src/adaptors/UBCFFSubsetAdaptor.h
+0
-3
No files found.
src/adaptors/UBCFFSubsetAdaptor.cpp
View file @
ac113dd7
...
...
@@ -637,7 +637,8 @@ bool UBCFFSubsetAdaptor::UBCFFSubsetReader::parseSvgFlash(const QDomElement &ele
return
false
;
}
QString
flashUrl
=
UBW3CWidget
::
createNPAPIWrapperInDir
(
flashPath
,
tmpFlashDir
,
"application/x-shockwave-flash"
);
QString
flashUrl
=
UBW3CWidget
::
createNPAPIWrapperInDir
(
flashPath
,
tmpFlashDir
,
"application/x-shockwave-flash"
,
QSize
(
mCurrentSceneRect
.
width
(),
mCurrentSceneRect
.
height
()));
UBGraphicsWidgetItem
*
flashItem
=
mCurrentScene
->
addW3CWidget
(
QUrl
::
fromLocalFile
(
flashUrl
));
flashItem
->
setSourceUrl
(
urlPath
);
...
...
src/adaptors/UBCFFSubsetAdaptor.h
View file @
ac113dd7
...
...
@@ -64,7 +64,6 @@ private:
QSize
mSize
;
private
:
// to kill
QDomDocument
mDOMdoc
;
QDomNode
mCurrentDOMElement
;
QHash
<
QString
,
UBGraphicsItem
*>
persistedItems
;
...
...
@@ -101,7 +100,6 @@ private:
,
int
&
fontWeight
,
int
&
textAlign
,
QTransform
&
fontTransform
);
inline
void
hashSceneItem
(
const
QDomElement
&
element
,
UBGraphicsItem
*
item
);
// to kill
void
parseTextAttributes
(
const
QDomElement
&
element
,
qreal
&
fontSize
,
QColor
&
fontColor
,
QString
&
fontFamily
,
QString
&
fontStretch
,
bool
&
italic
,
...
...
@@ -114,7 +112,6 @@ private:
bool
persistCurrentScene
();
// helper methods
// bool getCurElementTransorm(QTransform &transform);
void
repositionSvgItem
(
QGraphicsItem
*
item
,
qreal
width
,
qreal
height
,
qreal
x
,
qreal
y
,
bool
useTransform
,
QTransform
&
transform
);
...
...
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