CLX port
Brought to you by:
crlab
I'm using the CLX component under Linux and it's
working well. However, one small problem is the
flicker which occurs during contrast adjustment when
the image is zoomed to anything other than 100%. I was
trying to debug this, but it's not clear why it's so.
The only difference appears to be the extra call to
ScaleStretch() procedure within SetDimension() but this
doesn't appear to be very compute intensive.
I noticed that DCMbestfitzoom is disabled in this port,
and I wondered if you had any clue about the source of
the flicker to point me in the right direction.
Logged In: YES
user_id=7050
The fix for the flickering problem turns out to be extremely
simple. Just place the DCMImage component onto a TPanel
component and set its color property to clForeground. This
gives flicker-free contrast adjustment for any arbritrary
image zoom. In this case, the override of WidgetFlags
function is not even necessary.