Home | History | Annotate | Download | only in libpng

Lines Matching refs:TEXT

159  * text string, and (b) issuing it later as a series of chunk data writes.
173 /* Compress given text into storage in the png_ptr structure */
176 png_charp text, png_size_t text_len, int compression,
187 /* We may just want to pass the text right through */
190 comp->input = text;
214 * enough to hold the compressed text ((1001 * text_len / 1000) + 12)
223 png_ptr->zstream.next_in = (Bytef *)text;
343 /* Text length is number of buffers plus last buffer */
351 /* Ship the compressed text out via chunk writes */
1218 /* Check that the tEXt or zTXt keyword is valid per PNG 1.0 specification,
1349 /* Write a tEXt chunk */
1351 png_write_tEXt(png_structp png_ptr, png_charp key, png_charp text,
1365 if (text == NULL || *text == '\0')
1368 text_len = png_strlen(text);
1375 * contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
1382 png_write_chunk_data(png_ptr, (png_bytep)text, (png_size_t)text_len);
1390 /* Write a compressed text chunk */
1392 png_write_zTXt(png_structp png_ptr, png_charp key, png_charp text,
1417 if (text == NULL || *text == '\0' || compression==PNG_TEXT_COMPRESSION_NONE)
1419 png_write_tEXt(png_ptr, new_key, text, (png_size_t)0);
1424 text_len = png_strlen(text);
1427 text_len = png_text_compress(png_ptr, text, text_len, compression,
1453 png_charp lang, png_charp lang_key, png_charp text)
1486 if (text == NULL)
1489 text_len = png_strlen(text);
1492 text_len = png_text_compress(png_ptr, text, text_len, compression-2,
1508 * contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
1644 swprintf(wc_buf, TEXT("%12.12e"), width);
1649 swprintf(wc_buf, TEXT("%12.12e"), height);