Many thanks for all your help with this.

I have solved the problem by increasing the size of the bitmap that 
receives the fillrect call.

This appears to be working without 'downstream' problems at the moment.

best regards
Neil

----- Original Message -----
From: Neil <[email protected]>
To: "Moderated List for the Discussion of Delphi Programming 
excludingDatabase-related topics" <[email protected]>
Date: Mon, 06 Jun 2011 09:22:25 +0100
Subject: strange behaviour [repeat loop]

> Many thanks for all your replies
> 
> I have added some debug functions to confirm that fillrect function is 
> being called
> data is added to a list after each line  is added to the bitmap [using 
> fillrect}
> 
> The actual result is missing the last [bottom] line of the character.
> I can email output image and log by email.
> 
> There are about 6 characters that suffer the problem and so for I have
> found 3 files out of 32 that exhibit this behaviour.
> 
> The following is the debug output for character g
> 
> The W and N stand for clWhite and clNavy
> 
> *******************************************************************
> This character has 22 lines
> This character has 3 scans
> 
> size of bitmask is 22 lines ; this should be same as lines above
> bitmask length should be 572
> bitmask actual size is 572
> 
> 000000000111110000000000
> 000000111100011111100000
> 000001111000011110000000
> 000001111000011110000000
> 000011110000011110000000
> 000011110000111110000000
> 000011110000111100000000
> 000001110000111100000000
> 000000110001111000000000
> 000000111111100000000000
> 000001000000000000000000
> 000111000000000000000000
> 000111111100000000000000
> 000111111111000000000000
> 000011111111110000000000
> 000110011111111000000000
> 011100000011111000000000
> 111000000000111000000000
> 111000000000111000000000
> 111000000000110000000000
> 011110000001100000000000
> 000011111110000000000000
> 
> 
> Line 1 : pattern is
> W W W W W W W W W N N N N N W W W W W W W W W W 
> Line 2 : pattern is
> W W W W W W N N N N W W W N N N N N N W W W W W 
> Line 3 : pattern is
> W W W W W N N N N W W W W N N N N W W W W W W W 
> Line 4 : pattern is
> W W W W W N N N N W W W W N N N N W W W W W W W 
> Line 5 : pattern is
> W W W W N N N N W W W W W N N N N W W W W W W W 
> Line 6 : pattern is
> W W W W N N N N W W W W N N N N N W W W W W W W 
> Line 7 : pattern is
> W W W W N N N N W W W W N N N N W W W W W W W W 
> Line 8 : pattern is
> W W W W W N N N W W W W N N N N W W W W W W W W 
> Line 9 : pattern is
> W W W W W W N N W W W N N N N W W W W W W W W W 
> Line 10 : pattern is
> W W W W W W N N N N N N N W W W W W W W W W W W 
> Line 11 : pattern is
> W W W W W N W W W W W W W W W W W W W W W W W W 
> Line 12 : pattern is
> W W W N N N W W W W W W W W W W W W W W W W W W 
> Line 13 : pattern is
> W W W N N N N N N N W W W W W W W W W W W W W W 
> Line 14 : pattern is
> W W W N N N N N N N N N W W W W W W W W W W W W 
> Line 15 : pattern is
> W W W W N N N N N N N N N N W W W W W W W W W W 
> Line 16 : pattern is
> W W W N N W W N N N N N N N N W W W W W W W W W 
> Line 17 : pattern is
> W N N N W W W W W W N N N N N W W W W W W W W W 
> Line 18 : pattern is
> N N N W W W W W W W W W N N N W W W W W W W W W 
> Line 19 : pattern is
> N N N W W W W W W W W W N N N W W W W W W W W W 
> Line 20 : pattern is
> N N N W W W W W W W W W N N W W W W W W W W W W 
> Line 21 : pattern is
> W N N N N W W W W W W N N W W W W W W W W W W W 
> Line 22 : pattern is
> W W W W N N N N N N N W W W W W W W W W W W W W 
> 
> Once again thanks to all
> 
> regards
> Neil
> 
> 
> 
> _______________________________________________
> Delphi mailing list
> [email protected]
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
> 
> 

_______________________________________________
Delphi mailing list
[email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to