Hi Dennis,
Thanks for the detailed suggestions. Here's where each one stands:
1. Guide lines for ruler grips
This is added for the next update. Set RulerParams.ShowGripGuides := True to draw a line across the image at each grip position. Lines follow their grips as they are dragged. Horizontal ruler grips draw vertical lines, and vertical ruler grips draw horizontal lines. The colour is set by RulerParams.GripGuidesColor. The default is clAqua. Set it to clNone to draw each line in the colour of its grip.
ImageEnView1.RulerParams.ShowGripGuides := True;
ImageEnView1.RulerParams.GripGuidesColor := clAqua;
This works separately from DisplayGridKind = iedgRulerGuides, which draws lines at the ruler label ticks rather than at grip positions, so you can use both at the same time.
2. Selection brush, 3. Image scatter brush, 4. Continuous texture paint
These are good ideas. We've added them to our to-do list for a future version.
5. Vertical grips added in OnRulerClick always at the top
Thanks for reporting this. It's fixed for the next update, and inverted rulers are handled correctly too.
6. Removing a grip
We've added RulerParams.RemoveHorzGrip(Index) and RulerParams.RemoveVertGrip(Index). They remove a specific grip, and the grips after it move down one index. Previously you could only remove the last grips by reducing HorzGripsCount/VertGripsCount. For example, to remove a grip when it is double-clicked:
procedure TForm1.ImageEnView1RulerGripDblClick(Sender: TObject; RulerDir: TRulerDir; Grip: Integer; GripPos: Double);
begin
if Ruler = rdHorizontal then
ImageEnView1.RulerParams.RemoveHorzGrip( Grip )
else
ImageEnView1.RulerParams.RemoveVertGrip( Grip );
end;
If you'd like to try these before the next release, email us and we can send you an updated source.
Nigel
Xequte Software
www.imageen.com