OCaml Forge
SCM

Detail: [#1083] text dimensions

Support: Browse | Download .csv | Monitor

[#1083] text dimensions

Date:
2012-01-15 18:01
Priority:
3
State:
Closed
Submitted by:
Dan Bensen (drakken)
Assigned to:
Pierre Hauweele (antegallya)
Component:
None
Severity:
None
Version:
None
Hardware:
None
Operating System:
None
Product:
None
URL:
 
Summary:
text dimensions

Detailed description
Hi, does someone have time to answer another question?
I'm working on a function that displays a key for color-coded graphs,
so I need to know the height and width of a specified piece of text or a marker.

Followup

Message
Date: 2012-01-16 15:03
Sender: Pierre Hauweele

Hello,
I just add a Viewport.text_extents.
V.mark also lacked a [coord] argument. Now you can draw a mark in `Graph coordinates. And you can get the mark size in `Graph coordinates via [V.get_mark_size `Graph vp] (all marks have the same square bounding box)
Those changes are available in the trunk bzr branch.

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2013-01-20 21:38antegallya
close_dateNone2013-01-20 21:38antegallya
assigned_tonone2012-01-16 15:03antegallya