line

CSS Horizontal Line

In my site I added google friend connect. Now on the right where the sidebar is, there is a small line. How do I remove the line because I dont want it there. ...

ANDROID: Line Break in XML formatting?

Hi. when editing a String in XML I need to add line breaks. And I wanted to ask what is the RIGHT form when programming for android? Because <br> works but ECLIPSE marks the area as problematic. If I check out suggestions Eclipse tells me that I shall add a end tag </br> - IF I add that the line break dissapears... So the one works but...

Scalling connected lines

Hello, I have some kind of a shape consisting of vertical, horizontal and diagonal lines. I have starting X,Y and ending X,Y (this is my input - just 2 points defining a line) of each line and I would like to make the whole shape scalable (just by changing the value of a scale ratio variable), so that I can still preserve the proper con...

How do you draw a line on a canvas in WPF that is 1 pixel thick.

The method for drawing a line on a canvas in WPF that uses the line class actually draws a line that is two pixels thick: Line myLine = new Line(); myLine.Stroke = System.Windows.Media.Brushes.Black; myLine.X1 = 100; myLine.X2 = 140; // 150 too far myLine.Y1 = 200; myLine.Y2 = 200;...

Conditionaly strip the last line from a text file

Hello, I posted this yesterday on SO, and I received an answer that works great, but I need to change it around and I don't know how. Here is my original question: I need to strip the last line from a text file. I know how to open and save text files in C#, but how would I strip the last line of the text file? The text file will al...

ActionScript Drawing Gradient Line With Transparency

i'm attempting to draw a simple gradient line with some transparency, but the portion of the line that receives 0 for the alpha draws black. var lineMatrix:Matrix = new Matrix(); lineMatrix.createGradientBox(500, 1); var line:Sprite = new Sprite(); line.graphics.lineStyle(1, 0, 0, false, LineScaleMode.NONE, CapsStyle.NONE); line.graphi...

Adding a Line Break in mySQL INSERT INTO text

Hi Could someone tell me how to add a new line in a text that i enter in a mySql table. I tried using the '\n in the line i entered with INSERT INTO statement but '\n is shown as it is. Actually i have created a table in Ms Access with some data. Ms Access adds new line with '\n. I am converting Ms Access table data into mySql . But ...

Custom Control for Line

I want to design a custom Control for Line (vertical or horizontal line) basic usercontrol is rectangle and not suitable for line what s your idea about line control? ...

Creating a variable-width stroke in Cairo

stroke() in Cairo applies a stroke of a single specified width to a line path. I'd like to draw a path with a varying width (thinner when the user was drawing faster, thicker when slower). Is this possible in Cairo? ...

HTML prevent line break (between two table tags)

Hello, I have following code: <table> <tr> <td>Table 1</td> </tr> </table> <table> <tr> <td>Table 2</td> </tr> </table> Very unfortunately, a line break is inserted between these two tables. I have tried putting them both in a single span and setting the whitespace to nowrap, but at no avail. Please, ...

Formula to determine if a line segment intersects a circle (flat)

Hi, Apologies if this is considered a repeat question, but the answers I've seen on here are too complex for my needs. I simply need to find out if a line segment intersects a circle. I don't need to find the distance to the line from the circle center, I don't need to solve for the points of intersection. The reason I need something...

draw line with php using coordinates from txt file

I have file A2.txt with coordinate x1,y1,x2,y2 in every line like below : 204 13 225 59 225 59 226 84 226 84 219 111 219 111 244 192 244 192 236 209 236 209 254 223 254 223 276 258 276 258 237 337 in my php file i have that code. This code should take every line and draw line with coordinate from line. But something wa...

Line Break in XML?

I'm a beginner in web development, and I'm trying to insert line breaks in my XML file. This is what my XML looks like: <musicpage> <song> <title>Song Title</title> <lyric>Lyrics</lyric> </song> <song> <title>Song Title</title> <lyric>Lyrics</lyric> </song> <song> <title>Song Title</title...

Creating dynamic eclipse workspaces through command line

Hi, I am trying to dynamically create eclipse workspace through the command line to add in to automation. I want these workspaces to all share the same main project from a main workspace. Does anyone know if this is possible? If so, can you help me? Thank you! ...

Visio Line Question

Visio Line Question How do you create a long curvy seamless line in Visio. WHenever I draw a line it seems to have only the ability to connect objects and that is all. What f I want to draw a loop that starts from one object and then swoops over the top of another object to make a 300 degree arc? I have tried this with lines drawn en...

Draw arrow on line algorithm

Does anyone have an algorithm for drawing an arrow in the middle of a given line. I have searched for google but haven't found any good implementation. P.S. I really don't mind the language, but it would be great if it was Java, since it is the language I am using for this. Thanks in advance. ...

Perl: How do I remove the first line of a file without reading and copying whole file.

I do have a whole bunch of files in a directory and from every file I want to remove the first line (including carriage return). I can read the whole file into an array of strings and write all but the first element to a new file, but that looks a bit cumbersome to me are there better ways? Oh the prefered language is Perl. ...

Accessing Webcam Native Controls (Zoom, Brightness etc) via the Command Line

Hello everyone. Does anyone know how to access webcam native controls such as the zoom, brightness level from the command line interface? How does programs like messenger and skype list those options and are able to control those settings? I am trying to do this to an AIR 2 app and know that we can access NativeProcesses etc now. Any...

ActionScript Aligning Graphics Line Style Stroke?

is it possible to align the stroke of a graphic with actionscript? for example, the following code creates a black rounded rect with a grey stroke that is automatically centre aligned. var t:Sprite = new Sprite(); t.graphics.lineStyle(5, 0x555555); t.graphics.beginFill(0, 1); t.graphics.drawRoundRect(25, 25, 200, 75, 25, 25); t.graphic...

add text before the last line in a text file

hi, I need to add text before the last line in a text file in windows using command. Can any one please suggest a method? Thanks in advance. ...