Recent

Author Topic: Blurry or discontinuous lines in new Windows version  (Read 7258 times)

taazz

  • Hero Member
  • *****
  • Posts: 5363
Re: Blurry or discontinuous lines in new Windows version
« Reply #15 on: November 19, 2014, 12:45:26 am »
Timage does not have a canvas it self, the canvas property on timage is a courtesy and it internaly links to a bitmap object which has specific size and if drawn once on it the bitmaps dimensions freeze and they are no longer changed as the image is resized this ofcourse means that the bitmap will be stretched in order to fit in the image's visible area. It would be for the best to clear the old bitmap every time the Timage is resized by assigning null to Image's picture property.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

oraculus

  • New Member
  • *
  • Posts: 23
Re: Blurry or discontinuous lines in new Windows version
« Reply #16 on: November 19, 2014, 05:06:20 pm »
I have made the following experiment:
I set the TImage Autosize property to True.
And now the graphic work well in Windows 10 and in Wine. :)
I don't understand why before Windows 8 all the graphics worked well.
Thank-you very much.
« Last Edit: November 19, 2014, 06:01:48 pm by oraculus »

oraculus

  • New Member
  • *
  • Posts: 23
Re: Blurry or discontinuous lines in new Windows version
« Reply #17 on: November 19, 2014, 06:45:24 pm »
The same result occurs when I set the Stretch property of TImage to False.
Now I should change all the graphic part of the program. Sometimes it would be better that the operatings systems don't advance.  :'(
Thanks to all :)
« Last Edit: November 19, 2014, 07:00:57 pm by oraculus »