Searched refs:png_text_ (Results 1 – 1 of 1) sorted by relevance
450 : comments_(comments), png_text_(new png_text[comments.size()]) { in CommentWriter()457 free(png_text_[i].key); in ~CommentWriter()458 free(png_text_[i].text); in ~CommentWriter()460 delete[] png_text_; in ~CommentWriter()465 png_text* get_png_text() { return png_text_; } in get_png_text()471 png_text_[pos].compression = PNG_TEXT_COMPRESSION_NONE; in AddComment()475 png_text_[pos].key = strdup(comment.key.substr(0, 78).c_str()); in AddComment()476 png_text_[pos].text = strdup(comment.text.c_str()); in AddComment()477 png_text_[pos].text_length = comment.text.length(); in AddComment()479 png_text_[pos].itxt_length = 0; in AddComment()[all …]