Skip to content

Commit

Permalink
Merge pull request #6 from NormanDunbar/working
Browse files Browse the repository at this point in the history
Update KeywordsA.clean.rst
  • Loading branch information
NormanDunbar committed Dec 2, 2018
2 parents fac9c32 + e300cde commit af4cc10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sphinx/source/KeywordsA.clean.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,12 @@ The taskno% and taskid% can be found using
ALPHA_BLEND
===========

+----------+----------------------+
| Syntax | ALPHA_BLEND opacity% |
+----------+----------------------+
| Location | SMSQ version 3.26 |
+----------+----------------------+

Alpha-blending is a method of drawing graphics whereby the resultant output is partly transparent – overlapping shapes and text created with BLOCK, LINE, CIRCLE, PRINT etc. will be see-through to a degree, set by a new command ALPHA_BLEND. This takes a value from 0 (fully transparent) to 255 (opaque), ALPHA_BLEND 128 will make all output half-transparent, for example.

In the past, we have only had the variations offered by the OVER command, now we can achieve some pretty exciting graphical effects for use in games, for example. Here’s an example which draws three overlapping circles which are half-transparent::
Expand Down

0 comments on commit af4cc10

Please sign in to comment.