mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:19:47 +02:00
aggpas: undo 64bit changes
git-svn-id: trunk@21993 -
This commit is contained in:
parent
456235d0ee
commit
87711ee8b3
@ -174,8 +174,8 @@ IMPLEMENTATION
|
||||
{ INITIAL }
|
||||
procedure cell_style_aa.initial;
|
||||
begin
|
||||
x :=high(x);
|
||||
y :=high(y);
|
||||
x :=$7FFFFFFF;
|
||||
y :=$7FFFFFFF;
|
||||
cover:=0;
|
||||
area :=0;
|
||||
left :=-1;
|
||||
@ -212,10 +212,10 @@ begin
|
||||
m_sorted_cells.Construct(sizeof(cell_style_aa_ptr ) );
|
||||
m_sorted_y.Construct(sizeof(sorted_y ) );
|
||||
|
||||
m_min_x :=high(m_min_x);
|
||||
m_min_y :=high(m_min_y);
|
||||
m_max_x :=low(m_max_x);
|
||||
m_max_y :=low(m_max_y);
|
||||
m_min_x :=$7FFFFFFF;
|
||||
m_min_y :=$7FFFFFFF;
|
||||
m_max_x :=-$7FFFFFFF;
|
||||
m_max_y :=-$7FFFFFFF;
|
||||
m_sorted:=false;
|
||||
|
||||
m_style_cell.initial;
|
||||
@ -262,10 +262,10 @@ begin
|
||||
m_style_cell.initial;
|
||||
|
||||
m_sorted:=false;
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x :=$7FFFFFFF;
|
||||
m_min_y :=$7FFFFFFF;
|
||||
m_max_x :=-$7FFFFFFF;
|
||||
m_max_y :=-$7FFFFFFF;
|
||||
|
||||
end;
|
||||
|
||||
@ -661,8 +661,8 @@ begin
|
||||
|
||||
add_curr_cell;
|
||||
|
||||
m_curr_cell.x :=high(m_curr_cell.x);
|
||||
m_curr_cell.y :=high(m_curr_cell.y);
|
||||
m_curr_cell.x :=$7FFFFFFF;
|
||||
m_curr_cell.y :=$7FFFFFFF;
|
||||
m_curr_cell.cover:=0;
|
||||
m_curr_cell.area :=0;
|
||||
|
||||
|
@ -221,9 +221,9 @@ begin
|
||||
m_cover_buf.Construct(sizeof(cover_type ) );
|
||||
m_master_alpha.Construct(sizeof(unsigned ) );
|
||||
|
||||
m_min_style:=high(m_min_style);
|
||||
m_max_style:=low(m_max_style);
|
||||
m_scan_y :=high(m_scan_y);
|
||||
m_min_style:=$7FFFFFFF;
|
||||
m_max_style:=-$7FFFFFFF;
|
||||
m_scan_y :=$7FFFFFFF;
|
||||
m_sl_start :=0;
|
||||
m_sl_len :=0;
|
||||
|
||||
@ -247,9 +247,9 @@ procedure rasterizer_compound_aa.reset;
|
||||
begin
|
||||
m_outline.reset;
|
||||
|
||||
m_min_style:=High(m_min_style);
|
||||
m_max_style:=Low(m_max_style);
|
||||
m_scan_y :=High(m_scan_y);
|
||||
m_min_style:=$7FFFFFFF;
|
||||
m_max_style:=-$7FFFFFFF;
|
||||
m_scan_y :=$7FFFFFFF;
|
||||
m_sl_start :=0;
|
||||
m_sl_len :=0;
|
||||
|
||||
@ -523,7 +523,7 @@ begin
|
||||
|
||||
style_.start_cell:=0;
|
||||
style_.num_cells :=0;
|
||||
style_.last_x :=low(style_.last_x);
|
||||
style_.last_x :=-$7FFFFFFF;
|
||||
|
||||
m_sl_start:=cells^^.x;
|
||||
m_sl_len :=
|
||||
@ -907,7 +907,7 @@ begin
|
||||
|
||||
style_.start_cell:=0;
|
||||
style_.num_cells :=0;
|
||||
style_.last_x :=low(style_.last_x);
|
||||
style_.last_x :=-$7FFFFFFF;
|
||||
|
||||
end;
|
||||
|
||||
|
@ -337,10 +337,10 @@ begin
|
||||
|
||||
m_cur_x:=0;
|
||||
m_cur_y:=0;
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_sorted:=false;
|
||||
|
||||
@ -421,10 +421,10 @@ begin
|
||||
|
||||
m_sorted:=false;
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
end;
|
||||
|
||||
|
@ -805,7 +805,7 @@ begin
|
||||
cover_type_ptr(ptrcomp(cover_buffer ) + (sl_start - min_x ) * sizeof(cover_type ) )^ ,
|
||||
sl_len * sizeof(cover_type ) ,0 );
|
||||
|
||||
sl_y:=High(sl_y);
|
||||
sl_y:=$7FFFFFFF;
|
||||
|
||||
i:=0;
|
||||
|
||||
|
@ -99,7 +99,7 @@ IMPLEMENTATION
|
||||
constructor scanline_bin.Construct;
|
||||
begin
|
||||
m_max_len:=0;
|
||||
m_last_x :=high(m_last_x)-15;
|
||||
m_last_x :=$7FFFFFF0;
|
||||
|
||||
m_spans :=NIL;
|
||||
m_cur_span:=NIL;
|
||||
@ -130,7 +130,7 @@ begin
|
||||
|
||||
end;
|
||||
|
||||
m_last_x :=high(m_last_x)-15;
|
||||
m_last_x :=$7FFFFFF0;
|
||||
m_cur_span:=m_spans;
|
||||
|
||||
end;
|
||||
@ -138,7 +138,7 @@ end;
|
||||
{ RESET_SPANS }
|
||||
procedure scanline_bin.reset_spans;
|
||||
begin
|
||||
m_last_x :=high(m_last_x)-15;
|
||||
m_last_x :=$7FFFFFF0;
|
||||
m_cur_span:=m_spans;
|
||||
|
||||
end;
|
||||
|
@ -100,7 +100,7 @@ IMPLEMENTATION
|
||||
constructor scanline_p8.Construct;
|
||||
begin
|
||||
m_max_len:=0;
|
||||
m_last_x :=high(m_last_x)-15;
|
||||
m_last_x :=$7FFFFFF0;
|
||||
|
||||
m_y:=0;
|
||||
|
||||
@ -140,7 +140,7 @@ begin
|
||||
|
||||
end;
|
||||
|
||||
m_last_x:=high(m_last_x)-15;
|
||||
m_last_x:=$7FFFFFF0;
|
||||
|
||||
m_cover_ptr:=m_covers;
|
||||
m_cur_span :=m_spans;
|
||||
@ -152,7 +152,7 @@ end;
|
||||
{ RESET_SPANS }
|
||||
procedure scanline_p8.reset_spans;
|
||||
begin
|
||||
m_last_x:=high(m_last_x)-15;
|
||||
m_last_x:=$7FFFFFF0;
|
||||
|
||||
m_cover_ptr:=m_covers;
|
||||
m_cur_span :=m_spans;
|
||||
|
@ -611,10 +611,10 @@ begin
|
||||
m_spans.Construct (256 - 2 ,sizeof(span_data_ss ) ,10 ); // Block increment size
|
||||
m_scanlines.Construct(sizeof(scanline_data_ss ) ,8 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_cur_scanline:=0;
|
||||
|
||||
@ -644,10 +644,10 @@ begin
|
||||
m_scanlines.remove_all;
|
||||
m_spans.remove_all;
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_cur_scanline:=0;
|
||||
|
||||
@ -1034,10 +1034,10 @@ begin
|
||||
m_spans.Construct (256 - 2 ,sizeof(span_data_ss ) ,10 ); // Block increment size
|
||||
m_scanlines.Construct(sizeof(scanline_data_ss ) ,8 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_cur_scanline:=0;
|
||||
|
||||
@ -1246,10 +1246,10 @@ begin
|
||||
m_spans.Construct (256 - 2 ,sizeof(span_data_ss ) ,10 ); // Block increment size
|
||||
m_scanlines.Construct(sizeof(scanline_data_ss ) ,8 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_cur_scanline:=0;
|
||||
|
||||
@ -1604,10 +1604,10 @@ begin
|
||||
m_dx:=0;
|
||||
m_dy:=0;
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_sz:=sz;
|
||||
|
||||
@ -1623,10 +1623,10 @@ begin
|
||||
m_dx:=trunc(dx + 0.5 );
|
||||
m_dy:=trunc(dy + 0.5 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_sz:=sz;
|
||||
|
||||
@ -1642,10 +1642,10 @@ begin
|
||||
m_dx:=trunc(dx + 0.5 );
|
||||
m_dy:=trunc(dy + 0.5 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
end;
|
||||
|
||||
|
@ -348,10 +348,10 @@ begin
|
||||
m_spans.Construct (256 - 2 ,sizeof(span_data ) ,10 ); // Block increment size
|
||||
m_scanlines.Construct(sizeof(scanline_data ) ,8 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_cur_scanline :=0;
|
||||
m_fake_scanline.y:=0;
|
||||
@ -378,10 +378,10 @@ begin
|
||||
m_scanlines.remove_all;
|
||||
m_spans.remove_all;
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
m_cur_scanline:=0;
|
||||
|
||||
@ -827,10 +827,10 @@ begin
|
||||
m_dx:=0;
|
||||
m_dy:=0;
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
end;
|
||||
|
||||
@ -844,10 +844,10 @@ begin
|
||||
m_dx:=trunc(dx + 0.5 );
|
||||
m_dy:=trunc(dy + 0.5 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
end;
|
||||
|
||||
@ -861,10 +861,10 @@ begin
|
||||
m_dx:=trunc(dx + 0.5 );
|
||||
m_dy:=trunc(dy + 0.5 );
|
||||
|
||||
m_min_x:=high(m_min_x);
|
||||
m_min_y:=high(m_min_y);
|
||||
m_max_x:=low(m_max_x);
|
||||
m_max_y:=low(m_max_y);
|
||||
m_min_x:=$7FFFFFFF;
|
||||
m_min_y:=$7FFFFFFF;
|
||||
m_max_x:=-$7FFFFFFF;
|
||||
m_max_y:=-$7FFFFFFF;
|
||||
|
||||
end;
|
||||
|
||||
|
@ -183,7 +183,7 @@ constructor scanline_u8.Construct;
|
||||
begin
|
||||
m_min_x :=0;
|
||||
m_max_len:=0;
|
||||
m_last_x :=high(m_last_x);
|
||||
m_last_x :=$7FFFFFF0;
|
||||
|
||||
m_covers :=NIL;
|
||||
m_spans :=NIL;
|
||||
@ -219,7 +219,7 @@ begin
|
||||
|
||||
end;
|
||||
|
||||
m_last_x :=high(m_last_x);
|
||||
m_last_x :=$7FFFFFF0;
|
||||
m_min_x :=min_x;
|
||||
m_cur_span:=m_spans;
|
||||
|
||||
@ -228,7 +228,7 @@ end;
|
||||
{ RESET_SPANS }
|
||||
procedure scanline_u8.reset_spans;
|
||||
begin
|
||||
m_last_x :=high(m_last_x);
|
||||
m_last_x :=$7FFFFFF0;
|
||||
m_cur_span:=m_spans;
|
||||
|
||||
end;
|
||||
|
@ -271,7 +271,7 @@ end;
|
||||
procedure wrap_mode_repeat.init;
|
||||
begin
|
||||
m_size :=size;
|
||||
m_add :=size * ((high(size) div 4) div size );
|
||||
m_add :=size * ($3FFFFFFF div size );
|
||||
m_value:=0;
|
||||
|
||||
end;
|
||||
@ -332,7 +332,7 @@ end;
|
||||
procedure wrap_mode_repeat_auto_pow2.init;
|
||||
begin
|
||||
m_size:=size;
|
||||
m_add :=size * ((high(size) div 4) div size );
|
||||
m_add :=size * ($3FFFFFFF div size );
|
||||
|
||||
if m_size and (m_size - 1 ) <> 0 then
|
||||
m_mask:=0
|
||||
@ -378,7 +378,7 @@ procedure wrap_mode_reflect.init;
|
||||
begin
|
||||
m_size :=size;
|
||||
m_size2:=size * 2;
|
||||
m_add :=m_size2 * ((high(m_size2) div 4) div m_size2 );
|
||||
m_add :=m_size2 * ($3FFFFFFF div m_size2 );
|
||||
m_value:=0;
|
||||
|
||||
end;
|
||||
@ -456,7 +456,7 @@ procedure wrap_mode_reflect_auto_pow2.init;
|
||||
begin
|
||||
m_size :=size;
|
||||
m_size2:=size * 2;
|
||||
m_add :=m_size2 * ((high(m_size2) div 4) div m_size2 );
|
||||
m_add :=m_size2 * ($3FFFFFFF div m_size2 );
|
||||
|
||||
if m_size2 and (m_size2 - 1 ) <> 0 then
|
||||
m_mask:=0
|
||||
|
Loading…
Reference in New Issue
Block a user