Lines Matching refs:nColors
539 v ->nColors = 0;
572 NewNC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suffix);
586 memmove(NewNC->List, v ->List, v->nColors * sizeof(_cmsNAMEDCOLOR));
587 NewNC ->nColors = v ->nColors;
601 if (NamedColorList ->nColors + 1 > NamedColorList ->Allocated) {
606 NamedColorList ->List[NamedColorList ->nColors].DeviceColorant[i] = Colorant == NULL? 0 : Colorant[i];
609 NamedColorList ->List[NamedColorList ->nColors].PCS[i] = PCS == NULL ? 0 : PCS[i];
613 strncpy(NamedColorList ->List[NamedColorList ->nColors].Name, Name, cmsMAX_PATH-1);
614 NamedColorList ->List[NamedColorList ->nColors].Name[cmsMAX_PATH-1] = 0;
618 NamedColorList ->List[NamedColorList ->nColors].Name[0] = 0;
621 NamedColorList ->nColors++;
629 return NamedColorList ->nColors;
695 if (index >= NamedColorList-> nColors) {
714 if (index >= NamedColorList-> nColors) {