Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Annotations for grid graphics #37

Closed
Sharpie opened this Issue · 1 comment

1 participant

@Sharpie
Owner

It would be nice to drop coordinates and annotations into grid graphics. For base graphics, the grconvertX and grconvertY functions are used. However, grid graphics are a bit different because the actual location of a point is unknown until it is rendered to a viewport --- not technically true, locations in a viewport are unknown until it is pushed to a graphics device.

A possible solution could be to provide an "annotation object" that could be combined with other grid objects and printed to viewports. Upon printing, this annotation object would insert information at the appropriate point.

@Sharpie
Owner

Possible function of interest:

current.transform

Doesn't look that special in the man pages, but Paul Murrell said the following:

current.transform() transforms from inches within the current viewport
to inches on the overall device.

Sounds like something that can be used to fill the function of grconvertX and grconvertY.

@Sharpie Sharpie was assigned
@Sharpie Sharpie closed this in f5ddb54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.