Rubberband Effect on Image using ASP.Net - asp.net

I am trying to watermark an Image and works perfect and now I need to have my customers much more convinient so that I am planning to add a feasibility to the image watermarker.So I need some help!
I want to have an adorner control or somethng like the rubberband effect which has 4 0r 6 corners so that they can enlarge the text with that.
I have seen one of the articles in codeproject which is implemented with WPF as shown below.But I need to implement with my normal ASP.Net application.So how do I start with it?
Any help will be greatly appreciated!

have a look here:
http://html5.litten.com/moving-shapes-on-the-html5-canvas-with-the-keyboard/
with pure HTML5 canvas and JavaScript you can move a shape using the keyboard.
it's a starting point then you can imagine to extend it to support mouse gestures like you explained.

Related

How to show an Image on top of a tabbed view in Xamarin.Forms?

I am using Xamarin.Forms and trying to achieve the next layout:
I want to keep the native look and feel for each platform (i.e: iOS tabs will be shown in bottom.), I just want to add an extra image on top of the tabbed view. I have been looking around and can't find any one providing a way for this to work. I just want to make sure and ask if this is actually doable in Xamarin.Forms while maintaining native look and feel for all platforms?
Is not possible (using Xamarin Forms) to do this. TabbedPage is a Control that fills the entire display.
Here there is a interesting discussion about "TabView".
I think you can use some other controls to try to do the same thing. For example, buttons + CarouselView.
Otherwise on GitHub there are some guys that have tried to implement what you need.. TabView

How to make a draggable and scrollable map with inertia. C#

i am actually trying to follow this tutorial: "How to create a HTML draggable and scrollable map with inertia using Phaser framework" (google it, www. emanueleferonato .com)
Im using Unity but i configured it "pixel perfect" so i can use directly pixels like in AS3 and flashdevelop.
I basically need to make a map for the game where the player can drag in the X axis of the map.
I have no clue of how to do it, also it should have acceleration and deceleration.
Edit:
As i say before, i am using a custom framework that does not allow components, or UI, it works like FlashDevelop and AS3, so imagine the answer is in AS3.
Thanks!
I recommend looking up Unity's UI documentation (AND TUTORIALS!) :D They have really good articles, and the forums are a great resource too.
Regarding your specific problem- Scroll Rect is what you are looking for. You can implement 2D dragging, along with acceleratoion, deceleration, and other kinds of UI physics (inertia, elasticity, etc.) with it.
Please look for tutorials if you're just beginning to dabble with these. I hope that helps!

Is there anyway of having handwriting functionality in flex?

I am doing a flex application, I would like to include a box where the user can freely draw in the box, like a html canvas type thing but in my flex project. Is there any way of implementing this?
Yes; this site has a simple example that should help you.

How do I use my own custom buttons and design with wxpython

I've been looking for some inspiration with wxpython as far as the GUI goes. Everything in the demo looks boring and uninspiring so I want to go in my own direction but I can't figure out how to use my own buttons I made in photoshop or my own background images.
I'm kind of new to GUI programming so I ask if you could please be clear in what steps I should take. Once I intialize the frame...how to I load my custom buttons, or set the panel background?
As acattle pointed out, I already wrote on how to change a panel's background. You should note that wxPython isn't a themable GUI toolkit. It uses the native widgets of the OS wherever possible and most of the time, those just aren't very themable. If you need that, then you should look at Tkinter's (especially ttk) or pyside/pyQt.
If you need bitmap buttons, there are several options:
BitmapButton
GradientButton
AquaButton
PlateButton
I did some googling and I found this tutorial for setting the background of panels.
A bit more googling and I found this post talking about wxPython's Bitmap Button Class and showing some code examples.
I would suggest being very very careful designing your GUI if you're going to use custom images. You need to pay special attention to your spacing and your text sizes or your GUI might come out looking like crap.

Picture control in QT

i am learning QT, i am not getting how to get the picture control in QT?.
in .net we have picture control right same way i need in QT.
i know text edit support pictures but is there any alternatives.
please tell if so.
Thanks
I assume that you mean a control for showing pictures. In that case, simply use a QLabel and call setPixmap. There is a more versatile, but less polished picture widget here.

Resources