BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
cc10990d
Commit
cc10990d
authored
May 13, 2017
by
Kiss-Vamosi Gabor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shadow bugfix
parent
20af4072
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
lv_draw.c
lv_draw/lv_draw.c
+17
-6
No files found.
lv_draw/lv_draw.c
View file @
cc10990d
...
...
@@ -1171,17 +1171,28 @@ static void lv_draw_cont_shadow_full(const area_t * cords_p, const area_t * mask
point_lb
.
y
=
ofs_lb
.
y
+
row
;
uint16_t
d
;
for
(
d
=
0
;
d
<
p
;
d
++
)
{
px_fp
(
point_rb
.
x
,
point_rb
.
y
,
mask_p
,
style
->
scolor
,
opa_v_result
[
d
]);
point_rb
.
x
++
;
for
(
d
=
0
;
d
<
p
;
d
++
)
{
if
(
point_rt
.
x
!=
point_lt
.
x
)
{
px_fp
(
point_lt
.
x
,
point_lt
.
y
,
mask_p
,
style
->
scolor
,
opa_v_result
[
d
]);
}
if
(
point_rb
.
x
!=
point_lb
.
x
&&
point_lt
.
y
!=
point_lb
.
y
)
{
px_fp
(
point_lb
.
x
,
point_lb
.
y
,
mask_p
,
style
->
scolor
,
opa_v_result
[
d
]);
}
if
(
point_lt
.
y
!=
point_lb
.
y
)
{
px_fp
(
point_rb
.
x
,
point_rb
.
y
,
mask_p
,
style
->
scolor
,
opa_v_result
[
d
]);
}
px_fp
(
point_rt
.
x
,
point_rt
.
y
,
mask_p
,
style
->
scolor
,
opa_v_result
[
d
]);
point_rt
.
x
++
;
px_fp
(
point_lb
.
x
,
point_rb
.
y
,
mask_p
,
style
->
scolor
,
opa_v_result
[
d
]);
point_rb
.
x
++
;
point_lb
.
x
--
;
p
x_fp
(
point_lt
.
x
,
point_lt
.
y
,
mask_p
,
style
->
scolor
,
opa_v_result
[
d
])
;
p
oint_rt
.
x
++
;
point_lt
.
x
--
;
}
...
...
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