fixed bug in DrawLine function; extended DrawLine behavior

git-svn-id: svn://svn.cc65.org/cc65/trunk@2326 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst
2003-08-15 19:55:37 +00:00
parent a0209d0a86
commit 1ce25913dd
3 changed files with 19 additions and 7 deletions

View File

@@ -278,10 +278,13 @@ number as set in <tt/SetPattern/ but a true bit pattern.
<sect3>DrawLine
<p>
<tt/void DrawLine (struct window *myWindow)/
<tt/void DrawLine (char mode, struct window *myWindow)/
<p>
<tt/top/ parameters of <tt/struct window/ describe the starting point of the line, while
<tt/bottom/ are for the ending point. Current pattern from <tt/SetPattern/ is used for drawing.
<tt/bottom/ are for the ending point. If <tt/mode/ is <tt/DRAW_DRAW/ then current pattern from
<tt/SetPattern/ is used for drawing. If <tt/mode/ is <tt/DRAW_ERASE/ then line is erased from the
screen. If <tt/mode/ is <tt/DRAW_COPY/ then line is copied from/to back/frontbuffer, according to
<tt/dispBufferOn/ setting.
<sect2>Point Functions
<p>