Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

const JB2Shape & JB2Dict::get_shape ( const int  shapeno  )  const [inherited]

Returns a constant pointer to shape shapeno#. The returned pointer directly points into the shape array. This pointer can only be used for reading the shape data.

Definition at line 171 of file JB2Image.cpp.

  const JB2Shape *retval;
  if(shapeno >= inherited_shapes)
    retval=&shapes[shapeno - inherited_shapes];
  }else if(inherited_dict)
    G_THROW( ERR_MSG("JB2Image.bad_number") );
  return *retval;

Generated by  Doxygen 1.6.0   Back to index