mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 00:46:02 +02:00
* fixed a bug in graph.OutText and graph.OutTextXY when the unit has
been compiled with range checking on git-svn-id: trunk@35481 -
This commit is contained in:
parent
ec45a92fb5
commit
f353416fd4
@ -492,7 +492,7 @@ end;
|
|||||||
PutPixel(xpos+k,j+y,CurrentColor)
|
PutPixel(xpos+k,j+y,CurrentColor)
|
||||||
else if DrawTextBackground then
|
else if DrawTextBackground then
|
||||||
PutPixel(xpos+k,j+y,CurrentBkColor);
|
PutPixel(xpos+k,j+y,CurrentBkColor);
|
||||||
fontbitmapbyte:=fontbitmapbyte shl 1;
|
fontbitmapbyte:=byte(fontbitmapbyte shl 1);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
@ -521,7 +521,7 @@ end;
|
|||||||
end;
|
end;
|
||||||
Inc(k);
|
Inc(k);
|
||||||
Inc(cnt2,charsize);
|
Inc(cnt2,charsize);
|
||||||
fontbitmapbyte:=fontbitmapbyte shl 1;
|
fontbitmapbyte:=byte(fontbitmapbyte shl 1);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
Inc(j);
|
Inc(j);
|
||||||
@ -552,7 +552,7 @@ end;
|
|||||||
PutPixel(xpos+j,ypos-k,CurrentColor)
|
PutPixel(xpos+j,ypos-k,CurrentColor)
|
||||||
else if DrawTextBackground then
|
else if DrawTextBackground then
|
||||||
PutPixel(xpos+j,ypos-k,CurrentBkColor);
|
PutPixel(xpos+j,ypos-k,CurrentBkColor);
|
||||||
fontbitmapbyte:=fontbitmapbyte shl 1;
|
fontbitmapbyte:=byte(fontbitmapbyte shl 1);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
@ -581,7 +581,7 @@ end;
|
|||||||
end;
|
end;
|
||||||
Inc(k);
|
Inc(k);
|
||||||
Inc(cnt2,charsize);
|
Inc(cnt2,charsize);
|
||||||
fontbitmapbyte:=fontbitmapbyte shl 1;
|
fontbitmapbyte:=byte(fontbitmapbyte shl 1);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
Inc(j);
|
Inc(j);
|
||||||
|
Loading…
Reference in New Issue
Block a user