Sync tp_magic_example.c again (mended bogus %s)
This commit is contained in:
parent
1a0a07ea32
commit
3f588ff6c0
10 changed files with 10 additions and 10 deletions
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
|
|
@ -564,7 +564,7 @@ void example_line_callback(void *pointer, int which, SDL_Surface * canvas,
|
||||||
/*
|
/*
|
||||||
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
Here we have simply use Tux Paint's "getpixel()" routine to pull pixel
|
||||||
values from the 'snapshot', and then "putpixel()" to draw them right
|
values from the 'snapshot', and then "putpixel()" to draw them right
|
||||||
into the 'snapshot'.
|
into the 'canvas'.
|
||||||
|
|
||||||
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
Note: putpixel() and getpixel() are safe to use, even if your X,Y values
|
||||||
are outside of the SDL surface (e.g., negative, or greater than the
|
are outside of the SDL surface (e.g., negative, or greater than the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue