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

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

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

Definition at line 154 of file JB2Image.cpp.

Referenced by get_bitmap().

  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