Jump to content

Search the Community

Showing results for tags 'xor'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I am trying to draw a rectangle polyline over a canvas containing a color image, then (via way of a mouse drag move event) remove that rectangle polyline with it's original points and redraw as a new rectangle polyline using the new x,y co-ordinates. Code below paints with or without "xor", my problem is it will not erase when using the same points, happy for any help - Thanks - Andy UniSession.AddJS('var context=fMain.cArea._cc_; '+ 'var polyln = ['+s+']; '+ 'var shape = polyln.slice(0); '+ '{ '+ ' context.globalAlpha = 1; '+ ' context.globalCompositeOperation = ''xor''; '+ ' context.lineWidth = 1; '+ ' context.strokeStyle = "'+LineColourStr+'"; '+ ' context.moveTo(shape.shift(), shape.shift()); '+ ' while(shape.length) '+ ' { '+ ' context.lineTo(shape.shift(), shape.shift()); '+ ' } '+ ' context.stroke(); '+ ' context.globalCompositeOperation = ''source-over''; '+ ' context.globalAlpha = 1; '+ '}; ' );
×
×
  • Create New...