OCaml Forge
Support
Search the entire project
This project's trackers
This project's releases
This project's news
Project
People
Advanced search
Log In
New Account
Home
My Page
Projects
Code Snippets
Archimedes
Summary
Activity
Tracker
News
SCM
Files
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_id
Open
2013-01-20 21:38
antegallya
close_date
None
2013-01-20 21:38
antegallya
assigned_to
none
2012-01-16 15:03
antegallya