Recent

Author Topic: [Closed]Canvas.StretchDraw, does it set the HALF_TONE flag ?  (Read 514 times)

jamie

  • Hero Member
  • *****
  • Posts: 7663
[Closed]Canvas.StretchDraw, does it set the HALF_TONE flag ?
« on: March 06, 2026, 11:27:18 pm »
I would like to know if the StretchDraw sets the HALF_TONE flag for the canvas to create a smooth resizing this not loosing any blocks of causing large pixels?

 Normally I use the stretchBlt.... and have the flag set prior to, does the Lazarus/FPC canvas do this ?

 I saw a DRAWMode property and the closes I saw that made any sense was the Alpha Blend, But I don't think that is it?

Jamie
« Last Edit: March 08, 2026, 01:57:36 pm by jamie »
The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 7663
Re: Canvas.StretchDraw, does it set the HALF_TONE flag ?
« Reply #1 on: March 08, 2026, 01:57:10 pm »
Apparently, it does if you use the SetStretchBlt prior to that, but I question if it's really taking effect due to the steps taking place to get to the final stretchDraw.

Jamie
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018