Re: ncurses type wrapper for NStextview
Re: ncurses type wrapper for NStextview
- Subject: Re: ncurses type wrapper for NStextview
- From: Jonathan Mitchell <email@hidden>
- Date: Mon, 06 Mar 2017 22:56:33 +0000
> On 6 Mar 2017, at 21:43, Julie Porter <email@hidden> wrote:
>
> I am looking for something much simpler along the lines of
>
> textmoveto(3,4)
> displaytext(Hello World)
>
This is probably not what you were thinking of but it does provide for positional layout to a pdf view though not an NSTextView..
It is normally driven by an XML mapping file but you can call the required methods directly.
You can define all the font characteristics etc in the mapping file.
https://github.com/ThesaurusSoftware/PDFPageBuilder
Search for the following:
[self addTextItem:attrString rect:elementRect];
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden