Home
last modified time | relevance | path

Searched refs:_canvas (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/dports/devel/smc/smc_4_3_0/examples/Tcl/EX4/
H A Dstoplight.tcl76 set _canvas $canvas;
121 return -code ok [$_canvas cget -width];
135 return -code ok [$_canvas cget -height];
512 set X3 [expr [$_canvas cget -width] / 2];
513 set Y3 [expr [$_canvas cget -height] / 2];
516 set X5 [$_canvas cget -width];
517 set Y5 [$_canvas cget -height];
533 $_canvas create line $X1 $Y3 $X2 $Y3;
534 $_canvas create line $X3 $Y1 $X3 $Y2;
535 $_canvas create line $X4 $Y3 $X5 $Y3;
[all …]
/dports/graphics/pear-Image_Graph/Image_Graph-0.8.0/Graph/Marker/
H A DPlus.php78 … $this->_canvas->addVertex(array('x' => $x - $this->_size, 'y' => $y - $this->_thickness));
79 … $this->_canvas->addVertex(array('x' => $x - $this->_thickness, 'y' => $y - $this->_thickness));
80 … $this->_canvas->addVertex(array('x' => $x - $this->_thickness, 'y' => $y - $this->_size));
81 … $this->_canvas->addVertex(array('x' => $x + $this->_thickness, 'y' => $y - $this->_size));
82 … $this->_canvas->addVertex(array('x' => $x + $this->_thickness, 'y' => $y - $this->_thickness));
83 … $this->_canvas->addVertex(array('x' => $x + $this->_size, 'y' => $y - $this->_thickness));
84 … $this->_canvas->addVertex(array('x' => $x + $this->_size, 'y' => $y + $this->_thickness));
86 … $this->_canvas->addVertex(array('x' => $x + $this->_thickness, 'y' => $y + $this->_size));
87 … $this->_canvas->addVertex(array('x' => $x - $this->_thickness, 'y' => $y + $this->_size));
89 … $this->_canvas->addVertex(array('x' => $x - $this->_size, 'y' => $y + $this->_thickness));
[all …]
H A DCross.php79 $this->_canvas->addVertex(array('x' => $x - $d1 - $d2, 'y' => $y - $d1 + $d2));
80 $this->_canvas->addVertex(array('x' => $x - $d1 + $d2, 'y' => $y - $d1 - $d2));
81 $this->_canvas->addVertex(array('x' => $x, 'y' => $y - 2 * $d2));
82 $this->_canvas->addVertex(array('x' => $x + $d1 - $d2, 'y' => $y - $d1 - $d2));
83 $this->_canvas->addVertex(array('x' => $x + $d1 + $d2, 'y' => $y - $d1 + $d2));
84 $this->_canvas->addVertex(array('x' => $x + 2 * $d2, 'y' => $y));
87 $this->_canvas->addVertex(array('x' => $x, 'y' => $y + 2 * $d2));
90 $this->_canvas->addVertex(array('x' => $x - 2 * $d2, 'y' => $y));
91 $this->_canvas->polygon(array('connect' => true));
94 $this->_canvas->line(
[all …]
H A DStar.php74 $this->_canvas->addVertex(array('x' => $x, 'y' => $y - $this->_size));
75 $this->_canvas->addVertex(array('x' => $x + round($d), 'y' => $y - round($d)));
76 $this->_canvas->addVertex(array('x' => $x + $this->_size, 'y' => $y - round($d)));
77 $this->_canvas->addVertex(array('x' => $x + round(2 * $d), 'y' => $y + round($d)));
78 $this->_canvas->addVertex(array('x' => $x + round(3 * $d), 'y' => $y + $this->_size));
79 $this->_canvas->addVertex(array('x' => $x, 'y' => $y + round(3 * $d)));
80 $this->_canvas->addVertex(array('x' => $x - round(3 * $d), 'y' => $y + $this->_size));
81 $this->_canvas->addVertex(array('x' => $x - round(2 * $d), 'y' => $y + round($d)));
82 $this->_canvas->addVertex(array('x' => $x - $this->_size, 'y' => $y - round($d)));
83 $this->_canvas->addVertex(array('x' => $x - round($d), 'y' => $y - round($d)));
[all …]
/dports/devel/py-asciimatics/asciimatics-1.13.0/asciimatics/widgets/
H A Dframe.py66 self._canvas, self.palette, self._canvas.width - 1, 2, self._canvas.height - 4,
101 return self._canvas.start_line / (self._max_height - self._canvas.height + 1)
110 self._canvas.scroll_to(pos)
237 self._canvas.print_at(vert, self._canvas.width - 1, y,
243 self._canvas.print_at(
254 self._canvas.refresh()
261 self._canvas.origin[1] + self._canvas.height,
266 self._canvas.origin[0] + self._canvas.width,
269 self._canvas.height,
339 return self._canvas
[all …]
/dports/graphics/pear-Image_Graph/Image_Graph-0.8.0/Graph/Plot/
H A DBand.php72 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y - $h * 3));
73 $this->_canvas->addVertex(array('x' => $x0 + $w, 'y' => $y - 4 * $h));
77 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y - $h * 2));
78 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y + $h * 3));
82 $this->_canvas->addVertex(array('x' => $x0 + 1 * $w, 'y' => $y));
83 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y + $h));
87 $this->_canvas->polygon(array('connect' => true));
108 $this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
175 $this->_canvas->addVertex(
183 $this->_canvas->addVertex(
[all …]
H A DLine.php83 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y));
84 $this->_canvas->addVertex(array('x' => $x0 + $dx, 'y' => $y - $dy * 2));
85 $this->_canvas->addVertex(array('x' => $x1 - $dx, 'y' => $y + $dy));
86 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y - $dy));
87 $this->_canvas->polygon(array('connect' => false));
106 $this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
143 $this->_canvas->reset();
150 $this->_canvas->addVertex(
161 $this->_canvas->polygon(array('connect' => false, 'map_vertices' => true));
163 $this->_canvas->reset();
[all …]
H A DBoxWhisker.php82 $this->_canvas->ellipse(array('x' => $x, 'y' => $y_min, 'rx' => $r, 'ry' => $r));
86 $this->_canvas->ellipse(array('x' => $x, 'y' => $y_q1, 'rx' => $r, 'ry' => $r));
90 $this->_canvas->ellipse(array('x' => $x, 'y' => $y_med, 'rx' => $r, 'ry' => $r));
94 $this->_canvas->ellipse(array('x' => $x, 'y' => $y_q3, $r, 'rx' => $r, 'ry' => $r));
103 $this->_canvas->line(array('x0' => $x, 'y0' => $y_min, 'x1' => $x, 'y1' => $y_q1));
105 $this->_canvas->line(array('x0' => $x, 'y0' => $y_q3, 'x1' => $x, 'y1' => $y_max));
136 $this->_canvas->ellipse(array('x' => $x_min, 'y' => $y, 'rx' => $r, 'ry' => $r));
140 $this->_canvas->ellipse(array('x' => $x_q1, 'y' => $y, 'rx' => $r, 'ry' => $r));
144 $this->_canvas->ellipse(array('x' => $x_med, 'y' => $y, 'rx' => $r, 'ry' => $r));
217 $this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
[all …]
H A DStep.php68 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y1));
69 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y0 + $dy));
72 $this->_canvas->addVertex(array('x' => $x0 + $dx, 'y' => $y0));
74 $this->_canvas->addVertex(array('x' => $x0 + 2*$dx, 'y' => $y0));
77 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y0 + 2*$dy));
78 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y1));
79 $this->_canvas->polygon(array('connect' => true));
113 $this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
187 $this->_canvas->addVertex(array('x' => $x, 'y' => $y));
192 $this->_canvas->polygon(array('connect' => true));
[all …]
H A DArea.php73 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y1));
74 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y0 + $dy));
75 $this->_canvas->addVertex(array('x' => $x0 + $dx, 'y' => $y0));
76 $this->_canvas->addVertex(array('x' => $x0 + 2*$dx, 'y' => $y0 + 2*$dy));
77 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y0 + $dy));
78 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y1));
79 $this->_canvas->polygon(array('connect' => true));
94 $this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
175 $this->_canvas->addVertex(
185 $this->_canvas->polygon(array('connect' => true, 'map_vertices' => true));
[all …]
/dports/graphics/pear-Image_Graph/Image_Graph-0.8.0/Graph/
H A DElement.php216 $this->_canvas->setFill($this->_background);
270 $this->_canvas->setLineColor($result['color']);
272 $this->_canvas->setLineThickness(1);
332 $this->_canvas->setLineThickness(1);
333 $this->_canvas->setLineColor($result);
336 $this->_canvas->setLineThickness(1);
337 $this->_canvas->setLineColor($this->_lineStyle);
394 $this->_canvas->setFill($this->_fillStyle);
517 $this->_canvas->setClipping(
742 $this->_canvas->endGroup();
[all …]
H A DCommon.php78 var $_canvas = null; variable in Image_Graph_Common
132 $this->_canvas =& $this->_parent->_getCanvas();
163 if (($this->_canvas !== null) || ($this->_canvas !== false)) {
164 return $this->_canvas;
166 $this->_canvas =& $this->_parent->_getCanvas();
167 return $this->_canvas;
285 if (($this->_canvas == null) || (!is_a($this->_canvas, 'Image_Canvas'))) {
/dports/devel/smc/smc_4_3_0/examples/Tcl/EX5/
H A DmessageGUI.tcl80 set _canvas $canvas;
86 set _screenXMax [$_canvas cget -width];
87 set _screenYMax [$_canvas cget -height];
171 $_canvas delete first;
182 $_canvas dtag $Item rest;
190 $_canvas yview scroll 1 units;
194 $_canvas create text \
203 $_canvas create text \
212 $_canvas create text \
221 $_canvas create text \
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/display/control/
H A Dcanvas-item.cpp31 _canvas = group->get_canvas(); in CanvasItem()
43 _canvas->redraw_area(_bounds); in ~CanvasItem()
46 _canvas->canvas_item_clear(this); in ~CanvasItem()
133 _canvas->request_update(); in request_update()
144 _canvas->redraw_area(_bounds); in show()
145 _canvas->set_need_repick(); in show()
155 if (_canvas->get_grabbed_canvas_item()) { in grab()
193 _canvas->redraw_area(_bounds); in hide()
194 _canvas->set_need_repick(); in hide()
201 _canvas->redraw_area(_bounds); in set_fill()
[all …]
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/graphics/
H A DrenderPDF.py46 self._canvas.saveState()
58 self._canvas.restoreState()
63 self._canvas.rect(
72 self._canvas.roundRect(
94 self._canvas.circle(
108 self._canvas.drawPath(path)
130 self._canvas.drawPath(path,
151 self._canvas.drawPath(
186 dP = self._canvas.drawPath
204 self._canvas.setStrokeColor(c)
[all …]
/dports/games/flightgear/flightgear-2020.3.11/src/GUI/
H A DQtQuickFGCanvasItem.cxx72 return _manager->getCanvasTexId(_canvas); in textureId()
83 sc::CanvasPtr _canvas; member in __anon402f8d260111::CanvasTexture
109 if ( _canvas ) { in ~QtQuickFGCanvasItem()
110 _canvas->destroy(); in ~QtQuickFGCanvasItem()
152 _canvas->handleMouseEvent(canvasEvent); in mousePressEvent()
160 _canvas->handleMouseEvent(canvasEvent); in mouseReleaseEvent()
173 _canvas->handleMouseEvent(canvasEvent); in mouseMoveEvent()
181 _canvas->handleMouseEvent(canvasEvent); in mouseDoubleClickEvent()
207 if (_canvas) { in setCanvas()
209 _canvas->destroy(); in setCanvas()
[all …]
/dports/graphics/pear-Image_Graph/Image_Graph-0.8.0/Graph/Plot/Smoothed/
H A DArea.php73 $this->_canvas->addVertex(array('x' => $x0, 'y' => $y1));
75 $this->_canvas->addVertex(array('x' => $x1, 'y' => $y1));
76 $this->_canvas->polygon(array('connect' => true));
91 $this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
108 $this->_canvas->addVertex(array('x' => $x, 'y' => $y));
113 $this->_canvas->addSpline(
126 $this->_canvas->addVertex(array('x' => $x, 'y' => $y));
134 $this->_canvas->addVertex(array('x' => $x, 'y' => $y));
138 $this->_canvas->polygon(array('connect' => true));
144 $this->_canvas->endGroup();
H A DLine.php86 $this->_canvas->polygon(array('connect' => false));
101 $this->_canvas->startGroup(get_class($this) . '_' . $this->_title);
112 $this->_canvas->polygon(array('connect' => false, 'map_vertices' => true));
114 $this->_canvas->reset();
134 $this->_canvas->addSpline(
150 $this->_canvas->addVertex(
162 $this->_canvas->polygon(array('connect' => false, 'map_vertices' => true));
164 $this->_canvas->reset();
171 $this->_canvas->endGroup();
/dports/x11-toolkits/py-Pmw/Pmw-2.0.1/Pmw/Pmw_2_0_1/lib/
H A DPmwScrolledCanvas.py41 self._canvas = self.createcomponent('canvas',
47 self._canvas.pack(fill = 'both', expand = 1)
66 command=self._canvas.xview
74 command=self._canvas.yview
105 return self._canvas
173 self._canvas.configure(
178 self._canvas.configure(
220 xview = self._canvas.xview()
221 yview = self._canvas.yview()
277 region = self._canvas.bbox('all')
[all …]
/dports/x11-toolkits/py-Pmw/Pmw-2.0.1/Pmw/Pmw_1_3_3/lib/
H A DPmwScrolledCanvas.py41 self._canvas = self.createcomponent('canvas',
47 self._canvas.pack(fill = 'both', expand = 1)
66 command=self._canvas.xview
74 command=self._canvas.yview
105 return self._canvas
173 self._canvas.configure(
178 self._canvas.configure(
220 xview = self._canvas.xview()
221 yview = self._canvas.yview()
277 region = self._canvas.bbox('all')
[all …]
/dports/graphics/pear-Image_Graph/Image_Graph-0.8.0/
H A DGraph.php164 $this->_canvas =& $params;
171 if ($this->_canvas == null) {
173 $this->_canvas =&
196 return $this->_canvas;
218 $this->_canvas =& $canvas;
222 $this->_canvas->getWidth() - 1,
223 $this->_canvas->getHeight() - 1
225 return $this->_canvas;
249 return $this->_canvas->getWidth();
261 return $this->_canvas->getHeight();
[all …]
/dports/devel/py-asciimatics/asciimatics-1.13.0/samples/
H A Dterminal.py37 self._canvas = None
77 self._canvas = Canvas(self._frame.canvas, h, w, x=x, y=y)
88 self._canvas.refresh()
92 origin = self._canvas.origin
132 self._canvas.scroll()
146 if self._cursor_y < self._canvas.start_line:
147 self._canvas.scroll(self._cursor_y - self._canvas.start_line)
172 self._canvas.print_at(
179 self._canvas.clear_buffer(
186 self._canvas.scroll()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libshell/src/
H A Dtextrootwidget.cpp24 TextRootWidget::TextRootWidget(TextCanvas *cv) : RootWidget(), _canvas(cv), _drawRequest(false) in TextRootWidget()
32 delete _canvas; in ~TextRootWidget()
37 return *_canvas; in rootCanvas()
44 _canvas->resize(vs); in setViewSize()
68 _canvas->setCursorPosition(focus()->cursorPosition()); in draw()
70 _canvas->show(); in draw()
/dports/graphics/pear-Image_Graph/Image_Graph-0.8.0/Graph/Grid/
H A DBars.php71 $this->_canvas->startGroup(get_class($this));
97 … $this->_canvas->addVertex(array('x' => $this->_pointX($p1), 'y' => $this->_pointY($p1)));
98 … $this->_canvas->addVertex(array('x' => $this->_pointX($p2), 'y' => $this->_pointY($p2)));
99 … $this->_canvas->addVertex(array('x' => $this->_pointX($p3), 'y' => $this->_pointY($p3)));
100 … $this->_canvas->addVertex(array('x' => $this->_pointX($p4), 'y' => $this->_pointY($p4)));
103 $this->_canvas->polygon(array('connect' => true));
112 $this->_canvas->endGroup();
/dports/audio/ardour6/Ardour-6.8.0/libs/canvas/
H A Ditem.cc40 , _canvas (canvas) in Item()
54 , _canvas (parent->canvas()) in Item()
74 , _canvas (parent->canvas()) in Item()
99 if (_canvas) { in ~Item()
428 _canvas = _parent->canvas (); in reparent()
670 assert (_canvas); in grab()
671 _canvas->grab (this); in grab()
677 assert (_canvas); in ungrab()
678 _canvas->ungrab (); in ungrab()
1124 _canvas->stop_tooltip_timeout (); in stop_tooltip_timeout()
[all …]

12345678910>>...15