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

#include <loadsave.h>

+ Collaboration diagram for T_IO_Context:

Data Fields

enum CONTEXT_TYPE Type
 Kind of context. Internally used to differentiate the "sub-classes". More...
 
char * File_name
 File name in UTF-8 (or short ASCII file nmae under win32) More...
 
wordFile_name_unicode
 Wide character version of the filename. More...
 
char * File_directory
 Directory. If NULL File_name should be the full path name. More...
 
byte Format
 
T_Palette Palette
 
short Width
 
short Height
 
short Original_width
 
short Original_height
 Size of the whole image in case of PREVIEW of a thumbnail. More...
 
int Nb_layers
 
char Comment [COMMENT_SIZE+1]
 
byte Background_transparent
 
byte Transparent_color
 
byte bpp
 
enum PIXEL_RATIO Ratio
 Pixel ratio of the image. More...
 
byteTarget_address
 Load/save address of first pixel. More...
 
long Pitch
 Pitch: Difference of addresses between one pixel and the one just "below" it. More...
 
char * Original_file_name
 Original file name, stored in GIF file. More...
 
char * Original_file_directory
 Original file directory, stored in GIF file. More...
 
byte Color_cycles
 
T_Color_cycle Cycle_range [16]
 
int Current_layer
 Internal: during load, marks which layer is being loaded. More...
 
T_ComponentsBuffer_image_24b
 Internal: Used to mark truecolor images on loading. Only used by preview. More...
 
byteBuffer_image
 Internal: Temporary buffer when saving the flattened copy of something. More...
 
short Preview_factor_X
 
short Preview_factor_Y
 
short Preview_pos_X
 
short Preview_pos_Y
 
bytePreview_bitmap
 
byte Preview_usage [256]
 
T_GFX2_SurfaceSurface
 

Field Documentation

◆ Type

◆ File_name

◆ File_name_unicode

◆ File_directory

◆ Format

◆ Palette

◆ Width

◆ Height

◆ Original_width

short T_IO_Context::Original_width

Referenced by Load_IFF(), and Pre_load().

◆ Original_height

short T_IO_Context::Original_height

Size of the whole image in case of PREVIEW of a thumbnail.

Referenced by Load_IFF(), and Pre_load().

◆ Nb_layers

◆ Comment

◆ Background_transparent

◆ Transparent_color

◆ bpp

byte T_IO_Context::bpp

Referenced by Load_image(), Load_TIFF_Sub(), and Pre_load().

◆ Ratio

◆ Target_address

◆ Pitch

long T_IO_Context::Pitch

◆ Original_file_name

char* T_IO_Context::Original_file_name

Original file name, stored in GIF file.

Referenced by Destroy_context(), Load_GIF(), Load_image(), Rotate_safety_backups(), and Save_GIF().

◆ Original_file_directory

char* T_IO_Context::Original_file_directory

Original file directory, stored in GIF file.

Referenced by Destroy_context(), Load_GIF(), Load_image(), Rotate_safety_backups(), and Save_GIF().

◆ Color_cycles

◆ Cycle_range

◆ Current_layer

int T_IO_Context::Current_layer

Internal: during load, marks which layer is being loaded.

Referenced by Fill_canvas(), Get_frame_duration(), Set_frame_duration(), Set_loading_layer(), Set_pixel(), and Set_saving_layer().

◆ Buffer_image_24b

T_Components* T_IO_Context::Buffer_image_24b

Internal: Used to mark truecolor images on loading. Only used by preview.

Internal: Temporary RGB buffer when loading 24bit images

Referenced by Destroy_context(), Load_image(), Pre_load(), and Set_pixel_24b().

◆ Buffer_image

byte* T_IO_Context::Buffer_image

Internal: Temporary buffer when saving the flattened copy of something.

Referenced by Destroy_context(), Fill_canvas(), Load_image(), Pre_load(), and Set_pixel().

◆ Preview_factor_X

short T_IO_Context::Preview_factor_X

◆ Preview_factor_Y

short T_IO_Context::Preview_factor_Y

◆ Preview_pos_X

short T_IO_Context::Preview_pos_X

Referenced by Load_image(), and Pre_load().

◆ Preview_pos_Y

short T_IO_Context::Preview_pos_Y

Referenced by Load_image(), and Pre_load().

◆ Preview_bitmap

byte* T_IO_Context::Preview_bitmap

◆ Preview_usage

byte T_IO_Context::Preview_usage[256]

◆ Surface


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