Home
last modified time | relevance | path

Searched refs:brush_width (Results 1 – 25 of 44) sorted by relevance

12

/dports/graphics/pinta/pinta-1.7.1/Pinta.Tools/Tools/
H A DBaseBrushTool.cs38 protected ToolBarComboBox brush_width; field in Pinta.Tools.BaseBrushTool
52 if (brush_width != null)
54 if (Int32.TryParse(brush_width.ComboBox.ActiveText, out width))
58 (brush_width.ComboBox as Gtk.ComboBoxEntry).Entry.Text = width.ToString();
63 (brush_width.ComboBox as Gtk.ComboBoxEntry).Entry.Text = DEFAULT_BRUSH_WIDTH.ToString();
67 set { (brush_width.ComboBox as Gtk.ComboBoxEntry).Entry.Text = value.ToString (); }
87 if (brush_width == null) in OnBuildToolBar()
88 brush_width = new ToolBarComboBox (65, 1, true, "1", "2", "3", "4", "5", "6", "7", "8", "9", in OnBuildToolBar()
92 tb.AppendItem (brush_width); in OnBuildToolBar()
H A DSelectShapeTool.cs42 protected ToolBarComboBox brush_width; field in Pinta.Tools.SelectShapeTool
70 if (Int32.TryParse (brush_width.ComboBox.ActiveText, out width)) {
72 (brush_width.ComboBox as Gtk.ComboBoxEntry).Entry.Text = width.ToString ();
76 (brush_width.ComboBox as Gtk.ComboBoxEntry).Entry.Text = DEFAULT_BRUSH_WIDTH.ToString ();
79 set { (brush_width.ComboBox as Gtk.ComboBoxEntry).Entry.Text = value.ToString (); }
110 if (brush_width == null) in BuildToolBar()
111 brush_width = new ToolBarComboBox (65, 1, true, "1", "2", "3", "4", "5", "6", "7", "8", "9", in BuildToolBar()
115 tb.AppendItem (brush_width); in BuildToolBar()
H A DPaintBrushTool.cs87 brush_width.ComboBox.Changed += (sender, e) => SetCursor (DefaultCursor); in OnBuildToolBar()
178 var brush_width = BrushWidth; in OnMouseMove()
186 g.LineWidth = brush_width; in OnMouseMove()
/dports/graphics/grafx2/grafx2/src/
H A Dpxsimple.c130 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_simple()
152 src = src + brush_width - width; in Display_brush_color_simple()
159 byte transp_color, byte color, word brush_width) in Display_brush_mono_simple() argument
184 src+=brush_width-width; in Display_brush_mono_simple()
215 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_simple()
237 src = src + brush_width - width; in Display_brush_simple()
357 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_simple() argument
360 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_simple()
378 src += brush_width; in Display_brush_color_zoom_simple()
388 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_simple() argument
[all …]
H A Dpxtall.c139 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_tall()
163 src = src + brush_width - width; in Display_brush_color_tall()
170 byte transp_color, byte color, word brush_width) in Display_brush_mono_tall() argument
200 src+=brush_width-width; in Display_brush_mono_tall()
233 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_tall()
257 src = src + brush_width - width; in Display_brush_tall()
340 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_tall() argument
343 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_tall()
362 src += brush_width; in Display_brush_color_zoom_tall()
372 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_tall() argument
[all …]
H A Dpxwide.c141 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_wide()
164 src = src + brush_width - width; in Display_brush_color_wide()
171 byte transp_color, byte color, word brush_width) in Display_brush_mono_wide() argument
195 src+=brush_width-width; in Display_brush_mono_wide()
234 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_wide()
256 src = src + brush_width - width; in Display_brush_wide()
391 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_wide() argument
394 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_wide()
412 src += brush_width; in Display_brush_color_zoom_wide()
422 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_wide() argument
[all …]
H A Dpxdouble.c152 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_double()
178 src = src + brush_width - width; in Display_brush_color_double()
185 byte transp_color, byte color, word brush_width) in Display_brush_mono_double() argument
212 src+=brush_width-width; in Display_brush_mono_double()
253 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_double()
277 src = src + brush_width - width; in Display_brush_double()
397 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_double() argument
400 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_double()
419 src += brush_width; in Display_brush_color_zoom_double()
429 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_double() argument
[all …]
H A Dpxwide2.c163 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_wide2()
188 src = src + brush_width - width; in Display_brush_color_wide2()
195 byte transp_color, byte color, word brush_width) in Display_brush_mono_wide2() argument
222 src+=brush_width-width; in Display_brush_mono_wide2()
264 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_wide2()
289 src = src + brush_width - width; in Display_brush_wide2()
413 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_wide2() argument
416 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_wide2()
448 src += brush_width; in Display_brush_color_zoom_wide2()
458 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_wide2() argument
[all …]
H A Dpxtall.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxtriple.c168 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_triple()
195 src = src + brush_width - width; in Display_brush_color_triple()
202 byte transp_color, byte color, word brush_width) in Display_brush_mono_triple() argument
230 src+=brush_width-width; in Display_brush_mono_triple()
273 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_triple()
298 src = src + brush_width - width; in Display_brush_triple()
423 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_triple() argument
426 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_triple()
460 src += brush_width; in Display_brush_color_zoom_triple()
470 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_triple() argument
[all …]
H A Dpxquad.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxtriple.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxwide2.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxdouble.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxtall2.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxtall3.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxsimple.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxwide.h35 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
36 …,word x_offset,word y_offset,word width,word height,byte transp_color,byte color,word brush_width);
43 …x_offset,word y_offset,word width,word end_y_pos,byte transp_color,word brush_width,byte * buffer);
44 …rd y_offset,word width,word end_y_pos,byte transp_color,byte color,word brush_width,byte * buffer);
46 …,word y_pos,word x_offset,word y_offset,word width,word height,byte transp_color,word brush_width);
H A Dpxtall3.c177 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_tall3()
206 src = src + brush_width - width; in Display_brush_color_tall3()
213 byte transp_color, byte color, word brush_width) in Display_brush_mono_tall3() argument
243 src+=brush_width-width; in Display_brush_mono_tall3()
288 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_tall3()
316 src = src + brush_width - width; in Display_brush_tall3()
444 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_tall3() argument
447 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_tall3()
484 src += brush_width; in Display_brush_color_zoom_tall3()
494 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_tall3() argument
[all …]
H A Dpxtall2.c167 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_tall2()
196 src = src + brush_width - width; in Display_brush_color_tall2()
203 byte transp_color, byte color, word brush_width) in Display_brush_mono_tall2() argument
233 src+=brush_width-width; in Display_brush_mono_tall2()
278 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_tall2()
306 src = src + brush_width - width; in Display_brush_tall2()
440 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_tall2() argument
443 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_tall2()
479 src += brush_width; in Display_brush_color_zoom_tall2()
489 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_tall2() argument
[all …]
H A Dpxquad.c193 byte* src = Brush + y_offset * brush_width + x_offset; in Display_brush_color_quad()
222 src = src + brush_width - width; in Display_brush_color_quad()
229 byte transp_color, byte color, word brush_width) in Display_brush_mono_quad() argument
259 src+=brush_width-width; in Display_brush_mono_quad()
304 byte* src = brush + y_offset * brush_width + x_offset; in Display_brush_quad()
332 src = src + brush_width - width; in Display_brush_quad()
464 word brush_width, // width réelle de la brosse in Display_brush_color_zoom_quad() argument
467 byte* src = Brush+y_offset*brush_width + x_offset; in Display_brush_color_zoom_quad()
504 src += brush_width; in Display_brush_color_zoom_quad()
514 word brush_width, // width réelle de la brosse in Display_brush_mono_zoom_quad() argument
[all …]
/dports/graphics/p5-GD/GD-2.73/demos/
H A Dpolyline.pl291 $brush_width = 2;
293 $brush = new GD::Image($brush_width,$brush_width);
295 $brush->filledRectangle(0,0,$brush_width,$brush_width,$brush->colorAllocate(@$brush_color));
298 $brush_width = 3;
300 $brush = new GD::Image($brush_width,$brush_width);
302 $brush->filledRectangle(0,0,$brush_width,$brush_width,$brush->colorAllocate(@$brush_color));
/dports/graphics/pinta/pinta-1.7.1/Pinta.Tools/Editable/Shapes/
H A DShapeEngineCollection.cs143 int brush_width) in ShapeEngine() argument
157 BrushWidth = brush_width; in ShapeEngine()
231 public abstract void GeneratePoints (int brush_width); in GeneratePoints() argument
H A DEllipseEngine.cs49 int brush_width) in EllipseEngine() argument
51 antialiasing, true, outline_color, fill_color, brush_width) in EllipseEngine()
70 public override void GeneratePoints (int brush_width) in GeneratePoints() argument
/dports/graphics/gimp-app/gimp-2.10.30/app/widgets/
H A Dgimpviewrendererbrush.c225 gint brush_width; in gimp_view_renderer_brush_draw() local
243 gimp_viewable_get_size (renderer->viewable, &brush_width, &brush_height); in gimp_view_renderer_brush_draw()
245 if (renderer->width < brush_width || renderer->height < brush_height) in gimp_view_renderer_brush_draw()

12