473,287 Members | 1,413 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,287 software developers and data experts.

Draw GraphicsPath performance issue

Hello!

I have a webpage (FW1.1) in which some heavy drawing takes place (code
behind). In some cases I call the DrawPath(...) function 20 000-30 000 times.
This works well everywhere except in one environment. The time to draw the
geometries is about 20-30 times higher than everywhere else. What could be
the cause?

Basically what the code does, is that it gets some data from an Oracle
database, uses a Graphics object (created from a new Bitmap-object) and draws
the geometries on that. Then the Bitmap is Saved to a file on the server and
that file is loaded with the webpage.

I've added a log-function so I'm sure the time-loss is in the drawfunction.

What should I look for?

Thanks
Miro
May 15 '06 #1
0 990

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

Similar topics

3
by: faustino Dina | last post by:
Hi, I was looking on the SDK but I can't find how to draw text in angles different from 0 and 90. Is it possible? If not, does exist some 3rd party library allowing this? Any hint is welcomed ...
2
by: Tim Bücker | last post by:
Hello. I have a GraphicsPath path with some rectangles in it. It is now possible to transform these with a matrix but is it possible to transform just one of the rectangles, leaving the others...
2
by: Crirus | last post by:
hello I have a GraphicsPath that is a closed courve. How can I expand that path with a certain ammount in all directions? -- Ceers, Crirus ------------------------------
16
by: Crirus | last post by:
I have a graphics path composed from multiple circles that may overlap... That graphics path I need it converted to a string and that string I whould like to be as small as possible Any ideeas?...
4
by: James Radke | last post by:
Hello, I am creating an owner draw listbox for a windows application. It is all working, except the performance is significantly slower than the standard listbox. Basically what I have done is...
4
by: Don | last post by:
When creating a new region for a control via a GraphicsPath object, it appears the entire rightmost column of pixels and bottom most row of pixels are not included in the region. I will try to...
7
by: Mark Ingram | last post by:
Hi, how can i draw a rounded rectange, with a border within a specified area? i.e. if i have a Rectangle with width and height of 100, how can i draw a rectange with 2 pixel border inside of the...
2
by: Martijn Mulder | last post by:
/* GraphicsPath.IsVisible() gives unexpected results. I fill a System.Drawing.Drawing2D.GraphicsPath-object with PointF-structures that define the unit-square (0,0), (1,0), (1,1) and (0,1). Then I...
1
by: Sin Jeong-hun | last post by:
I have created a simple custom control, which displays a string data on it. It draws the string at its OnPaint(). When the string is changed I can call Invalidate() to redraw the string. Sort of...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...

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.