/inkscape/src/ui/widget/ |
H A D | color-picker.cpp | 31 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 D | color-entry.cpp | 65 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 D | color-preview.h | 29 ColorPreview (guint32 rgba); 30 void setRgba32 (guint32 rgba);
|
H A D | color-scales.cpp | 297 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...] |
H A D | color-picker.h | 39 const guint32 rgba, 44 void setRgba32 (guint32 rgba);
|
H A D | color-preview.cpp | 22 ColorPreview::ColorPreview (guint32 rgba) argument 24 _rgba = rgba; 87 ColorPreview::setRgba32 (guint32 rgba) argument 89 _rgba = rgba;
|
/inkscape/src/display/ |
H A D | grayscale.cpp | 2 * 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 D | grayscale.h | 16 * Provide methods to calculate grayscale values (e.g. convert rgba value to grayscale rgba value). 19 guint32 process(guint32 rgba);
|
H A D | sp-ctrlline.h | 28 void setRgba32(guint32 rgba); 36 guint32 rgba; member in struct:SPCtrlLine
|
H A D | sp-ctrlquadr.cpp | 25 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 D | sp-ctrlquadr.h | 26 void sp_ctrlquadr_set_rgba32 (SPCtrlQuadr *cl, guint32 rgba);
|
H A D | canvas-text.h | 38 guint32 rgba; member in struct:SPCanvasText 63 void sp_canvastext_set_rgba32 (SPCanvasText *ct, guint32 rgba, guint32 rgba_stroke);
|
H A D | guideline.h | 32 guint32 rgba; member in struct:SPGuideLine 58 void sp_guideline_set_color(SPGuideLine *gl, unsigned int rgba);
|
H A D | canvas-bpath.h | 98 void sp_canvas_bpath_set_fill (SPCanvasBPath *cbp, guint32 rgba, SPWindRule rule); 99 void sp_canvas_bpath_set_stroke (SPCanvasBPath *cbp, guint32 rgba, gdouble width, SPStrokeJoinType join, SPStrokeCapType cap, double dash=0, double gap=0);
|
H A D | sp-ctrlline.cpp | 52 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 D | guideline.cpp | 32 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 D | canvas-text.cpp | 49 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 D | drawing-context.cpp | 125 void DrawingContext::setSource(guint32 rgba) { argument 126 ink_cairo_set_source_rgba32(_ct, rgba);
|
/inkscape/src/libdepixelize/priv/ |
H A D | simplifiedvoronoi.h | 52 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...] |
H A D | splines-kopf2011.h | 99 dest.rgba[i] = source.rgba[i]; 132 path.rgba[i] = it->rgba[i];
|
H A D | homogeneoussplines.h | 48 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);
|
/inkscape/src/libdepixelize/ |
H A D | kopftracer2011.cpp | 362 it->adj.top = similar_colors(it->rgba, (it - graph.width())->rgba); 365 = similar_colors(it->rgba, (it - graph.width() + 1)->rgba); 368 it->adj.right = similar_colors(it->rgba, (it + 1)->rgba); 371 = similar_colors(it->rgba, (it + graph.width() + 1)->rgba); 375 = similar_colors(it->rgba, (it + graph.width())->rgba); [all...] |
H A D | splines.h | 49 guint8 rgba[4]; member in struct:Tracer::Splines::Path
|
/inkscape/src/extension/internal/ |
H A D | latex-text-renderer.cpp | 293 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 D | javafx-out.cpp | 134 * 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...] |