How to draw a line, the thickness of which is specified as..

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How to draw a line, the thickness of which is specified as..

#1 Post by Eugene Lutsenko »

How to draw a line, the thickness of which is specified as a parameter?

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: How to draw a line, the thickness of which is specified

#2 Post by RDalzell »

DCGRALINE

User avatar
Tom
Posts: 1176
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: How to draw a line, the thickness of which is specified

#3 Post by Tom »

Code: Select all

aLineAttrs := Array(GRA_AL_COUNT)
aLineAttrs[GRA_AL_WIDTH] := GRA_LINEWIDTH_NORMAL // or width in pixel, see GRA.CH for standard values
GraSetAttrLine(oPs,aLineAttrs)
GraLine( ... )
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: How to draw a line, the thickness of which is specified

#4 Post by Eugene Lutsenko »

Thank you! Very pleased to communicate with you, brothers in the Spirit and Mind

Is there somewhere a complete description of graphical functions that start with "DC" with examples?

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: How to draw a line, the thickness of which is specified

#5 Post by RDalzell »

Eugene,

The windows help file for express++ should be in your Exp19\Doc directory (express.hlp).

This contains the documentation for all of Rogers express product.

The xDemo.Exe has an example of several of these features, specifically;

FUNCTION XSample_76

Best regards,
Rick

Post Reply