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
 New property brushstep issues

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
klausdoege Posted - Oct 07 2018 : 06:40:47
Hello,
I use version 8.1.1. Now I wanted to use the new property Brushstep.
But it does not work correctly.
The steps are only performed at an angle of 90 °.
It is not possible to paint weird painting.
It also creates no correct circle?
Test has been done with the demo program.
In my own program I also have my own brush with Step.
This looks a lot better.
Enclosed 2 pictures of demo and my program.
Maybe you can improve it, so it's hardly usable.

Here is my easy query from my program:

procedure TForm1.ImageEnVect1MouseMove(Sender: TObject; Shift: TShiftState;
  X, Y: integer);
begin
if (quickmaskdraw or brushdraw or spraydraw or graydraw or
    mysaturation or protocolbrushdraw) then
begin
   // xakt and yakt in ImageEnVect1Mousedown set on bx and by
    if (abs (xakt - bx)> STEP) or
       (abs (yakt - by)> STEP) then
    begin
        // Paint brush
        ...... 
      xakt: = bx;
      yakt: = by;
    end; 
end;


Picture from Imageen Demo with different steps:

Picture from my Program with diff steps:


Klaus
www.klausdoege.de
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 08 2018 : 18:38:07
Yes, so please email me to try the lastest update. I've added an optional "Min distance" algorithm.


Nigel
Xequte Software
www.imageen.com
klausdoege Posted - Oct 08 2018 : 04:45:53
Hi Nigel,
Yes with the setting discrete creates a correct circle.
But the steps continue only in a straight direction, straight out, down or up. It is not possible to paint in an oblique angle of 10, 15 or 33 °. But that's usually the case.




Klaus
www.klausdoege.de
xequte Posted - Oct 07 2018 : 23:50:44
Hi Klaus

Regarding the non-circle shape, you need to ensure that paint mode it set to discrete.

I'm not entirely sure if I have the effect you are looking for with "weird painting". Please email me for a test version.

Nigel
Xequte Software
www.imageen.com