473,386 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

bug report: new GraphicsPath().Widen(pen);

M G

GraphicsPath path=new GraphicsPath();
path.Widen(new Pen(Color.Black,8));

generate OutOfMemory exception!
Nov 16 '05 #1
0 1154

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bobo | last post by:
GraphicsPath p=new GraphicsPath(); //p.AddLine(p1,p2); //p.Widen(pen); p.Dispose(); this code runs ok. but if I uncomment the two lines above. the program finally crashes out of memory? can...
3
by: Tim Bücker | last post by:
Hello. I have a question concerning the Graphics.DrawPath method. Where is the border drawn using a pen with the size of 3? It doesn´t seem that the border is drawn outside of the path (just a...
0
by: jay | last post by:
Hi! I'm using this code to add text to the GraphicsPath m_Gpath: m_Gpath.AddString(m_objectLabel, otherFont.FontFamily, (int)otherFont.Style, (int)otherFont.Size, new Point(m_MouseX,...
5
by: Brian | last post by:
Hello all.. Am working on an Air Hockey game... have an table loaded into a picture box. The borders of the table are slightly slanted. Am using hit testing lines with GDI+ to manipulate the...
0
by: Diana Estrada | last post by:
Hi, I have many rpt's crystal report 7, and I need to show them in ASP .Net, but if my report have parameters the server send me a query engine error, failed to pen rowset, If I test with rpt's...
1
by: pepsi330ml | last post by:
I have a Report A, which compute daily sales. Example: Date: 18 Jan 06 Pen - 4 pieces Ruler - 5 pieces Pencil - 7 pieces Date: 19 Jan 06 Pen - 3 pieces Ruler - 5 pieces
13
by: Martijn Mulder | last post by:
I try to define a line with the length of 1 unit (1 pixel) that is, in fact, just a point on the screen. But when I draw it with a wide pen with the appropriate StartCap and EndCap (Round), it will...
0
by: Jon Slaughter | last post by:
In my code I'm trying to draw a generic button with an arbitrary clipping region. Is there any way I can get the outline of the region to draw its border? Basically what I'm trying to do is...
0
by: cyberdine | last post by:
Hi, I am trying to apply text border to some text I am drawing. I obtained some code from Bob Powells GDI+ FAQ but it seems that the text border is draw from outside inwards, that is the letter...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.