Skip to content

Commit

Permalink
Update KeywordsA.clean.rst
Browse files Browse the repository at this point in the history
Added missing syntax details to ALPHA_BLEND command.
  • Loading branch information
NormanDunbar committed Dec 2, 2018
1 parent 9a6a546 commit e300cde
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 e300cde

Please sign in to comment.