Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
5738cfd8
Commit
5738cfd8
authored
Jan 31, 2017
by
Alexey.Musinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
for iOS
parent
82ccad7c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
58 deletions
+70
-58
cell/native/native.js
cell/native/native.js
+66
-54
common/Native/Wrappers/DrawingStream.js
common/Native/Wrappers/DrawingStream.js
+2
-2
common/Native/Wrappers/ShapeDrawer.js
common/Native/Wrappers/ShapeDrawer.js
+2
-2
No files found.
cell/native/native.js
View file @
5738cfd8
This diff is collapsed.
Click to expand it.
common/Native/Wrappers/DrawingStream.js
View file @
5738cfd8
...
...
@@ -462,7 +462,7 @@ CDrawingStreamSerializer.prototype["PD_EndShapeDraw"] = function()
{
this
.
Memory
.
push
(
71
);
};
CDrawingStreamSerializer
.
prototype
[
"
PD_put_BrushTextu
t
e
"
]
=
function
(
id
,
l
,
t
,
r
,
b
)
CDrawingStreamSerializer
.
prototype
[
"
PD_put_BrushTextu
r
e
"
]
=
function
(
id
,
l
,
t
,
r
,
b
)
{
if
(
l
===
undefined
)
{
...
...
@@ -1271,4 +1271,4 @@ CDrawingStream.prototype =
{
return
this
.
Native
[
"
PD_DrawPresentationComment
"
](
type
,
x
,
y
,
w
,
h
);
}
};
\ No newline at end of file
};
common/Native/Wrappers/ShapeDrawer.js
View file @
5738cfd8
...
...
@@ -663,11 +663,11 @@ CShapeDrawer.prototype =
case
Asc
.
c_oAscFill
.
FILL_TYPE_BLIP
:
{
if
(
!
_fill
.
srcRect
)
this
.
NativeGraphics
[
"
PD_put_BrushTextu
t
e
"
](
_fill
.
RasterImageId
);
this
.
NativeGraphics
[
"
PD_put_BrushTextu
r
e
"
](
_fill
.
RasterImageId
);
else
{
var
_sR
=
_fill
.
srcRect
;
this
.
NativeGraphics
[
"
PD_put_BrushTextu
t
e
"
](
_fill
.
RasterImageId
,
_sR
.
l
,
_sR
.
t
,
_sR
.
r
,
_sR
.
b
);
this
.
NativeGraphics
[
"
PD_put_BrushTextu
r
e
"
](
_fill
.
RasterImageId
,
_sR
.
l
,
_sR
.
t
,
_sR
.
r
,
_sR
.
b
);
}
this
.
NativeGraphics
[
"
PD_put_BrushTextureMode
"
]((
null
==
_fill
.
tile
)
?
1
:
2
);
...
...
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