Lines Matching refs:num_text
181 int num_text = 0; in writepng_init() local
184 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
185 text[num_text].key = "Title"; in writepng_init()
186 text[num_text].text = mainprog_ptr->title; in writepng_init()
187 ++num_text; in writepng_init()
190 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
191 text[num_text].key = "Author"; in writepng_init()
192 text[num_text].text = mainprog_ptr->author; in writepng_init()
193 ++num_text; in writepng_init()
196 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
197 text[num_text].key = "Description"; in writepng_init()
198 text[num_text].text = mainprog_ptr->desc; in writepng_init()
199 ++num_text; in writepng_init()
202 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
203 text[num_text].key = "Copyright"; in writepng_init()
204 text[num_text].text = mainprog_ptr->copyright; in writepng_init()
205 ++num_text; in writepng_init()
208 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
209 text[num_text].key = "E-mail"; in writepng_init()
210 text[num_text].text = mainprog_ptr->email; in writepng_init()
211 ++num_text; in writepng_init()
214 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
215 text[num_text].key = "URL"; in writepng_init()
216 text[num_text].text = mainprog_ptr->url; in writepng_init()
217 ++num_text; in writepng_init()
219 png_set_text(png_ptr, info_ptr, text, num_text); in writepng_init()