Article View: comp.windows.interviews
Article #344glyph questions
From: Michael Cheng
Date: Thu, 16 Apr 1992 15:44
Date: Thu, 16 Apr 1992 15:44
17 lines
1014 bytes
1014 bytes
I'm not very clear about using glyphs, and I hope somone would be kind enough to answer the following questions: 1) I understand that in Glyph::allocate(Canvas*, const Allocation& allocation, Extensions& extension), the allocation informs the glyph how much space has been allocated. But what is the purpose of the extension? This was never explained. 2) I wish to write dynamic glyphs that change their appearances as data is read from a file. Is it safe to save the Canvas and the allocation passed in Glyph::allocate() for use in drawing operations? Thanks for any help. Mike
Technical Details
Message-ID:
<1992Apr16.154404.7649@daffy.cs.wisc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!daffy!dunlop.cs.wisc.edu!mchengShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!daffy!dunlop.cs.wisc.edu!mcheng From: mcheng@dunlop.cs.wisc.edu (Michael Cheng) Subject: glyph questions Message-ID: <1992Apr16.154404.7649@daffy.cs.wisc.edu> Sender: news@daffy.cs.wisc.edu (The News) Organization: University of Wisconsin, Madison -- Computer Sciences Dept. Date: Thu, 16 Apr 1992 15:44:04 GMT Lines: 17