Hi Andrew,

Thanks for your answer.

On 03/07/12 10:05, Andrew Ross wrote:
 > On Sat, Jun 30, 2012 at 11:54:37AM +0200, Sylwester Arabas wrote:
 >> In GDL (gnudatalanguage) we use two "private" plplot functions:
 >> plstrl and plP_mmpcy to get string width:
 >> ...
 >> Are there any "public" equivalents or any elegant way to achieve
 >> this functionality without #including<plplot/plplotP.h>?
 >
> These functions are part of the internal API of plplot as you note and so are 
> not guaranteed to be available to
> the user. In fact using -fvisibility=hidden enforces this (and hence shows up 
> problems like yours). I don't think
> there is a sensible alternative in the current external API. Why do you need 
> to access these functions? Is there
> some other functionality in plplot that is missing?

We use to it to implement in GDL the WIDTH keyword of the IDL's XYOUTS 
procedure. XYOUTS plots a string label on the current device, and 
optionally returns the width of the plotted string.

Could plstrl() and plP_mmpcy() be made public (and part of the C++ API)?

Regards,
Sylwester

-- 
http://www.igf.fuw.edu.pl/~slayoo/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to