Removes the shape given by the shape index.
| 369 | |
| 370 | // Removes the shape given by the shape index. |
| 371 | void ShapeTable::DeleteShape(int shape_id) { |
| 372 | delete shape_table_[shape_id]; |
| 373 | shape_table_[shape_id] = NULL; |
| 374 | shape_table_.remove(shape_id); |
| 375 | } |
| 376 | |
| 377 | // Adds a font_id to the given existing shape index for the given |
| 378 | // unichar_id. If the unichar_id is not in the shape, it is added. |