ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Resizing a layer continuously causes drawing glitches.

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
zerob Posted - Sep 09 2024 : 15:28:46
If i create a image with 6 Layers (left and right balls, left and right line) and move the balls to left and right and resize the lines in 1px increments according to a TrackBar, so the line stretches to the left and right and the balls move, then the line layers that move and resize, get drawn chopped off every x pixels.

the left line is moved to the left and resized for 1 pixel and the right is just resized according to the TrackBar (the TrackBar resizes in 1 px increments).

The chopping is happening in 2 phases. First it is chopped off a bit and then a bit more and then redraws itself correctly, stays correct and then later at a different stage gets choped off the same way.

Maybe this is a internal rounding error or maybe it happens because of the new caching in my beta or it is caused by a smoothing algorythm?

On this picture you see on top, the initial picture, then the phase it is choped off, and on the bottom, the end position that looks ok again. (+ 50 pixels more)

3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 11 2024 : 17:10:57
Hi

This is an issue in the caching code of the beta. I will email you an update.

Nigel
Xequte Software
www.imageen.com
zerob Posted - Sep 10 2024 : 08:23:46
As saving and loading the state draws the layers correctly, i mail you some code that shows it to you.
xequte Posted - Sep 09 2024 : 17:53:02
Please save this content to an IEN file and attach it to your post (or email it to me).

Nigel
Xequte Software
www.imageen.com