Convert Polygon To Path Data Snippets


21 December, 2016   

Convert Polygon to Path Data code snippet by Chris Coyier

05 December, 2012   

Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves a network request for each image, and prevent exposure of directory paths. Please note that IE7 and below are not compatibles with data URIs.

11 June, 2012   

You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.

11 August, 2013   

Converts a DOS path to a Unix path and returns it.

03 December, 2013   

Delphi code to return type of drive that contains the given (full) path.

This code will show you how to save data from gridview to xml file

Delphi's RTL ExpandUNCFilename function retrieves the full path and filename of a specified (relative) file using Universal Naming Convention for network files (thus making my *very old* custom function obsolete).

08 February, 2014   

How to set/get/delete Cookies

11 October, 2011   

In the same way you often need to format data being sent from Flash, you sometimes need to format data being received. This function takes a string and removes all spaces from it. Here we use the split method of the String class to split the string into an Array and then call the join method of the Array class to convert it back to a string....

26 April, 2015   

Recursively determines the size of a directory

03 December, 2013   

Delphi code to return root drive path for drive with given number.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

This example asp code shows here how to convert from degrees to radians and vice versa

10 August, 2011   

An easy way to send an HTML email with an attachment.

11 March, 2015   

PHP code shows how to upload images into a mysql database using

17 October, 2011   

Copying Folders With All Contents Including Other Folders. VB.net 2010 does not have a built in code to copy full folders with their contents but only files(one by one)!!! But you can do it by this code

22 September, 2012   

Javascript code to convert a string to all upper or lowercase

13 April, 2011   

Reading a file to a string couldn't be easier than using the file_get_contents() function. Simple pass the name of the file (with path) and optional parameters

30 August, 2015   

Loads the contents of a dir an sorts them by the date of creation.