Home › Forums › Problems and solutions in GDL › Documentation elements, text handling › AC22 new Label fixed parameters › Reply To: AC22 new Label fixed parameters
August 31, 2018 at 00:10
#4241
Participant
Here is a follow on to my second question above. The following code snippet draws a simple line with an arrow on one end. They are both drawn using the same pen. When I check “Use Text Pen as Uniform Pen” the line pen automatically changes to the text pen but the arrow pen does not. Not sure why.
PEN AC_LabelPointerPen
ArSz=((ArSz/2.835)/1000*glob_scale)*1.9 !Points
IF LABEL_ROTANGLE >90 AND LABEL_ROTANGLE <=270 THEN ROT2 180
HOTSPOT2 -A/2, 0
HOTSPOT2 0, 0
HOTSPOT2 A/2, 0
LINE2 -A/2, 0, A/2-ArSz, 0
HOTLINE2 -A/2, 0, A/2, 0
FILL GLOB_FILL_INDEX_SOLID
ADD2 A/2, 0
POLY2 3,6,
0,0,
-ArSz,(ArSz*.28),
-ArSz,-(ArSz*.28)
DEL TOP
Geoff Briggs
DeForest Architects
Seattle, USA