Searched refs:canvas (Results 26 - 50 of 75) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/samples/ogl/studio/
H A Dshapes.cpp217 csCanvas *canvas = (csCanvas *)GetShape()->GetCanvas(); local
221 wxShape *otherShape = canvas->FindFirstSensitiveShape(x, y, &new_attachment, OP_DRAG_RIGHT);
248 canvas->GetView()->GetDocument()->GetCommandProcessor()->Submit(
249 new csDiagramCommand(_T("Line"), (csDiagramDocument *)canvas->GetView()->GetDocument(),
374 csCanvas *canvas = (csCanvas *)GetShape()->GetCanvas(); local
376 canvas->ReleaseMouse();
389 wxClientDC dc(canvas);
390 canvas->PrepareDC(dc);
397 canvas->Snap(&xx, &yy);
407 csDiagramCommand* cmd = new csDiagramCommand(_T("Move"), (csDiagramDocument*)canvas
461 csCanvas *canvas = (csCanvas *)GetShape()->GetCanvas(); local
572 csCanvas *canvas = (csCanvas *)GetShape()->GetCanvas(); local
[all...]
H A Ddoc.cpp245 wxShapeCanvas* canvas = m_shapeOnCanvas->GetCanvas(); local
282 wxClientDC dc(canvas);
283 canvas->PrepareDC(dc);
297 // shape, which is the new shape to add to the canvas (but
389 // shape on the canvas, saving the old state.
414 // Apply the saved state to the shape on the canvas, by copying.
506 wxShapeCanvas* canvas = lineShape->GetFrom()->GetCanvas(); local
508 wxClientDC dc(canvas);
509 canvas->PrepareDC(dc);
H A Dview.cpp90 canvas = wxGetApp().CreateCanvas(this, frame);
91 canvas->SetView(this);
100 wxShapeCanvas *shapeCanvas = (wxShapeCanvas *)canvas;
146 if (canvas)
147 canvas->Refresh();
159 canvas->ClearBackground();
160 canvas->SetDiagram(NULL);
161 canvas->SetView(NULL);
162 canvas = NULL;
511 canvas
[all...]
H A Dview.h58 csDiagramView(void) { canvas = NULL; frame = NULL; };
69 // Scans the canvas for selections (doesn't use m_selections)
132 csCanvas* canvas; member in class:csDiagramView
H A Dstudio.cpp300 // Creates a canvas. Called by OnInit as a child of the main window
306 // Non-retained canvas
307 csCanvas *canvas = new csCanvas((csDiagramView*) view, parent, 1000, wxPoint(0, 0), wxSize(width, height), wxSUNKEN_BORDER); local
310 canvas->SetBackgroundColour(bgColour);
313 canvas->SetCursor(cursor);
316 canvas->SetScrollbars(20, 20, 100, 100);
318 return canvas;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/joytest/
H A Djoytest.cpp36 // For drawing lines in a canvas
104 // Define a constructor for my canvas
139 // Scale to canvas size
189 canvas = new MyCanvas(this);
199 if (event.GetActive() && canvas)
200 canvas->SetFocus();
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/
H A Dprevwin.tex3 A preview canvas is the default canvas used by the print preview
28 \param{long}{ style = 0}, \param{const wxString\& }{name = ``canvas"}}
42 Calls \helpref{wxPrintPreview::PaintPage}{wxprintpreviewpaintpage} to refresh the canvas.
169 a user-defined preview canvas object to be created.
175 Creates the preview canvas and control bar, and calls
H A Dglcanvas.tex16 to bind the OpenGL state that is represented by the rendering context to the canvas, and then call
17 \helpref{wxGLCanvas::SwapBuffers}{wxglcanvasswapbuffers} to swap the buffers of the OpenGL canvas and thus show your current output.
19 To set up the attributes for the canvas (number of bits for the depth buffer,
150 Obtains the context that is associated with this canvas if one was implicitly created (by use of one of the first three constructors).
151 Always returns NULL if the canvas was constructed with the fourth constructor.
158 If this canvas was created with one of the first three constructors,
159 a call to this method makes the implicit rendering context of this canvas current with this canvas,
162 If this canvas was created with the fourth constructor, this method should not be called
172 If this canvas wa
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/samples/foldbar/extended/
H A Dextended.cpp37 // For drawing lines in a canvas
145 // Make another frame, containing a canvas
162 MyCanvas *canvas = new MyCanvas(subframe, wxPoint(0, 0), wxSize(width, height)); local
163 canvas->SetCursor(wxCursor(wxCURSOR_PENCIL));
164 subframe->canvas = canvas;
167 canvas->SetScrollbars(20, 20, 50, 50);
447 // Define a constructor for my canvas
522 canvas = NULL;
538 if (event.GetActive() && canvas)
[all...]
H A Dextended.h84 MyCanvas *canvas; member in class:MyChild
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/sashtest/
H A Dsashtest.h57 MyCanvas *canvas; member in class:MyChild
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/docvwmdi/
H A Ddocview.cpp210 // Creates a canvas. Called from view.cpp when a new drawing
217 // Non-retained canvas
218 MyCanvas *canvas = new MyCanvas(view, parent, wxPoint(0, 0), wxSize(width, height), 0); local
219 canvas->SetCursor(wxCursor(wxCURSOR_PENCIL));
222 canvas->SetScrollbars(20, 20, 50, 50);
224 return canvas;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/demos/poem/
H A Dwxpoem.h27 // Define a new canvas which can receive some events
48 MyCanvas *canvas; member in class:MainWindow
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/msw/
H A Ddcclient.h108 wxPaintDCEx(wxWindow *canvas, WXHDC dc);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/palmos/
H A Ddcclient.h108 wxPaintDCEx(wxWindow *canvas, WXHDC dc);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/
H A Dprntbase.h337 const wxString& name = wxT("canvas"));
507 virtual void SetCanvas(wxPreviewCanvas *canvas);
514 virtual void CalcRects(wxPreviewCanvas *canvas, wxRect& printableAreaRect, wxRect& paperRect);
516 // The preview canvas should call this from OnPaint
517 virtual bool PaintPage(wxPreviewCanvas *canvas, wxDC& dc);
519 // This draws a blank page onto the preview canvas
520 virtual bool DrawBlankPage(wxPreviewCanvas *canvas, wxDC& dc);
523 virtual void AdjustScrollbars(wxPreviewCanvas *canvas);
607 virtual void SetCanvas(wxPreviewCanvas *canvas);
611 virtual bool PaintPage(wxPreviewCanvas *canvas, wxD
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dprntbase.cpp1422 void wxPrintPreviewBase::SetCanvas(wxPreviewCanvas *canvas) argument
1423 { m_previewCanvas = canvas; }
1429 void wxPrintPreviewBase::CalcRects(wxPreviewCanvas *canvas, wxRect& pageRect, wxRect& paperRect) argument
1432 // entire paper as they appear on the canvas on-screen.
1434 canvas->GetSize(&canvasWidth, &canvasHeight);
1462 bool wxPrintPreviewBase::PaintPage(wxPreviewCanvas *canvas, wxDC& dc) argument
1464 DrawBlankPage(canvas, dc);
1471 if (!canvas)
1475 CalcRects(canvas, pageRect, paperRect);
1487 void wxPrintPreviewBase::AdjustScrollbars(wxPreviewCanvas *canvas) argument
1606 DrawBlankPage(wxPreviewCanvas *canvas, wxDC& dc) argument
1735 SetCanvas(wxPreviewCanvas *canvas) argument
1750 PaintPage(wxPreviewCanvas *canvas, wxDC& dc) argument
1755 DrawBlankPage(wxPreviewCanvas *canvas, wxDC& dc) argument
1760 AdjustScrollbars(wxPreviewCanvas *canvas) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/printing/
H A Dprinting.h28 // Define a new canvas and frame
32 MyCanvas *canvas; member in class:MyFrame
59 // Define a new canvas which can receive some events
H A Dprinting.cpp150 MyCanvas *canvas = new MyCanvas(frame, wxPoint(0, 0), wxSize(100, 100), wxRETAINED|wxHSCROLL|wxVSCROLL); local
152 // Give it scrollbars: the virtual canvas is 20 * 50 = 1000 pixels in each direction
153 canvas->SetScrollbars(20, 20, 50, 50);
155 frame->canvas = canvas;
198 canvas = NULL;
321 canvas->Refresh();
327 canvas->Refresh();
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/mdi/
H A Dmdi.h64 MyCanvas *canvas; member in class:MyChild
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/motif/
H A Dwindow.cpp381 // Only if we're _really_ a canvas (not a dialog box/panel)
849 // Adjusting scrollbars can resize the canvas accidentally
1106 wxCanvas *canvas = (wxCanvas *) this;
1107 deviceX = canvas->GetDC ()->LogicalToDeviceX (x);
1108 deviceY = canvas->GetDC ()->LogicalToDeviceY (y);
1961 wxWindow *canvas = wxGetWindowFromTable(drawingArea); local
1964 if (canvas==NULL)
1979 if (wxTranslateMouseEvent(wxevent, canvas, drawingArea, xevent))
1981 canvas->GetEventHandler()->ProcessEvent(wxevent);
1988 if (wxTranslateKeyEvent (event, canvas, (Widge
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/build/ogl/
H A Dmakefile.dmc63 $(OBJS)\ogllib_canvas.obj : ..\..\src\ogl\canvas.cpp $(OGLLIB_ODEP)
64 $(CXX) -mn -c -cpp -o$@ $(OGLLIB_CXXFLAGS) ..\..\src\ogl\canvas.cpp
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/demos/forty/
H A Dmakefile.dmc54 $(OBJS)\forty_canvas.obj : .\canvas.cpp
55 $(CXX) -mn -c -cpp -o$@ $(FORTY_CXXFLAGS) .\canvas.cpp
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/usbvideo/
H A Dusbvideo.h174 videosize_t canvas; /* The canvas (max. image) allocated */ member in struct:usbvideo_frame
222 videosize_t canvas; /* This is the width,height of the V4L canvas */ member in struct:uvd
352 * V4L canvas width, height. The former is the area requested by
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/ogl/
H A DMakefile.in257 for f in wx/ogl/basic.h wx/ogl/basicp.h wx/ogl/bmpshape.h wx/ogl/canvas.h wx/ogl/composit.h wx/ogl/constrnt.h wx/ogl/divided.h wx/ogl/drawn.h wx/ogl/drawnp.h wx/ogl/lines.h wx/ogl/linesp.h wx/ogl/mfutils.h wx/ogl/misc.h wx/ogl/ogldiag.h wx/ogl/ogl.h; do \
265 for f in wx/ogl/basic.h wx/ogl/basicp.h wx/ogl/bmpshape.h wx/ogl/canvas.h wx/ogl/composit.h wx/ogl/constrnt.h wx/ogl/divided.h wx/ogl/drawn.h wx/ogl/drawnp.h wx/ogl/lines.h wx/ogl/linesp.h wx/ogl/mfutils.h wx/ogl/misc.h wx/ogl/ogldiag.h wx/ogl/ogl.h; do \
323 ogldll_canvas.o: $(srcdir)/canvas.cpp $(OGLDLL_ODEP)
324 $(CXXC) -c -o $@ $(OGLDLL_CXXFLAGS) $(srcdir)/canvas.cpp
359 ogllib_canvas.o: $(srcdir)/canvas.cpp $(OGLLIB_ODEP)
360 $(CXXC) -c -o $@ $(OGLLIB_CXXFLAGS) $(srcdir)/canvas.cpp

Completed in 145 milliseconds

123