#include <2d.h>
Data Fields | |
| struct { | |
| INT8 scr_mode | |
| INT32 scr_offset | |
| INT16 draw_x | |
| INT16 draw_y | |
| INT16 draw_width | |
| INT16 draw_height | |
| INT16 pen_color [3] | |
| struct { | |
| INT16 x1 | |
| INT16 y1 | |
| INT16 x2 | |
| INT16 y2 | |
| } line | |
| struct { | |
| INT16 x | |
| INT16 y | |
| INT16 rx | |
| INT16 ry | |
| INT16 ang1 | |
| INT16 ang2 | |
| } arc | |
| } | draw |
| struct { | |
| INT8 scr_mode | |
| INT32 scr_offset | |
| INT16 scr_linewidth | |
| INT8 dst_mode | |
| INT32 dst_offset | |
| INT16 dst_linewidth | |
| INT8 scr_bpp | |
| INT8 dst_bpp | |
| INT32 rotate | |
| struct { | |
| INT8 colour_lut [256][4] | |
| } clut | |
| struct { | |
| INT32 width | |
| INT32 height | |
| } rectCopy | |
| struct { | |
| INT32 width | |
| INT32 height | |
| INT32 opmode | |
| INT16 intensity | |
| } alphabend | |
| struct { | |
| INT16 src_width | |
| INT16 src_height | |
| INT16 dst_width | |
| INT16 dst_height | |
| } stretch | |
| struct { | |
| INT16 brush_linewidth | |
| INT32 brush_offset | |
| INT16 brush_width | |
| INT16 brush_height | |
| INT16 rop | |
| INT16 width | |
| INT16 height | |
| } rop | |
| struct { | |
| INT16 width | |
| INT16 height | |
| INT16 color [3] | |
| } transparent | |
| } | blit |
| struct { ... } _2d_cmd::alphabend |
| struct { ... } _2d_cmd::arc |
| struct { ... } _2d_cmd::blit |
| struct { ... } _2d_cmd::clut |
| INT8 _2d_cmd::colour_lut[256][4] |
| struct { ... } _2d_cmd::draw |
| struct { ... } _2d_cmd::line |
| struct { ... } _2d_cmd::rectCopy |
| struct { ... } _2d_cmd::rop |
| struct { ... } _2d_cmd::stretch |
| struct { ... } _2d_cmd::transparent |
1.6.3