emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing


From: Kenichi Handa
Subject: Re: Printing
Date: Tue, 07 Apr 2009 10:01:46 +0900

In article <address@hidden>, YAMAMOTO Mitsuharu <address@hidden> writes:

> > Sorry but I don't have a time to read your code in detail.  Could
> > you explain why using GC extension data is better than (struct
> > glyphs_string *)->clip?

> I guess you introduced the members for clipping rectangles in struct
> glyph_string because we can't extract such information, which is
> necessary for text drawing, from the raw GC.

Yes.

> In the case of cairo
> drawing, such information is also necessary for almost all kinds of
> drawing, and the use of GC extension data allows us to extract
> clipping rectangles without introducing a wrapper data structure of GC
> (though we need a couple of wrapper functions,
> x_(re)set_clip_rectangles).  

That doesn't answer my question.  As I now don't remember
well when and how it is used, just by reading your comment,
I don't understand what is the problem of using (struct
glyphs_string *)->clip, and how using GC extention data
solves it.

---
Kenichi Handa
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]