~ubuntu-branches/ubuntu/lucid/pango1.0/lucid

« back to all changes in this revision

Viewing changes to pango/opentype/hb-ot-layout-gdef-private.hh

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-08-11 17:30:40 UTC
  • mfrom: (1.5.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090811173040-zozfegyjkb39sep2
Tags: 1.25.2-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
 
154
154
struct CaretValue
155
155
{
156
 
  int get_caret_value (hb_ot_layout_context_t *context, hb_codepoint_t glyph_id) const
 
156
  inline int get_caret_value (hb_ot_layout_context_t *context, hb_codepoint_t glyph_id) const
157
157
  {
158
158
    switch (u.format) {
159
159
    case 1: return u.format1->get_caret_value (context, glyph_id);
335
335
  inline bool mark_set_covers (unsigned int set_index, hb_codepoint_t glyph_id) const
336
336
  { return version >= 0x00010002 && (this+markGlyphSetsDef[0]).covers (set_index, glyph_id); }
337
337
 
338
 
  bool sanitize (SANITIZE_ARG_DEF) {
 
338
  inline bool sanitize (SANITIZE_ARG_DEF) {
339
339
    SANITIZE_DEBUG ();
340
340
    if (!SANITIZE (version)) return false;
341
341
    if (version.major != 1) return true;