Lines Matching defs:stop
121 ColorStop stop;
122 for (int32 i = 0; archive->FindFloat("offset", i, &stop.offset) >= B_OK; i++) {
123 if (archive->FindInt32("color", i, (int32*)&stop.color) >= B_OK)
124 AddColorStop(stop, i);
192 for (int32 i = 0; ColorStop* stop = ColorStopAt(i); i++) {
193 ret = into->AddInt32("color", (const uint32&)stop->color);
196 ret = into->AddFloat("offset", stop->offset);
333 for (int32 i = 0; ColorStop* stop = other.ColorStopAt(i); i++)
334 AddColorStop(*stop, i);
347 ColorStop* stop = new ColorStop(color, offset);
352 if (s->offset > stop->offset)
355 if (!fColorStops.AddItem((void*)stop, index)) {
356 delete stop;
367 ColorStop* stop = new ColorStop(colorStop);
368 if (!fColorStops.AddItem((void*)stop, index)) {
369 delete stop;
380 ColorStop* stop = (ColorStop*)fColorStops.RemoveItem(index);
381 if (!stop) {
384 delete stop;
393 if (ColorStop* stop = ColorStopAt(index)) {
394 if (*stop != color) {
395 stop->color = color.color;
396 stop->offset = color.offset;
408 ColorStop* stop = ColorStopAt(index);
409 if (stop && stop->color != color) {
410 stop->color = color;
421 ColorStop* stop = ColorStopAt(index);
422 if (stop && stop->offset != offset) {
423 stop->offset = offset;
575 ColorStop stop;
577 if ((status = stream->Read(&stop, sizeof(ColorStop))) < B_OK)
579 if (!gradient->AddColorStop(stop, i))