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

« back to all changes in this revision

Viewing changes to pango/opentype/hb-ot-layout-gpos-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:
1366
1366
    Extension           = 9,
1367
1367
  };
1368
1368
 
1369
 
  bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
 
1369
  inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
1370
1370
  {
1371
1371
    switch (lookup_type) {
1372
1372
    case Single:                return u.single->apply (APPLY_ARG);
1382
1382
    }
1383
1383
  }
1384
1384
 
1385
 
  bool sanitize (SANITIZE_ARG_DEF) {
 
1385
  inline bool sanitize (SANITIZE_ARG_DEF) {
1386
1386
    SANITIZE_DEBUG ();
1387
1387
    if (!SANITIZE (u.format)) return false;
1388
1388
    switch (u.format) {
1460
1460
    return false;
1461
1461
  }
1462
1462
 
1463
 
  bool apply_string (hb_ot_layout_context_t *context,
1464
 
                     hb_buffer_t *buffer,
1465
 
                     hb_mask_t    mask) const
 
1463
   inline bool apply_string (hb_ot_layout_context_t *context,
 
1464
                             hb_buffer_t *buffer,
 
1465
                             hb_mask_t    mask) const
1466
1466
  {
1467
1467
    bool ret = false;
1468
1468
 
1527
1527
                               hb_mask_t     mask) const
1528
1528
  { return get_lookup (lookup_index).apply_string (context, buffer, mask); }
1529
1529
 
1530
 
  bool sanitize (SANITIZE_ARG_DEF) {
 
1530
  inline bool sanitize (SANITIZE_ARG_DEF) {
1531
1531
    SANITIZE_DEBUG ();
1532
1532
    if (!GSUBGPOS::sanitize (SANITIZE_ARG)) return false;
1533
1533
    OffsetTo<PosLookupList> &list = CAST(OffsetTo<PosLookupList>, lookupList, 0);