~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to lily/include/virtual-font-metric.hh

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/*   
3
 
virtual-font-metric.hh -- declare Virtual_font_metric
4
 
 
5
 
source file of the GNU LilyPond music typesetter
6
 
 
7
 
(c) 2002--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8
 
 
9
 
 */
10
 
 
11
 
#ifndef VIRTUAL_FONT_METRIC_HH
12
 
#define VIRTUAL_FONT_METRIC_HH
13
 
 
14
 
#include "font-metric.hh"
15
 
 
16
 
class Virtual_font_metric : public Font_metric
17
 
{
18
 
  SCM font_list_;
19
 
public:
20
 
  Virtual_font_metric (SCM namelist, Real, Paper_def*);
21
 
 
22
 
  virtual int count () const;
23
 
  virtual Box get_indexed_char (int ascii) const;
24
 
  virtual Box get_ascii_char (int ascii) const;
25
 
  virtual Stencil get_indexed_char_stencil (int ascii) const;
26
 
  virtual Stencil get_ascii_char_stencil (int ascii) const;
27
 
  virtual Offset get_indexed_wxwy (int) const;
28
 
  virtual int name_to_index (String)const;
29
 
  virtual Stencil find_by_name (String) const;
30
 
 
31
 
protected:
32
 
  virtual void derived_mark () const;
33
 
};
34
 
 
35
 
 
36
 
#endif /* VIRTUAL_FONT_METRIC_HH */
37