How do I control the labeling of a segment?

Bug #1796560 reported by hilaire
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
Wishlist
Hannes Hirzel

Bug Description

How to control it programmatically in Smalltalk sketch?

Full request:
http://forum.drgeo.eu/How-do-I-control-the-labeling-of-a-segment-tp4025436.html

Related branches

Changed in drgeo:
status: Confirmed → Fix Committed
Revision history for this message
hilaire (hilaire-fernandes) wrote :

See how to move the label position with a delta from the reference point.

| c ptA|
c := DrGeoCanvas new.
ptA := c point: 0@0.
ptA costume computeTextPositionDelta: 25@ -25.

Use the #constraintTextPosition: message to provide coordinates position, but it is tricky to use at it requires pixel position.

Revision history for this message
hilaire (hilaire-fernandes) wrote :
Changed in drgeo:
milestone: wip → 19.03
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.