Searched defs:rgba (Results 1 - 25 of 40) sorted by relevance

12

/inkscape/src/display/
H A Dgrayscale.cpp2 * Provide methods to calculate grayscale values (e.g. convert rgba value to grayscale rgba value)
35 guint32 process(guint32 rgba) { argument
36 return process(SP_RGBA32_R_U(rgba), SP_RGBA32_G_U(rgba), SP_RGBA32_B_U(rgba), SP_RGBA32_A_U(rgba));
H A Dsp-ctrlline.h28 void setRgba32(guint32 rgba);
36 guint32 rgba; member in struct:SPCtrlLine
H A Dguideline.h32 guint32 rgba; member in struct:SPGuideLine
58 void sp_guideline_set_color(SPGuideLine *gl, unsigned int rgba);
H A Dsp-ctrlquadr.cpp25 guint32 rgba; member in struct:SPCtrlQuadr
52 ctrlquadr->rgba = 0x000000ff;
95 cairo_set_source_rgba(buf->ct, SP_RGBA32_B_F(cq->rgba), SP_RGBA32_G_F(cq->rgba), SP_RGBA32_R_F(cq->rgba), SP_RGBA32_A_F(cq->rgba));
140 sp_ctrlquadr_set_rgba32 (SPCtrlQuadr *cl, guint32 rgba) argument
145 if (rgba != cl->rgba) {
147 cl->rgba
[all...]
H A Dsp-ctrlline.cpp52 ctrlline->rgba = 0x0000ff7f;
97 ink_cairo_set_source_rgba32(buf->ct, cl->rgba);
139 void SPCtrlLine::setRgba32(guint32 rgba) argument
141 if (rgba != this->rgba) {
142 this->rgba = rgba;
H A Dcanvas-text.h38 guint32 rgba; member in struct:SPCanvasText
63 void sp_canvastext_set_rgba32 (SPCanvasText *ct, guint32 rgba, guint32 rgba_stroke);
H A Ddrawing-context.cpp125 void DrawingContext::setSource(guint32 rgba) { argument
126 ink_cairo_set_source_rgba32(_ct, rgba);
H A Dcanvas-bpath.cpp200 sp_canvas_bpath_set_fill (SPCanvasBPath *cbp, guint32 rgba, SPWindRule rule) argument
205 cbp->fill_rgba = rgba;
212 sp_canvas_bpath_set_stroke (SPCanvasBPath *cbp, guint32 rgba, gdouble width, SPStrokeJoinType join, SPStrokeCapType cap, double dash, double gap) argument
217 cbp->stroke_rgba = rgba;
H A Ddrawing-image.cpp139 guint32 rgba = prefs->getInt("/options/wireframecolors/images", 0xff0000ff); local
164 dc.setSource(rgba);
H A Ddrawing-shape.cpp207 guint32 rgba = _drawing.outlinecolor; local
215 dc.setSource(rgba);
H A Dcanvas-text.cpp49 canvastext->rgba = 0x33337fff;
114 ink_cairo_set_source_rgba32(buf->ct, cl->rgba);
244 sp_canvastext_set_rgba32 (SPCanvasText *ct, guint32 rgba, guint32 rgba_stroke) argument
249 if (rgba != ct->rgba || rgba_stroke != ct->rgba_stroke) {
250 ct->rgba = rgba;
H A Dguideline.cpp32 static void sp_guideline_drawline (SPCanvasBuf *buf, gint x0, gint y0, gint x1, gint y1, guint32 rgba);
47 gl->rgba = 0x0000ff7f;
87 ink_cairo_set_source_rgba32(buf->ct, gl->rgba);
126 sp_guideline_drawline (buf, buf->rect.left(), static_cast<gint>(round(y_intersect_left)), buf->rect.right(), static_cast<gint>(round(y_intersect_right)), gl->rgba);
134 sp_guideline_drawline (buf, buf->rect.right(), static_cast<gint>(round(y_intersect_right)), buf->rect.left(), static_cast<gint>(round(y_intersect_left)), gl->rgba);
143 sp_guideline_drawline (buf, static_cast<gint>(round(x_intersect_top)), buf->rect.top(), static_cast<gint>(round(x_intersect_bottom)), buf->rect.bottom(), gl->rgba);
151 sp_guideline_drawline (buf, static_cast<gint>(round(x_intersect_bottom)), buf->rect.bottom(), static_cast<gint>(round(x_intersect_top)), buf->rect.top(), gl->rgba);
262 void sp_guideline_set_color(SPGuideLine *gl, unsigned int rgba) argument
264 gl->rgba = rgba;
[all...]
H A Ddrawing-text.cpp444 guint32 rgba = _drawing.outlinecolor; local
446 dc.setSource(rgba);
/inkscape/src/libdepixelize/
H A Dsplines.h49 guint8 rgba[4]; member in struct:Tracer::Splines::Path
/inkscape/src/ui/widget/
H A Dcolor-entry.cpp65 guint64 rgba = g_ascii_strtoull(str, &end, 16); local
69 rgba = rgba << (4 * (8 - len));
75 SPColor color(rgba);
76 _color.setColorAlpha(color, SP_RGBA32_A_F(rgba));
92 guint32 rgba = color.toRGBA32(alpha); local
93 Glib::ustring text = Glib::ustring::format(std::hex, std::setw(8), std::setfill(L'0'), rgba);
H A Dcolor-picker.cpp31 guint32 rgba, bool undo)
32 : _preview(rgba), _title(title), _rgba(rgba), _undo(undo),
72 void ColorPicker::setRgba32 (guint32 rgba) argument
76 _preview.setRgba32 (rgba);
77 _rgba = rgba;
81 _selected_color.setValue(rgba);
117 guint32 rgba = _selected_color.value(); local
118 _preview.setRgba32(rgba);
125 on_changed(rgba);
30 ColorPicker(const Glib::ustring& title, const Glib::ustring& tip, guint32 rgba, bool undo) argument
[all...]
H A Dcolor-preview.cpp22 ColorPreview::ColorPreview (guint32 rgba) argument
24 _rgba = rgba;
87 ColorPreview::setRgba32 (guint32 rgba) argument
89 _rgba = rgba;
H A Dcolor-scales.cpp297 void ColorScales::_getRgbaFloatv(gfloat *rgba) argument
299 g_return_if_fail(rgba != NULL);
303 rgba[0] = getScaled(_a[0]);
304 rgba[1] = getScaled(_a[1]);
305 rgba[2] = getScaled(_a[2]);
306 rgba[3] = getScaled(_a[3]);
309 sp_color_hsl_to_rgb_floatv(rgba, getScaled(_a[0]), getScaled(_a[1]), getScaled(_a[2]));
310 rgba[3] = getScaled(_a[3]);
313 sp_color_cmyk_to_rgb_floatv(rgba, getScaled(_a[0]), getScaled(_a[1]), getScaled(_a[2]), getScaled(_a[3]));
314 rgba[
354 guint32 rgba; local
365 gfloat rgba[4]; local
528 guint32 rgba; local
638 sp_color_preview_set_rgba32(SP_COLOR_PREVIEW(_p), rgba); local
[all...]
/inkscape/src/
H A Dcolor.cpp175 guint32 rgba = SP_RGBA32_U_COMPOSE( SP_COLOR_F_TO_U(v.c[0]), local
179 return rgba;
H A Dline-geometry.cpp202 void create_canvas_point(Geom::Point const &pos, double size, guint32 rgba) argument
208 "fill_color", rgba,
215 void create_canvas_line(Geom::Point const &p1, Geom::Point const &p2, guint32 rgba) argument
219 line->setRgba32(rgba);
/inkscape/src/extension/internal/
H A Dlatex-text-renderer.cpp293 guint32 rgba = 0; local
297 rgba = style->fill.value.color.toRGBA32(1.);
301 rgba = style->stroke.value.color.toRGBA32(1.);
320 os << "\\color[rgb]{" << SP_RGBA32_R_F(rgba) << "," << SP_RGBA32_G_F(rgba) << "," << SP_RGBA32_B_F(rgba) << "}";
443 guint32 rgba = 0; local
447 rgba = style->fill.value.color.toRGBA32(1.);
451 rgba = style->stroke.value.color.toRGBA32(1.);
470 os << "\\color[rgb]{" << SP_RGBA32_R_F(rgba) << "," << SP_RGBA32_G_
[all...]
H A Djavafx-out.cpp134 * Format an rgba() string
136 static JavaFXOutput::String rgba(guint32 rgba) argument
138 unsigned int r = SP_RGBA32_R_U(rgba);
139 unsigned int g = SP_RGBA32_G_U(rgba);
140 unsigned int b = SP_RGBA32_B_U(rgba);
141 unsigned int a = SP_RGBA32_A_U(rgba);
151 * Format an rgba() string for a color and a 0.0-1.0 alpha
153 static JavaFXOutput::String rgba(SPColor color, gdouble alpha) function in namespace:Inkscape::Extension::Internal
155 return rgba(colo
[all...]
/inkscape/src/libdepixelize/priv/
H A Dhomogeneoussplines.h48 Polygon(const guint8 (&rgba)[4])
51 this->rgba[i] = rgba[i];
61 guint8 rgba[4]; member in struct:Tracer::HomogeneousSplines::Polygon
196 if ( same_color(polygon_it->rgba, cell_it->rgba) ) {
205 if ( same_color(polygon_it->rgba, polygon2_it->rgba) ) {
222 Polygon polygon(cell_it->rgba);
H A Dpixelgraph.h60 guint8 rgba[4]; member in class:Tracer::PixelGraph::Node
298 dest->rgba[k] = pixels[k];
319 dest->rgba[k] = pixels[k];
320 dest->rgba[3] = '\xFF';
H A Dsimplifiedvoronoi.h52 guint8 rgba[4]; member in struct:Tracer::SimplifiedVoronoi::Cell
272 cells_it->rgba[k] = graph_it->rgba[k];
302 cells_it->rgba[j] = graph_it->rgba[j];
319 cells_it->rgba[j] = graph_it->rgba[j];
345 cells_it->rgba[j] = graph_it->rgba[j];
369 cells_it->rgba[
[all...]

Completed in 157 milliseconds

12