Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
liveAssistant_web_demo
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
胡斌
5 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc809dfc58403c3d5d2a65f339a80f750c4fd18b
cc809dfc
1 parent
31a5693c
format code
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
14 行增加
和
14 行删除
pen_demo.html
pen_demo.html
查看文件 @
cc809df
...
...
@@ -719,20 +719,20 @@
}
function
on_pen_point
(
x
,
y
,
nPress
){
if
(
rotate_degree
==
0
)
{
draw_ext_input
(
x
,
y
,
nPress
);
}
else
if
(
rotate_degree
==
90
)
{
draw_ext_input
(
y
,
ext_input_panel_width
-
x
,
nPress
);
}
else
if
(
rotate_degree
==
180
)
{
draw_ext_input
(
ext_input_panel_width
-
x
,
ext_input_panel_height
-
y
,
nPress
);
}
else
{
draw_ext_input
(
ext_input_panel_height
-
y
,
x
,
nPress
);
}
function
on_pen_point
(
x
,
y
,
nPress
)
{
if
(
rotate_degree
==
0
)
{
draw_ext_input
(
x
,
y
,
nPress
);
}
else
if
(
rotate_degree
==
90
)
{
draw_ext_input
(
y
,
ext_input_panel_width
-
x
,
nPress
);
}
else
if
(
rotate_degree
==
180
)
{
draw_ext_input
(
ext_input_panel_width
-
x
,
ext_input_panel_height
-
y
,
nPress
);
}
else
{
draw_ext_input
(
ext_input_panel_height
-
y
,
x
,
nPress
);
}
}
...
...
请
注册
或
登录
后发表评论