search for: drawlin

Displaying 13 results from an estimated 13 matches for "drawlin".

Did you mean: drawline
2006 Sep 03
3
Patch for DrawLines
These enable DrawLines and DrawPolygons. I disable the wxList one since the WX docs indicate that the list is now ''type-safe'' requiring a derived class to send a wxList of Points. Since we''re unlikely to do this I just blocked it off so it doesn''t interfere with internal functi...
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...((x1 - x0) * (y2 - y1) - (y1 - y0) * (x2 - x1))/(xd * (y2 - y1) - yd * (x2 - x1))) o <- order(t) tsort <- t[o] crossings <- cumsum(cross[does.cross][o]) if (fillOddEven) crossings <- crossings%%2 drawline <- crossings != 0 lx <- x0 + xd * tsort ly <- y0 + yd * tsort lx1 <- lx[-length(lx)][drawline] ly1 <- ly[-length(ly)][drawline] lx2 <- lx[-1L][drawline] ly2 <- ly[-1L][drawline] segments(lx1, l...
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...((x1 - x0) * (y2 - y1) - (y1 - y0) * (x2 - x1))/(xd * (y2 - y1) - yd * (x2 - x1))) o <- order(t) tsort <- t[o] crossings <- cumsum(cross[does.cross][o]) if (fillOddEven) crossings <- crossings%%2 drawline <- crossings != 0 lx <- x0 + xd * tsort ly <- y0 + yd * tsort lx1 <- lx[-length(lx)][drawline] ly1 <- ly[-length(ly)][drawline] lx2 <- lx[-1L][drawline] ly2 <- ly[-1L][drawline] segments(lx1, l...
2004 Aug 25
2
[Q] Apply Function Over Multiple Array Margins
Is there a canonical means to apply a function over multiple arrays simultaneously? For example, if I wanted to plot each line with a different color? Or is a for loop conversion my best option? x <- seq(0, 8, by = 2) y <- matrix(1:15, nrow = 5, byrow = TRUE) my.colors <- heat.colors(3) drawLines <- function(row) { lines(x, row) # want corresponding 'my.colors' here } plotData <- function(x, y) { plot(x, type='n', axes = FALSE, xlim = c(min(x), max(x)), ylim = c(0, max(y))); box(); axis(1, min(x):max(x)) axis(2, seq(0, max(y)...
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...ize ) = 0; - virtual void DrawEllipse(const wxRect& rect ) = 0; - virtual void DrawEllipticArc(wxCoord x , wxCoord y , wxCoord width , wxCoord height , double start , double end ) = 0; - virtual void DrawIcon(const wxIcon& icon , wxCoord x , wxCoord y ) = 0; - virtual void DrawLine(wxCoord x1 , wxCoord y1 , wxCoord x2 , wxCoord y2 ) = 0; - virtual void DrawLines(int n , wxPoint points[] , wxCoord xoffset = 0, wxCoord yoffset = 0) = 0; - virtual void DrawLines(wxList * points , wxCoord xoffset = 0, wxCoord yoffset = 0) = 0; - virtual void DrawPolygon(int n , wxPo...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...PopUpMenuButton; private var dateBar:Box; private var datePattern:RegExp; + private var selectedBar:SingleBar; /* Private, class-specific functions */ + + //this has to happen after the scale area has been rendered, or it will have no width. + private function drawLine(event:Event):void { + var xg:Graphics = XAxisLabelArea.graphics; + xg.beginFill(Constants.axisColor); + xg.lineStyle(1,Constants.axisColor); + xg.moveTo(yScale.width,0); + xg.lineTo(Constants.width,0); + xg.endFill(); + } + private function timeRangeAdjusted(e...
2006 Sep 03
5
Patch to wxMDIParentFrame.h
This patch file will allow the MDI example to run. We''ll need to revisit it later. There''s still a crash but it''s the same crash as from the scrolled window example. I''ll send a patch later that fixes the problem with DrawLines. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Oct 22
0
[708] trunk/wxruby2/swig/classes/DC.i: Un-ignore get_multi_line_text_extent (Roy Sutton)
...lt;span class="cx"> </span><del>-%ignore GetMultiLineTextExtent; - </del><span class="cx"> // wxList version is now ''type-safe'' so we won''t be using that version instead </span><span class="cx"> %ignore DrawLines(const wxList * points, wxCoord xoffset = 0, wxCoord yoffset = 0); </span><span class="cx"> %ignore DrawPolygon(const wxList * points , wxCoord xoffset = 0, wxCoord yoffset = 0, int fill_style = wxODDEVEN_RULE) ; </span></span></pre> </div> </div&g...
2010 Sep 15
5
Hide an image in show.html.erb
...lt;%= @dicom.name %> </p> <p> <b> Image </b> </p> <p> <%= image_tag @dicom.photo.url , :id => ''dicom_image'' %> </p> <%= javascript_include_tag "coordinate" %> <%= update_page_tag do |page| page << "drawLine();" end %> <%= update_page_tag do |page| page << "drawImage();" end %> <%= link_to ''Edit'', edit_dicom_path(@dicom) %> <%= link_to ''Back'', dicoms_path %> -- Posted via http://www.ruby-forum.com/. -- You received this m...
2016 Oct 10
4
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
On 10-Oct-16 06:45, Aki Tuomi wrote: > Does your build end at some particular point? See **** DETAILS **** for in depth (I hope enough!) study/report. > > Aki I would guess this is not "c99" way... Making all in lib-http source='test-http-auth.c' object='test-http-auth.o' libtool=no DEPDIR=.deps depmode=xlc /bin/sh ../../depcomp xlc_r
2016 Nov 25
0
Wine release 1.9.24
...Implement GetCustomErrorObject(). oledb32: Implement GetBasicErrorInfo(). oledb32: Use better naming for IErrorRecords implementation structure. oledb32: Implement GetErrorParameters(). dwrite: Make it clear that wine_dbgstr_longlong() output is in hex. d2d1: Implement DrawLine() over DrawGeometry() for a linear path. d2d1: Store stroke style properties, implement methods returning them. shell32: Use interface pointers instead of a pointer to implementation structure. d2d1: Implement retrieving dash pattern data for stroke styles. d2d1: Fix GetGra...
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
...uot;> # Calculate conversion factor for converting millimetres into </span><span class="cx"> # logical units. </span><span class="lines">@@ -322,11 +321,11 @@ </span><span class="cx"> # unscale to pass logical units to DrawLine. </span><span class="cx"> </span><span class="cx"> # Draw 50 mm by 50 mm L shape </span><del>- logUnitsFactor = (ppiPrinterX/(scale*25.4)) - logUnits = (50*logUnitsFactor) </del><ins>+ log_units_factor = (ppi_printer...
2017 Mar 03
0
Wine release 2.3
...vert_from_float(). wined3d: Copy the shader byte-code before initialising the front-end. wined3d: Validate WINED3D_LOCATION_BUFFER on WINED3D_MAP_DISCARD buffer maps. d2d1/tests: Add tests for drawing simple shapes. d2d1: Create open, hollow geometry in d2d_d3d_render_target_DrawLine(). wined3d: Support downloading depth textures in surface_load_sysmem(). wined3d: Support uploading depth textures in surface_load_texture(). wined3d: Get rid of the depth/stencil FIXME in texture_resource_sub_resource_unmap(). wined3d: Implement depth fills in the CPU blit...