Home
last modified time | relevance | path

Searched refs:Brush_width (Results 1 – 13 of 13) sorted by relevance

/dports/graphics/grafx2/grafx2/src/
H A Dbrush.c147 width=Brush_width; in Display_paintbrush()
163 Brush_width); in Display_paintbrush()
482 width=Brush_width; in Draw_paintbrush()
563 width=Brush_width; in Draw_paintbrush()
747 Brush_width=new_brush_width; in Realloc_brush()
816 width=Brush_width; in Hide_paintbrush()
1077 old_width=Brush_width; in Outline_brush()
1095 1, 1, Brush_width); in Outline_brush()
1177 old_width=Brush_width; in Nibble_brush()
2043 start_x=1-(Brush_width>>1); in Rotate_brush()
[all …]
H A Dbrush_ops.c808 width=start_x+(Brush_width<<1)-1; in Stretch_brush_0_7()
812 width=start_x+(Brush_width<<1)-1; in Stretch_brush_0_7()
816 width=start_x+Brush_width-1; in Stretch_brush_0_7()
820 width=(Brush_width>1)?start_x+(Brush_width>>1)-1:1; in Stretch_brush_0_7()
824 width=(Brush_width>1)?start_x+(Brush_width>>1)-1:1; in Stretch_brush_0_7()
828 width=start_x+Brush_width-1; in Stretch_brush_0_7()
832 width=start_x+Brush_width-1; in Stretch_brush_0_7()
918 Brush_rotation_center_X=Paintbrush_X+(Brush_width>>1)-Brush_width; in Rotate_brush_12_0()
1199 x_pos+=Brush_width; in Distort_brush_1_0()
1211 x_pos-=Brush_width; in Distort_brush_1_0()
[all …]
H A Dbuttons.c3250 Brush_offset_X=(Brush_width>>1); in Load_picture()
4080 …_general_lowlevel(Brush_colormap,Brush_original_pixels,Brush,Brush_width,Brush_height,Brush_width); in Button_Brush_FX()
4085 …_general_lowlevel(Brush_colormap,Brush_original_pixels,Brush,Brush_width,Brush_height,Brush_width); in Button_Brush_FX()
4092 …_general_lowlevel(Brush_colormap,Brush_original_pixels,Brush,Brush_width,Brush_height,Brush_width); in Button_Brush_FX()
4093 Brush_offset_X=(Brush_width>>1); in Button_Brush_FX()
4118 Brush_offset_X=(Brush_width-1); in Button_Brush_FX()
4122 Brush_offset_X=(Brush_width>>1); in Button_Brush_FX()
4130 Brush_offset_X=(Brush_width-1); in Button_Brush_FX()
5319 Brush_offset_X=Brush_width>>1; in Button_Text()
5623 …_general_lowlevel(Brush_colormap,Brush_original_pixels,Brush,Brush_width,Brush_height,Brush_width); in Restore_brush()
[all …]
H A Dmisc.c233 *(Brush + y * Brush_width + x)=color; in Pixel_in_brush()
238 return *(Brush + y * Brush_width + x); in Read_pixel_from_brush()
329 void Copy_image_to_brush(short start_x,short start_y,short Brush_width,short Brush_height,word imag… in Copy_image_to_brush() argument
340 memcpy(dest,src,Brush_width); in Copy_image_to_brush()
344 dest+=Brush_width; in Copy_image_to_brush()
H A Dengine.c811 Brush_offset_X=(Brush_width>>1); in Main_handler()
1018 …_general_lowlevel(Brush_colormap,Brush_original_pixels,Brush,Brush_width,Brush_height,Brush_width); in Main_handler()
1026 …_general_lowlevel(Brush_colormap,Brush_original_pixels,Brush,Brush_width,Brush_height,Brush_width); in Main_handler()
1040 …_general_lowlevel(Brush_colormap,Brush_original_pixels,Brush,Brush_width,Brush_height,Brush_width); in Main_handler()
1041 Brush_offset_X=(Brush_width>>1); in Main_handler()
1069 Stretch_brush(1,1,Brush_width*2,Brush_height*2); in Main_handler()
1079 Stretch_brush(1,1,Brush_width*2,Brush_height); in Main_handler()
1089 Stretch_brush(1,1,Brush_width,Brush_height*2); in Main_handler()
1153 Brush_offset_X=(Brush_width>>1); in Main_handler()
1167 Brush_offset_X=(Brush_width-1); in Main_handler()
[all …]
H A Dfactory.c270 memset(Brush_original_pixels,Back_color,(long)Brush_width*Brush_height); in L_SetBrushSize()
271 memset(Brush,Back_color,(long)Brush_width*Brush_height); in L_SetBrushSize()
279 Brush_offset_X=(Brush_width>>1); in L_SetBrushSize()
286 lua_pushinteger(L, Brush_width); in L_GetBrushSize()
310 memcpy(Brush_original_pixels, Brush, Brush_width*Brush_height); in L_PutBrushPixel()
317 if (x<0 || y<0 || x>=Brush_width || y>=Brush_height) in L_PutBrushPixel()
337 if (x<0 || y<0 || x>=Brush_width || y>=Brush_height) in L_GetBrushPixel()
2527 Brush_backup=(byte *)GFX2_malloc(((long)Brush_height)*Brush_width); in Run_script()
2528 Brush_backup_width = Brush_width; in Run_script()
2537 memcpy(Brush_backup, Brush, ((long)Brush_height)*Brush_width); in Run_script()
[all …]
H A Dbuttons_effects.c1577 if (chosen_offset_x>=Brush_width) in Button_Tiling_menu()
1579 chosen_offset_x=Brush_width-1; in Button_Tiling_menu()
1889 Sieve_width=(Brush_width>16)?16:Brush_width; in Button_Sieve_menu()
1910 …*(Brush_original_pixels + y_pos * Brush_width + x_pos) = (Sieve[x_pos][y_pos])?Fore_color:Back_col… in Button_Sieve_menu()
1917 Brush_offset_X=(Brush_width>>1); in Button_Sieve_menu()
H A Dmisc.h41 void Copy_image_to_brush(short start_x,short start_y,short Brush_width,short Brush_height,word imag…
H A Dglobal.h324 GFX2_GLOBAL word Brush_width; variable
H A Dwindows.c2650 start_x=1-(Brush_width>>1); in Display_cursor()
2652 end_x=start_x+Brush_width-1; in Display_cursor()
2690 x1=x3=1-Brush_width; in Display_cursor()
2952 start_x=1-(Brush_width>>1); in Hide_cursor()
2954 end_x=start_x+Brush_width-1; in Hide_cursor()
2992 x1=x3=1-Brush_width; in Hide_cursor()
H A Dgraph.c684 for (x_pos=0;x_pos<Brush_width;x_pos++) in Get_colors_from_brush()
685 brush_used[*(Brush_original_pixels + y_pos * Brush_width + x_pos)]=1; in Get_colors_from_brush()
1223 if ( (x_pos<Brush_width) && // Les pos sont des word donc jamais < 0 ... in Pixel_figure_in_brush()
3074 return Read_pixel_from_brush((x+Brush_width-Tiling_offset_X)%Brush_width, in Effect_tiling()
H A Dloadsave.c1912 context->Width = Brush_width; in Init_context_brush()
1919 context->Pitch=Brush_width; in Init_context_brush()
H A Dmain.c1085 Brush_width=1; in Init_program()