[cairo] Pango cairo target surface size

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Mon Mar 23 21:13:28 PDT 2015


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?


More information about the cairo mailing list