Lines Matching refs:slot
37 pdf_color_components(PDF *p, int slot)
42 cs = &p->colorspaces[slot];
242 int slot;
244 for (slot = 0; slot < p->colorspaces_number; slot++)
246 if (pdf_colorspace_equal(p, &p->colorspaces[slot], cs))
249 p->colorspaces[slot].used_on_current_page = pdc_true;
250 return slot;
254 slot = p->colorspaces_number;
259 cs_new = &p->colorspaces[slot];
303 return slot;
464 int i, slot;
481 * These can be used without further ado: the slot number is identical
486 slot = pdf_add_colorspace(p, &cs, pdc_false);
488 slot = pdf_add_colorspace(p, &cs, pdc_false);
490 slot = pdf_add_colorspace(p, &cs, pdc_false);
573 pdf_write_colormap(PDF *p, int slot)
579 cs = &p->colorspaces[slot];
629 pdf_write_colorspace(PDF *p, int slot, pdc_bool direct)
634 if (slot < 0 || slot >= p->colorspaces_number)
636 pdc_errprintf(p->pdc, "%d", slot), 0, 0, 0);
638 cs = &p->colorspaces[slot];
752 int slot = -1;
758 PDF_RETURN_HANDLE(p, slot)
763 PDF_RETURN_HANDLE(p, slot)