/haiku/headers/os/interface/ |
H A D | Gradient.h | 38 struct ColorStop { struct 39 ColorStop(const rgb_color c, float o); 40 ColorStop(uint8 r, uint8 g, uint8 b, uint8 a, float o); 41 ColorStop(const ColorStop& other); 42 ColorStop(); 44 bool operator!=(const ColorStop& other) const; 70 bool AddColorStop(const ColorStop& colorStop, argument 76 const ColorStop& colorStop); 81 ColorStop* ColorStopAt(int32 index) const; 82 ColorStop* ColorStopAtFast(int32 index) const; [all …]
|
/haiku/src/kits/interface/ |
H A D | Gradient.cpp | 28 BGradient::ColorStop::ColorStop(const rgb_color c, float o) in ColorStop() function in BGradient::ColorStop 39 BGradient::ColorStop::ColorStop(uint8 r, uint8 g, uint8 b, uint8 a, float o) in ColorStop() function in BGradient::ColorStop 50 BGradient::ColorStop::ColorStop(const ColorStop& other) in ColorStop() function in BGradient::ColorStop 61 BGradient::ColorStop::ColorStop() in ColorStop() function in BGradient::ColorStop 73 BGradient::ColorStop::operator!=(const ColorStop& other) const in operator !=() 84 sort_color_stops_by_offset(const BGradient::ColorStop* left, in sort_color_stops_by_offset() 85 const BGradient::ColorStop* right) in sort_color_stops_by_offset() 121 ColorStop stop; in BGradient() 192 for (int32 i = 0; ColorStop* stop = ColorStopAt(i); i++) { in Archive() 315 ColorStop* ourStop = ColorStopAtFast(i); in ColorStopsAreEqual() [all …]
|
/haiku/docs/user/interface/ |
H A D | Gradient.dox | 37 \struct BGradient::ColorStop 45 \var rgb_color BGradient::ColorStop::color 53 \var float BGradient::ColorStop::offset 61 \fn BGradient::ColorStop::ColorStop() 72 \fn BGradient::ColorStop::ColorStop(const ColorStop &other) 85 \fn BGradient::ColorStop::ColorStop(const rgb_color c, float o) 99 \fn BGradient::ColorStop::ColorStop(uint8 r, uint8 g, uint8 b, uint8 a, 117 \fn bool BGradient::ColorStop::operator!=(const ColorStop &other) const 248 \fn bool BGradient::AddColorStop(const ColorStop &colorStop, int32 index) 277 \fn ColorStop* BGradient::ColorStopAt(int32 index) const [all …]
|
/haiku/src/libs/icon/style/ |
H A D | GradientTransformable.cpp | 40 AddColor(BGradient::ColorStop(0, 0, 0, 255, 0.0), 0); in Gradient() 41 AddColor(BGradient::ColorStop(255, 255, 255, 255, 1.0), 1); in Gradient() 74 BGradient::ColorStop step; in Gradient() 110 for (int32 i = 0; BGradient::ColorStop* step = other.ColorAt(i); i++) { in Gradient() 139 for (int32 i = 0; BGradient::ColorStop* step = ColorAt(i); i++) { in Archive() 211 BGradient::ColorStop* ourStep = ColorAtFast(i); in ColorStepsAreEqual() 212 BGradient::ColorStop* otherStep = other.ColorAtFast(i); in ColorStepsAreEqual() 232 for (int32 i = 0; BGradient::ColorStop* step = other.ColorAt(i); i++) in SetColors() 245 BGradient::ColorStop* step = new BGradient::ColorStop(color, offset); in AddColor() 249 BGradient::ColorStop* s = ColorAtFast(index); in AddColor() [all …]
|
H A D | GradientTransformable.h | 78 bool AddColor(const BGradient::ColorStop& color, 84 const BGradient::ColorStop& step); 89 BGradient::ColorStop* ColorAt(int32 index) const; 90 BGradient::ColorStop* ColorAtFast(int32 index) const;
|
H A D | Style.cpp | 215 BGradient::ColorStop* step = fGradient->ColorAtFast(i); in HasTransparency()
|
/haiku/src/apps/icon-o-matic/gui/ |
H A D | GradientControl.cpp | 144 BGradient::ColorStop* step = fGradient->ColorAt(fDraggingStepIndex); in MouseMoved() 181 if (BGradient::ColorStop* step in MessageReceived() 235 if (BGradient::ColorStop* step in KeyDown() 370 for (int32 i = 0; BGradient::ColorStop* step = fGradient->ColorAt(i); in Draw() 471 BGradient::ColorStop* stop in GetCurrentStop() 625 for (int32 i = 0; BGradient::ColorStop* step in _StepIndexFor() 656 if (BGradient::ColorStop* step = fGradient->ColorAt(fCurrentStepIndex)) { in _UpdateCurrentColor()
|
/haiku/src/servers/app/ |
H A D | SimpleTransform.h | 173 BGradient::ColorStop* end = gradient->ColorStopAtFast( in Apply() 179 BGradient::ColorStop* start = gradient->ColorStopAtFast(0); in Apply()
|
/haiku/src/kits/app/ |
H A D | LinkReceiver.cpp | 503 BGradient::ColorStop stop; in ReadGradient() 505 if ((status = Read(&stop, sizeof(BGradient::ColorStop))) != B_OK) in ReadGradient()
|
H A D | ServerLink.cpp | 154 sizeof(BGradient::ColorStop)); in AttachGradient()
|
/haiku/src/apps/icon-o-matic/import_export/flat_icon/ |
H A D | FlatIconExporter.cpp | 664 BGradient::ColorStop* step = gradient->ColorAtFast(i); in _WriteGradient() 690 BGradient::ColorStop* step = gradient->ColorAtFast(i); in _WriteGradient()
|
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | DocumentBuilder.cpp | 313 BGradient::ColorStop* step = gradient.ColorAt(0); in _AddShape()
|
H A D | SVGExporter.cpp | 417 for (int32 i = 0; BGradient::ColorStop* stop = gradient->ColorAt(i); i++) { in _ExportGradient()
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Painter.cpp | 1996 BGradient::ColorStop* from = gradient.ColorStopAt(0); in _MakeGradient() 2024 BGradient::ColorStop* to = gradient.ColorStopAtFast(i); in _MakeGradient() 2076 BGradient::ColorStop* from = gradient.ColorStopAtFast(i); in _MakeGradient() 2077 BGradient::ColorStop* to = gradient.ColorStopAtFast(i + 1); in _MakeGradient()
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteMessage.cpp | 269 BGradient::ColorStop* stop = gradient.ColorStopAt(i); in AddGradient()
|