Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
2d9e3429
Commit
2d9e3429
authored
Jun 14, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in shadow
parent
195b9794
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
xtt/lib/glow/src/glow_exportjbean.cpp
xtt/lib/glow/src/glow_exportjbean.cpp
+14
-5
No files found.
xtt/lib/glow/src/glow_exportjbean.cpp
View file @
2d9e3429
...
...
@@ -343,7 +343,10 @@ void GlowExportJBean::nodeclass( GlowNodeClass *nc, glow_eExportPass pass,
" }"
<<
endl
<<
" break;"
<<
endl
<<
" case 1:"
<<
endl
<<
" colorTone = oldColor;"
<<
endl
<<
" if ( levelColorTone != GeColor.COLOR_TONE_NO)"
<<
endl
<<
" colorTone = oldColor;"
<<
endl
<<
" else if ( levelFillColor != GeColor.COLOR_NO)"
<<
endl
<<
" fillColor = oldColor;"
<<
endl
<<
" break;"
<<
endl
<<
" }"
<<
endl
<<
" switch ( levelDirection) {"
<<
endl
<<
...
...
@@ -497,16 +500,22 @@ void GlowExportJBean::polyline( glow_sPoint *points, int point_cnt, int fill, in
" colorShift, colorIntensity, colorBrightness, colorInverse, borderColor));"
<<
endl
;
else
if
(
fill_eq_light
)
{
fp
<<
" if ( shadow != 0)"
<<
endl
<<
" g.setColor(GeColor.shiftColor("
<<
(
int
)
fill_drawtype
<<
","
<<
-
drawtype_incr
<<
", colorInverse));"
<<
endl
<<
" if ( shadow != 0) {"
<<
endl
<<
" int fcolor = GeColor.getDrawtype("
<<
(
int
)
fill_drawtype
<<
", colorTone,"
<<
endl
<<
" colorShift, colorIntensity, colorBrightness, colorInverse, fillColor);"
<<
endl
<<
" g.setColor(GeColor.shiftColor(fcolor,"
<<
-
drawtype_incr
<<
", colorInverse));"
<<
endl
<<
" }"
<<
endl
<<
" else"
<<
endl
<<
" g.setColor(GeColor.getColor("
<<
(
int
)
fill_drawtype
<<
", colorTone,"
<<
endl
<<
" colorShift, colorIntensity, colorBrightness, colorInverse, fillColor));"
<<
endl
;
}
else
if
(
fill_eq_shadow
)
{
fp
<<
" if ( shadow != 0)"
<<
endl
<<
" g.setColor(GeColor.shiftColor("
<<
(
int
)
fill_drawtype
<<
","
<<
drawtype_incr
<<
", colorInverse));"
<<
endl
<<
" if ( shadow != 0) {"
<<
endl
<<
" int fcolor = GeColor.getDrawtype("
<<
(
int
)
fill_drawtype
<<
", colorTone,"
<<
endl
<<
" colorShift, colorIntensity, colorBrightness, colorInverse, fillColor);"
<<
endl
<<
" g.setColor(GeColor.shiftColor( fcolor,"
<<
drawtype_incr
<<
", colorInverse));"
<<
endl
<<
" }"
<<
endl
<<
" else"
<<
endl
<<
" g.setColor(GeColor.getColor("
<<
(
int
)
fill_drawtype
<<
", colorTone,"
<<
endl
<<
" colorShift, colorIntensity, colorBrightness, colorInverse, fillColor));"
<<
endl
;
...
...
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