removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="SVG_Scalable_Vector_Graphics_in_Sha">
<Project name="SVG_Scalable_Vector_Graphics_in_Sha" path="SVG_Scalable_Vector_Graphics_in_Sha\SVG_Scalable_Vector_Graphics_in_Sha.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,91 @@
// :CATEGORY:Viewer 2
// :NAME:SVG_Scalable_Vector_Graphics_in_Sha
// :AUTHOR:Pavcules Superior
// :CREATED:2010-09-02 12:04:07.130
// :EDITED:2013-09-18 15:39:05
// :ID:853
// :NUM:1183
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
Example website: http://tutorials.jenkov.com/svg/index.html
//
// The demo script below, adapted from the Notecard on a Prim script, reads a notecard with SVG elements and puts it in the URL. This is limited to 1024 characters. Remember to create a notecard inside the prim for this to work.
//
// Unfortunately, SVG is more trickier to handle when trying to embed it into a web page via the same prim. Using the other techniques like Ajax to increase the size is running into problems. To embed SVG into a page requires the use of the Object / Embed tags. It has no problems linking to an external website with the SVG file. But trying to reference a prim via HTTP-In to get the SVG code, is not working at all. The only way around that I can see would be to have IFrames and embed the "Data:image/svg+xml" Mime type encoding of the SVG in the Iframe source path.
// :CODE:
// SVG on a Prim
// Developed by: Pavcules Superior
// Developed on: March 2010
string g_strNotecardName;
string g_strNotecardText;
integer g_intNotecardLine = 0;
key g_keyNotecardQueryID;
key g_keyURLRequestID;
// Start reading the notecard text.
ReadNotecardText()
{
llOwnerSay("Reading Notecard...please wait.");
g_intNotecardLine = 0;
g_strNotecardText = "";
g_strNotecardName = llGetInventoryName(INVENTORY_NOTECARD, 0);
g_keyNotecardQueryID = llGetNotecardLine(g_strNotecardName, g_intNotecardLine);
// Change the URL
llSetPrimMediaParams(0,[ PRIM_MEDIA_CURRENT_URL, "data:text/plain,Loading Page...Please Wait..." + (string)llGetUnixTime()]);
}
default
{
state_entry()
{
ReadNotecardText();
g_keyURLRequestID = llRequestURL();
}

View File

@@ -0,0 +1,22 @@
// :CATEGORY:Viewer 2
// :NAME:SVG_Scalable_Vector_Graphics_in_Sha
// :AUTHOR:Pavcules Superior
// :CREATED:2010-09-02 12:04:07.130
// :EDITED:2013-09-18 15:39:05
// :ID:853
// :NUM:1184
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Notecard used in showing that picture:
// :CODE:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
<polyline points="0,0 0,500 500,250" style="stroke: #000000; stroke-width: 1; fill:#339933;" />
<circle cx="150" cy="750" r="100" style="stroke: #000000; stroke-width: 10; fill: #aaaaaa;" />
<ellipse cx="600" cy="600" rx="150" ry="250" style="stroke: #000000; stroke-width: 2; fill: #ffaaaa;" />
<rect x="800" y="50" width="100" height="600" rx="2" ry="2" style="stroke: #000000; stroke-width: 1; fill: #000088;" />

View File

@@ -0,0 +1,8 @@
<Project name="SVG_Scalable_Vector_Graphics_in_Sha" guid="D8654446-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D865453D-6C00-1014-B904-200204C60A89">
<Script name="SVG_Scalable_Vector_Graphics_in_Sha_1.lsl" guid="D8656899-6C00-1014-B904-200204C60A89">
</Script>
<Script name="SVG_Scalable_Vector_Graphics_in_Sha_2.lsl" guid="D8658416-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>