Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Line Thickness



Permlink Replies: 2 - Last Post: Feb 15, 2015 5:58 PM Last Post By: Jim Sawyer
Jim Sawyer

Posts: 214
Registered: 1/3/10
Line Thickness
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 13, 2015 11:00 AM
I use Delphi 7 and Rave 7. When I use

MoveTo( x1, y1)
LineTo( x2, y2 )

the resulting line is very thin and light. Is there any way to adjust the line thickness so I can make the lines darker and heavier?

Thanks,

Jim Sawyer
DataWare
George Winkler

Posts: 41
Registered: 5/10/05
Re: Line Thickness
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2015 7:16 AM   in response to: Jim Sawyer in response to: Jim Sawyer
Here is the command...

SetPen(clBlack,psSolid,-1,pmCopy)

Change the -1 to set the thickness to what you want, -2, -3, etc.

George

Jim Sawyer wrote:
I use Delphi 7 and Rave 7. When I use

MoveTo( x1, y1)
LineTo( x2, y2 )

the resulting line is very thin and light. Is there any way to adjust the line thickness so I can make the lines darker and heavier?

Thanks,

Jim Sawyer
DataWare
Jim Sawyer

Posts: 214
Registered: 1/3/10
Re: Line Thickness
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2015 5:58 PM   in response to: George Winkler in response to: George Winkler
Thanks! Just the solution I needed.

Jim Sawyer
DataWare

George Winkler wrote:
Here is the command...

SetPen(clBlack,psSolid,-1,pmCopy)

Change the -1 to set the thickness to what you want, -2, -3, etc.

George

Jim Sawyer wrote:
I use Delphi 7 and Rave 7. When I use

MoveTo( x1, y1)
LineTo( x2, y2 )

the resulting line is very thin and light. Is there any way to adjust the line thickness so I can make the lines darker and heavier?

Thanks,

Jim Sawyer
DataWare
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02