Soft Edge Wipe Using GDI
Jun 18, 2009
I'm trying to draw some text using GDI (i.e. using a graphics object). It is done using the basic method of creating a path, adding a string to it and using a brush to fill it.
The only tricky part is that I need to apply a soft edge wipe to it. To describe what I'm trying to do better, I've uploaded an example done in photoshop: [URL]
What is the best way of achieving this? I need to be able to control the mask that is creating the soft edge - i.e. the position of the gradient, the width of the gradient etc.
Ideally I'd like to do it using the graphics object and not dipping into .dlls - but at the end of the day I'll do whatever it takes!!
View 2 Replies
ADVERTISEMENT
Nov 28, 2011
How can we apply wipe in and wipe out animation on VB.NET form.
View 13 Replies
Dec 7, 2011
i am developing one application for which i want it to stick to the edge of the screen when dragged near screen edge.
View 2 Replies
Dec 15, 2011
How can we apply wipe in and wipe out animation on VB.NET form.
View 3 Replies
Jun 6, 2011
Two questions: how can I completely wipe a file from disk with vb.net? I found a code in C#, converted it to VB.net online but didn't understand a letter. I was thinking on a wiper like CCleaner has, but for a selected files only.
And, how can I manage drag-n-drop functions? Like... drag something into my form (or my app's exe) and do something with it?
View 6 Replies
May 1, 2011
I am using vb2010 and the like @lastname +'%' to try and create a search query. It seems to work until I try the test query which brings up nothing within the test query window. Sometimes it even seems to wipe out the data I have put in for testing. I did get it to work once in one project.
View 3 Replies
Jun 10, 2011
We have software like doPdf which prints without necessarily giving hard copy output. can somebody send me a code that can print a crystal report with a printer without giving physical output which will enable me save the file with a given name before sending it via E-mail.
View 1 Replies
Jul 26, 2011
I want the Indexing server Query to Search any type of document by document name.
Let assume i have ..
test.ppt
test.pdf
test.doc and so on.
If I enter the test name in my search text box the , I want the search result with these file. I am using the vb.net with the help of MicroSoft Indexing Serice. I need the query of MicroSoft Indexing Serice for search any type of document by document name or title.
[Code]...
View 2 Replies
May 15, 2011
I am new to Visual Basic. I have Visual Basic 2010 Express. I am planning to make a program that can download files from a website to put on an SD Card to Soft Mod, or hack it. I want it so that the user clicks on a radio button based on what System Menu their Wii is running on. There is currently, System Menu 4.0 or less, System Menu 4.2, and System Menu 4.3.
They also have to choose a region from a List Box. The current options are:
Region U (Americas)
Region K (Korean)
Region J (Japanesse)
Region E (European)
I also want it so that the user can choose where to download the installation files for the Wii soft Mod.
I want to have a button that when the user clicks on it, a pop up asks them where they want to download the files to appear, once they choose a location, i want it to download a file based on what they chose and i also want it so that it tells them what to do with the files and where to put them.
View 3 Replies
Sep 14, 2011
I was wondering if there is a way, I can hide the forms edge. By "edge" I meen the blue/gray half-transperrant edge. Like in the spotify login menu, for example. There is no edge.
View 3 Replies
Apr 2, 2010
Is there a way to feather the edge of an image?
View 1 Replies
Apr 23, 2012
With two of my forms, which present empty text boxes, I execute a statement of the form frmAdd.txtBox.Focus(). This places a blinking insert bar at the begining of an upper left text box, which is what I want. For a third form, in which the text boxes are filled in, the statement frmChange.txtBox.Focus() not only sets the insert bar, but also blocks the entire text; any inadvertent keystroke could delete the whole text, which is NOT what I want.How can I place the focus on the text box without pre-selecting the whole field?
View 3 Replies
Jun 18, 2009
I have a problem in detection edges in a picture. Im going to use this to make some recognition of pictures. I have found a way of doing Sobel filtering without the use of system.drawing.bitmat with BitmapSource.CopyPixels. I have posted code fore Sobel filtering here:
[Code]....
View 7 Replies
Mar 16, 2011
I have a function to do edge detection that works fairly good with one pass and without using a convolution filter. The only thing is that it will shift by one pixel the resulting image when I runt it from top to bottom and from left to right. I can live with that. Just a curious thing that I got when I ran it several times in a loop to see the effect of applying it several times on the resulting image.A deformed image appears at the beggining and then, bit by bit it splits appart and after shifting it the width of the original image I get a double image. I wonder how the computer keeps track of the first image and is able to separate the two after several iteractions.I know that in electronics you can have several signals in a circuit and you can separate them with frequency filters, or you can simultaneously download several files with the same modem aand the two computers will synchronize each one, but this surprissed me.
Here is a simplified version of my function
Private Function Preview(ByVal Thumb As Image) As Image
Dim bm As New Bitmap(Thumb)
Dim X As Integer
Dim Y As Integer
[code]....
I have tried with more complicated images and with larger sizes, but to make upload smaller I includes these two images of simpler and smaller size. A view of the GUI and an animation of the process:reload to see the animation.
View 1 Replies
Jun 22, 2010
How do I curve the edge of a User Control?
View 1 Replies
Jun 9, 2011
I am using axMSChart objects to display charts in my VB .Net Windows Forms App.I am also trying to export them to a PowerPoint presentation which I automatically generate using Office Interop.However, when I use EditCopy to copy the Chart to the clipbord and paste it into PowerPoint, the color of the Edge of my Bar Chart is set to red for the firstSeriesCollection and green for the second one.
View 1 Replies
Feb 24, 2010
I've got a usercontrol that's a simple rectangle with three labels on it. It's essentially triggered to give a caption to an image when the mouse is moved over it. As I feared, adding the control to the form (or any container on the form) restricts drawing the control to the region defined by the container. I tried increasing the region of the form and the container, but it still didn't draw outside the container.
So my question is: Is there a way to make the control display partially inside the container/form and partially outside it, or is there a better object type that will do what I want?
[cod]e...
View 4 Replies
Dec 17, 2009
I have a picture box. The user can click with in the picture box. Anywhere they click it will draw another Ellipse. The problem is the edges of the picture boxes cut the image of the newly drawn ellipse. Is there a way draw the new ellipse so the user can see the entire thing?
View 6 Replies
Jul 18, 2012
I would like my 'quit' button to appear in the bottom right hand corner of my menu screen, but it seems that every computer in the office has a different sized screen, different size ration (some are widescreen) and different resolution. When I deploy my program, the quit button may appear off-screen (the user has to scroll down to find it) or it may appear half way across the screen on a widescreen laptop for example. If I set my form to 'maximized', is there a way to position a button relative to the bottom right hand corner of the form? Also, on one maximized form I have two datagridview's side by side. Is there are way to automatically set each one to take up half of the available form width, so they fill the form nicely?
View 2 Replies
Oct 15, 2011
i am creating one application and i want it to stick to screen edge/corner when dragged near to the edge of the screen.i want it be like in WINAMP.
View 2 Replies
Oct 10, 2011
I've got a borderless form that I'm handling the MouseDown, MouseMove & MouseUp events to do the dragging and re-sizing which I have working just fine but I started thinking how neat it would be if I could have the borderless windows snap to each other and to the edges of the screen(s), this part I'm stuck on. I've got them snapping together just but and I've got it snapping to the edge of the screen but I have a dual monitor set up at home and I can't move it to my right side secondary screen with the code I have now. I'm attaching a sample VS2010 project with only the relevant code for this.Eventually I might add in the snapping to the desktop edge or to another note window's edge when resizing too, but that's not my focus right now.
View 4 Replies
Sep 27, 2011
I am creating a windows form background image, but when it use to a form it's look very bad in the edge, it don't smooth. Using VB only. I tried use alphablend but how.
View 3 Replies
Jul 19, 2003
I am trying to make a rectangle that can be resized by the userby clicking and dragging the edges/corners of the rectangleTypically, if the mouse enters the rectangle region, then smalladjustment boxes should appear at the corners of the rectangleand also at the middle of the rectangle's edges (to allow the userto drag and resize the rectangle). When the mouse leaves therectangle region, then the adjustment boxes should disappear.I have the code to draw the rectangle and to produce the smalladjustment boxes, but I'm not sure how to accomplish thedrag and resizing steps (or if it's even possible with the way mycode is written).
Code:Imports SystemImports System.DrawingImports System.Windows.Forms
Private bBlocking, bValidBox As Boolean Private pt1, pt3 As Point Private rectBox As Rectangle Private cornerRect1 As Rectangle Private cornerRect2 As
[code]....
View 10 Replies
Oct 2, 2009
I am currently investigating vb gaming and have set up a test project to move an object; it moves fine. The problem is that when it reaches the edge of the form it continues to move and eventually leaves the form entirely. So my question is how do i work out if my object has touched the edge of the form?
View 5 Replies
Dec 7, 2011
Having some issues with creating a simple control in vb.net.
I create a control with a single label in, I don't change anything except the colour of the control and the label and also making the label anchor to the edges ( with a small border around the edge)
When i then build it and add this control to a form. Some of the edges are cut off and it isn't anchored the way it was in the control.[url]...
as you can see in the second image the control has lost its white border at the right and bottom.
View 1 Replies
May 17, 2010
Is there a way to make the border edge round like Windows Live Messenger?
View 9 Replies
Nov 23, 2010
I need to read 10 images in 1 folder and do feature extraction onto 10 images.Does anyone can suggest any good edge detection by using C++ / VB.Net / C# language? After I can successfully detect the edge and write a new image file (in this case is generate 10 new edge detection filtered images, only black and white line image) within the same folder.Then lastly, I do not know any distance measurement able to calculate distance between each edge detection filtered-images (not the original image) and show the result in graph.How can read those images back and get the data of the edge?Keywords are edge detection and distance measurement.
View 2 Replies
Mar 2, 2011
This question may be off-topic. If it should be posted in another place (even on another board) For some given curves (see sample below) I have to quantify whether the red dots in some regions of the curve are more dense at the upper or lower edge of the curve. Which algorithm might be adequate to perform this task? The curves are constructed from measurements. (No mathematical formula behind it.) Every data point has two dimensions: A value in the range 4000-7000 and a second value 0-255.
View 4 Replies
May 7, 2009
Say we have a DataGridView on the main form. I can chose to establish its properties by code or by selecting them in the Properties panel. Is there a difference between these two techniques, a loading time penalty in any of the cases especially?
View 5 Replies
Mar 6, 2009
I am working on a program to match overlapping images together to make one complete image. This isn't for panoramic purposes, it is from a video game generated overhead map, so there is no perspective issues to deal with and the overlapping images (gained from screenshots while a player moves) should be pixel perfect (still running tests to verify this, but lets assume they are pixel perfect at this time).
1) I need to compare each new (small) overhead map section to the larger map, find what edge it fits on, and copy it over.On other forums I have seen people suggest taking the bitmap apart in the form of an array of colors, or 3 arrays per image for r, g, and b. I am wondering why this is done instead of directly going to the bitmap object and using GetPixel. Is an Array lookup significantly faster? Speed would be an issue with my program, I would like to do this match as fast as possible, and the overall map could become large, even if I keep making new map sections to manually paste together later.So, faster to loop through a graphic with getpixel, or faster to go through 3 two-dimensional arrays with r, g, and b, or faster to go through 1 three-dimensional array with rgb all inside it?
2) The bitmap object that contains the overall map will keep getting larger. What is the best way to resize that bitmap dynamically?I am thinking of just making a new, larger bitmap when I get near an edge, then using getpixel and setpixel to copy over the old bitmap to the new one. Is there a faster way to make a new, larger bitmap object containing the old one with the graphics class? I admit to finding the graphics class somewhat confusing in how methods on it affect the image object that is defined as it's surface...or something. There might be a faster way with graphics and drawimage, but is that really faster than a getpixel/setpixel loop? Finally, if I do store the graphics data in arrays instead of actual bitmap objects, would redimming the array be the best way? If I need more room at the 'beginning' of the array I would have to make a new array and then copy the data over shifted. And this might involve 3 arrays if it is best to use one each for r, g, b.
View 3 Replies