GrafX2 2.9.3227
The ultimate 256-color painting program
T_Paintbrush Struct Reference

#include <struct.h>

+ Collaboration diagram for T_Paintbrush:

Data Fields

byte Sprite [PAINTBRUSH_HEIGHT][PAINTBRUSH_WIDTH]
 Graphic resources for the preset paintbrushes. More...
 
word Width
 Width of the preset paintbrushes. More...
 
word Height
 Height of the preset paintbrushes. More...
 
byte Shape
 Type of the preset paintbrush: index in enum PAINTBRUSH_SHAPES. More...
 
word Offset_X
 Brush handle for the preset brushes. Generally T_Paintbrush::Width[]/2. More...
 
word Offset_Y
 Brush handle for the preset brushes. Generally T_Paintbrush::Height[]/2. More...
 

Field Documentation

◆ Sprite

byte T_Paintbrush::Sprite[PAINTBRUSH_HEIGHT][PAINTBRUSH_WIDTH]

Graphic resources for the preset paintbrushes.

Referenced by Init_paintbrush(), Load_CFG(), and Select_paintbrush().

◆ Width

word T_Paintbrush::Width

Width of the preset paintbrushes.

Referenced by Init_paintbrush(), Init_paintbrushes(), Load_CFG(), Save_CFG(), Select_paintbrush(), and Store_paintbrush().

◆ Height

word T_Paintbrush::Height

Height of the preset paintbrushes.

Referenced by Init_paintbrush(), Init_paintbrushes(), Load_CFG(), Save_CFG(), Select_paintbrush(), and Store_paintbrush().

◆ Shape

byte T_Paintbrush::Shape

Type of the preset paintbrush: index in enum PAINTBRUSH_SHAPES.

Referenced by Init_paintbrush(), Select_paintbrush(), and Store_paintbrush().

◆ Offset_X

word T_Paintbrush::Offset_X

Brush handle for the preset brushes. Generally T_Paintbrush::Width[]/2.

Referenced by Init_paintbrush(), Init_paintbrushes(), Select_paintbrush(), and Store_paintbrush().

◆ Offset_Y

word T_Paintbrush::Offset_Y

Brush handle for the preset brushes. Generally T_Paintbrush::Height[]/2.

Referenced by Init_paintbrush(), Init_paintbrushes(), Select_paintbrush(), and Store_paintbrush().


The documentation for this struct was generated from the following file: