- Posts: 5
- Thank you received: 0
- Forum
- CodeTyphon Studio
- CodeTyphon Studio Components and Libraries
- Graphics Development
- Problem with gradient in the brush editor ORCA2D
×
Components and Libraries for Graphics Development, discussions, problems and suggestions.
Question Problem with gradient in the brush editor ORCA2D
- Jean-Philippe FABRE
- Topic Author
- Offline
- New Member
-
Less
More
4 years 3 months ago #11540
by Jean-Philippe FABRE
Problem with gradient in the brush editor ORCA2D was created by Jean-Philippe FABRE
In the brush editor form il you choose gradient, the start point or the end point can be deleted
then you have only one point to draw the gradient so it becomes unusable.
I believe that it can be fixed in the orcad2_scene.pas:
procedure TD2GradientEdit.MouseUp(Button:TMouseButton; Shift:TShiftState; X,Y:single);
by changing the line 34495:
if (Y > Height + 10) and (FGradient.Points.Count > 1) then ....
to
if (Y > Height + 10) and (FGradient.Points.Count > 2) then....
then you have only one point to draw the gradient so it becomes unusable.
I believe that it can be fixed in the orcad2_scene.pas:
procedure TD2GradientEdit.MouseUp(Button:TMouseButton; Shift:TShiftState; X,Y:single);
by changing the line 34495:
if (Y > Height + 10) and (FGradient.Points.Count > 1) then ....
to
if (Y > Height + 10) and (FGradient.Points.Count > 2) then....
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
4 years 3 months ago #11541
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Problem with gradient in the brush editor ORCA2D
Thanks Sir
we add your fix to Lab CT 6.50
we add your fix to Lab CT 6.50
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.