Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
onlyoffice_core
Commits
c49703e3
Commit
c49703e3
authored
Jun 06, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdf dash pattern
parent
89211eb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
PdfWriter/OnlineOfficeBinToPdf.cpp
PdfWriter/OnlineOfficeBinToPdf.cpp
+22
-0
No files found.
PdfWriter/OnlineOfficeBinToPdf.cpp
View file @
c49703e3
...
@@ -346,6 +346,28 @@ namespace NSOnlineOfficeBinToPdf
...
@@ -346,6 +346,28 @@ namespace NSOnlineOfficeBinToPdf
pPdf
->
put_PenSize
(
ReadInt
(
current
,
curindex
)
/
100000.0
);
pPdf
->
put_PenSize
(
ReadInt
(
current
,
curindex
)
/
100000.0
);
break
;
break
;
}
}
case
ctPenDashStyle
:
{
BYTE
nDashType
=
*
current
++
;
curindex
++
;
switch
(
nDashType
)
{
case
Aggplus
:
:
DashStyleCustom
:
{
int
nCountDash
=
ReadInt
(
current
,
curindex
);
double
pDash
=
new
double
(
nCountDash
);
for
(
int
nDash
=
0
;
nDash
<
nCountDash
;
++
nDash
)
{
pDash
[
nDash
]
=
ReadInt
(
current
,
curindex
)
/
100000.0
;
}
pPdf
->
PenDashPattern
(
pDash
,
nCountDash
);
}
default:
pPdf
->
put_PenDashStyle
(
nDashType
);
}
break
;
}
case
ctPenLineJoin
:
case
ctPenLineJoin
:
{
{
pPdf
->
put_PenLineJoin
(
*
current
);
pPdf
->
put_PenLineJoin
(
*
current
);
...
...
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