| Thread | Last Post | Replies |
|
| Setting letter spacing on a Font. | 09 Sep 2003 17:44 GMT | 2 |
Is there a way to control the spacing between letter's of a [Font] when using the [Graphics] classes "DrawString" method? For example: "word" rendered as "w o r d" I can't see any property on the [Font] to do this - and that would seem like
|
| Draw out of form | 09 Sep 2003 15:28 GMT | 1 |
In a drag'ndrop operation I want draw a line between start and final position of the object i moved (like link in dreamweaver). I have an object Graphics for the screen : Graphics g = Graphics.FromHwnd(IntPtr.Zero);
|
| Transparent image | 09 Sep 2003 11:52 GMT | 1 |
Does anyone know how I can draw a transparent image on top of a custom drawing?, i.e I want to able to drag my mouse over the drawing so that will highlight areas on the drawing behind it.
|
| Moving and Resizing Controls at Runtime | 09 Sep 2003 11:49 GMT | 1 |
I'm looking for a smart solution to move (and resize) controls at runtime. example : I have a UserControl and several Control on it. I want that when I click down on a control and move the mouse, all control
|
| How do I get the backing buffer for a Bitmap? | 09 Sep 2003 11:16 GMT | 1 |
I'm using a Bitmap to load an image from disk - but I'm going to use OpenGL to display it. So I want a flat memory buffer that contains all the pixel information. Is there any way to get access to the raw buffer for the Bitmap? Right now I walk across the entire image
|
| Tooltip for a custom control | 09 Sep 2003 11:14 GMT | 2 |
Does anyone know the best way to show a tooltip for a custom control? John
|
| Saving Multi-Frame Image | 09 Sep 2003 01:45 GMT | 3 |
Is there a way to specify the position to save a frame in a multi-frame image. So far I can only save it as the last frame, i.e. append. This works fine but would be quicker if I could simply save as the first frame instead of having to add all the frames just to add one to the ...
|
| Clipboard.GetDataObject().GetData(DataFormats.EnhancedMetafile) Fails! | 09 Sep 2003 00:55 GMT | 6 |
I am attempting to retrieve an EnhancedMetafile from the clipboard that was copied from another application. I have verified that the EnhancedMetafile is correctly copied to the clipboard by opening wordpad and pasting. The image pastes correctly in wordpad. I am needing to ...
|
| How to control text scaling on a Graphics object using scaled "world coordinates" | 08 Sep 2003 17:34 GMT | 4 |
The problem is as follows: We are working on a map control, displaying a map of the world in latitude-longitude. To be able to draw graphics on the map in "world" coordinates we used the
|
| Clipboard method: Clipboard.GetDataObject.GetData(DataFormats.EnhancedMetafile,true); doesn't work!!! | 08 Sep 2003 17:19 GMT | 2 |
There is no way to extract an EnhancedMetafile: with object o = d.GetData(DataFormats.EnhancedMetafile); I always obtain an object null reference to "o". Someone knows why this appens? There is some way to bypass this problem?
|
| Raising repaint | 08 Sep 2003 15:57 GMT | 1 |
I have an MDI application that sometimes has a form on top of another form with a custom control on it. Does anyone know a way I can get the control to redraw itself when the user moves the form that was on top of it?
|
| Recommendations wanted for .NET 2D Graphics book | 08 Sep 2003 15:44 GMT | 2 |
I've spent the afternoon trying to understand the finer points of PathGradientBrushes and LinearGradientBrushes using the MSDN docs and Petzold. I understand much of these tools but would like to find a book that explains finer details.
|
| GDI+ Lines disappears | 05 Sep 2003 14:12 GMT | 2 |
I m building a drawing application (VB.NET) and i try to mimic the way lines are used in Visio. I created two controls for each edge, and i draw a line from startEdge to endEdge. All these are done on a panel. Problem is when i add two lines (two sets of controls+line) and try to ...
|
| Cropping an Image | 04 Sep 2003 22:06 GMT | 2 |
I can't figure out how to crop the size of an image I'm layering text over. I'm doing (roughly) the following: Sub Sample(ByVal font As Font) Dim myText As String = "Hello!"
|
| Computing a point on a line based on an endpoint and a length | 03 Sep 2003 21:12 GMT | 2 |
I have a line defined by two endpoints, (sx,sy) and (ex,ey). I have a length len. I would like a formula to compute the point on the line (px,py) that is len distance from (ex,ey). I know this isn't rocket science... but it is eluding me for the moment.
|