Lines Matching refs:Font
270 * Font management.
272 class Font {
278 // Private so Font objects can not be copied
279 Font(const Font &) {}
280 Font &operator=(const Font &) { id=0; return *this; }
282 Font();
283 virtual ~Font();
330 virtual void DrawTextNoClip(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore, ColourAllocated back)=0;
331 virtual void DrawTextClipped(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore, ColourAllocated back)=0;
332 virtual void DrawTextTransparent(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore)=0;
333 virtual void MeasureWidths(Font &font_, const char *s, int len, int *positions)=0;
334 virtual int WidthText(Font &font_, const char *s, int len)=0;
335 virtual int WidthChar(Font &font_, char ch)=0;
336 virtual int Ascent(Font &font_)=0;
337 virtual int Descent(Font &font_)=0;
338 virtual int InternalLeading(Font &font_)=0;
339 virtual int ExternalLeading(Font &font_)=0;
340 virtual int Height(Font &font_)=0;
341 virtual int AverageCharWidth(Font &font_)=0;
382 virtual void SetFont(Font &font);
400 virtual void SetFont(Font &font)=0;