Re: Pango cairo target surface size
Lawrence D'Oliveiro <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Tue, 24 Mar 2015 12:06:39 +0800, Rob Kramer wrote: > On 03/24/2015 11:21 AM, Lawrence D'Oliveiro wrote: > >> On Tue, 24 Mar 2015 10:41:40 +0800, Rob Kramer wrote: >> >>> What I want to do is paint a string to a surface the same size as >>> the text's logical extents -- without doing the text layouting >>> twice >> >> Why is it important that it is not done twice? > > Efficiency, elegance, etc. I'm just trying to find out if cairo pango > has a better way to do this.. How do other graphics APIs do it? -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo