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
 Crop grid lines hard to see

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
whisper1980 Posted - Apr 27 2021 : 18:25:01
In ImageEn 9.3.0 and earlier, the grid guide lines looked like dashed lines. In 10.0 then are hard to see and look more like tiny dots rather than dashes. How can I change it back to dashes?

I see this in your code:
iec.Pen.Style := psDash;

But they are not dashes, or perhaps they are super tiny ones. Pen color is 0.

Eric
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 03 2021 : 22:24:36
Hi Eric

Unfortunately the default dash style for GDI+ is not very good. For 10.0.1, we use custom 5px dashes which look much better.

Nigel
Xequte Software
www.imageen.com
whisper1980 Posted - Apr 27 2021 : 19:15:40
I swapped the two SelColors so that the solid line is black and the dashed line is white instead of the other way around, which helps in my case. I may experiment with other colors. Setting pen width to 2 instead of 1 also helps, but that required modifying your code which I don't like to do.

Update:
I ended up modifying your code to set the Pen width to 2, solid as black and dashed as white, and instead of psDash I went with psDashDot for both the main polygon and guides.

If you have the chance, it would be nice to be able to set these (pen colors, width and style) via some sort of additional TImageEnView.CropTool properties so I don't have to modify your code. :)

Eric