#include "../jnilib.h"
#include "../awt/frame.h"
#include "../graphic/color.h"
#include <stdlib.h>
Include dependency graph for turtlegraphic.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | TurtleGraphic_ |
A structure for C, which describes the TurtleGraphic. More... | |
struct | TurtleGraphicCPP_ |
A structure for C++, which describes the TurtleGraphic. More... | |
struct | TurtleGraphicData |
This structure holds the data needed for the TurtleGraphic for C and C++. More... | |
Defines | |
#define | createTurtleGraphic createTurtleGraphicC |
Defines which function to call when createTurtleGraphic is called. | |
#define | deleteTurtleGraphic deleteTurtleGraphicC |
Defines which function to call when deleteTurtleGraphic is called. | |
Typedefs | |
typedef TurtleGraphic_ | TurtleGraphic |
Defines which structure is used as TurtleGraphic. | |
typedef TurtleGraphic_ | TurtleGraphic_ |
A structure for C, which describes the TurtleGraphic. | |
typedef TurtleGraphicCPP_ | TurtleGraphicCPP_ |
A structure for C++, which describes the TurtleGraphic. | |
typedef TurtleGraphicData | TurtleGraphicData |
This structure holds the data needed for the TurtleGraphic for C and C++. | |
Functions | |
void | createTurtleGraphicC (TurtleGraphic_ *tg, Frame *frame) |
Function is called when working with C and calling the function createTurtleGraphic. | |
void | createTurtleGraphicCPP (TurtleGraphicCPP_ *tg, Frame *frame) |
Function is called when working with C++ and calling the function createTurtleGraphic. | |
void | deleteTurtleGraphicC (TurtleGraphic_ *tg) |
Function is called when working with C and calling the function deleteTurtleGraphic. | |
void | deleteTurtleGraphicCPP (TurtleGraphicCPP_ *tg) |
Function is called when working with C++ and calling the function deleteTurtleGraphic. |
The TurtleGraphic enables you draw on a Frame like you could to it with the LogoWriter. You will not see a turtle, but you can move forward and backward, change your movement angle, write on a Frame, etc.
Definition in file turtlegraphic.h.
|
Defines which function to call when createTurtleGraphic is called.
Definition at line 35 of file turtlegraphic.h. |
|
Defines which function to call when deleteTurtleGraphic is called.
Definition at line 36 of file turtlegraphic.h. |
|
Defines which structure is used as TurtleGraphic.
Definition at line 34 of file turtlegraphic.h. |
|
A structure for C, which describes the TurtleGraphic.
|
|
A structure for C++, which describes the TurtleGraphic.
|
|
This structure holds the data needed for the TurtleGraphic for C and C++.
|
|
Function is called when working with C and calling the function createTurtleGraphic. It initializes the TurtleGraphic_ structure.
Definition at line 237 of file turtlegraphic.c. |
|
Function is called when working with C++ and calling the function createTurtleGraphic. It initializes the TurtleGraphicCPP_ structure.
Definition at line 224 of file turtlegraphic.c. |
|
Function is called when working with C and calling the function deleteTurtleGraphic.
Definition at line 267 of file turtlegraphic.c. |
|
Function is called when working with C++ and calling the function deleteTurtleGraphic.
Definition at line 257 of file turtlegraphic.c. |