Lines Matching refs:TEXT
145 * text string, and (b) issuing it later as a series of chunk data writes.
159 /* compress given text into storage in the png_ptr structure */
162 png_charp text, png_size_t text_len, int compression,
173 /* we may just want to pass the text right through */
176 comp->input = text;
200 * enough to hold the compressed text ((1001 * text_len / 1000) + 12)
209 png_ptr->zstream.next_in = (Bytef *)text;
327 /* text length is number of buffers plus last buffer */
335 /* ship the compressed text out via chunk writes */
1195 /* Check that the tEXt or zTXt keyword is valid per PNG 1.0 specification,
1325 /* write a tEXt chunk */
1327 png_write_tEXt(png_structp png_ptr, png_charp key, png_charp text,
1339 png_warning(png_ptr, "Empty keyword in tEXt chunk");
1343 if (text == NULL || *text == '\0')
1346 text_len = png_strlen(text);
1352 * contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
1358 png_write_chunk_data(png_ptr, (png_bytep)text, text_len);
1366 /* write a compressed text chunk */
1368 png_write_zTXt(png_structp png_ptr, png_charp key, png_charp text,
1393 if (text == NULL || *text == '\0' || compression==PNG_TEXT_COMPRESSION_NONE)
1395 png_write_tEXt(png_ptr, new_key, text, (png_size_t)0);
1400 text_len = png_strlen(text);
1403 text_len = png_text_compress(png_ptr, text, text_len, compression,
1428 png_charp lang, png_charp lang_key, png_charp text)
1462 if (text == NULL)
1465 text_len = png_strlen(text);
1468 text_len = png_text_compress(png_ptr, text, text_len, compression-2,
1485 * contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
1615 swprintf(wc_buf, TEXT("%12.12e"), width);
1619 swprintf(wc_buf, TEXT("%12.12e"), height);