I need to establish a canvas for sorts, for painting primarily single
line pictures. Lines and images are currently drawn into raw
graphics space which is derived from a control, using LockBits.
I'm wondering if there is a quicker way to do this (like a wrapper for
Win32 DibSection with PInvoke'd BitBlt?) 5 1136
check out this resource, it has some good info about graphics http://www.bobpowell.net/
HTH
Ollie Riches
"_R" <_R@nomail.org> wrote in message
news:uh********************************@4ax.com... I need to establish a canvas for sorts, for painting primarily single line pictures. Lines and images are currently drawn into raw graphics space which is derived from a control, using LockBits.
I'm wondering if there is a quicker way to do this (like a wrapper for Win32 DibSection with PInvoke'd BitBlt?)
>"_R" <_R@nomail.org> wrote in message news:uh********************************@4ax.com.. .I need to establish a canvas for sorts, for painting primarily single line pictures. Lines and images are currently drawn into raw graphics space which is derived from a control, using LockBits.
I'm wondering if there is a quicker way to do this (like a wrapper for Win32 DibSection with PInvoke'd BitBlt?)
On Sat, 10 Sep 2005 19:19:53 +0100, "Ollie Riches"
<ol**********@phoneanalyser.net> wrote:
check out this resource, it has some good info about graphics
http://www.bobpowell.net/
Thanks, Ollie. I have been to Bob's site, but didn't see anything
relating speeds of PInvoked Win32 calls. I was kind of hoping that
Bob or someone would jump in here. <g> I know this must have been
explored in detail.
have you tried www.pinvoke.net
HTH
Ollie Riches
"_R" <_R@nomail.org> wrote in message
news:uh********************************@4ax.com... I need to establish a canvas for sorts, for painting primarily single line pictures. Lines and images are currently drawn into raw graphics space which is derived from a control, using LockBits.
I'm wondering if there is a quicker way to do this (like a wrapper for Win32 DibSection with PInvoke'd BitBlt?)
in fact here you go http://www.pinvoke.net/default.aspx/...eateDIBSection
HTH
Ollie Riches
"_R" <_R@nospam.org> wrote in message
news:0j********************************@4ax.com... "_R" <_R@nomail.org> wrote in message news:uh********************************@4ax.com. ..I need to establish a canvas for sorts, for painting primarily single line pictures. Lines and images are currently drawn into raw graphics space which is derived from a control, using LockBits.
I'm wondering if there is a quicker way to do this (like a wrapper for Win32 DibSection with PInvoke'd BitBlt?)
On Sat, 10 Sep 2005 19:19:53 +0100, "Ollie Riches" <ol**********@phoneanalyser.net> wrote:
check out this resource, it has some good info about graphics
http://www.bobpowell.net/
Thanks, Ollie. I have been to Bob's site, but didn't see anything relating speeds of PInvoked Win32 calls. I was kind of hoping that Bob or someone would jump in here. <g> I know this must have been explored in detail.
>> >"_R" <_R@nomail.org> wrote in message news:uh********************************@4ax.com ... I need to establish a canvas for sorts, for painting primarily single line pictures. Lines and images are currently drawn into raw graphics space which is derived from a control, using LockBits.
I'm wondering if there is a quicker way to do this (like a wrapper for Win32 DibSection with PInvoke'd BitBlt?)
On Sun, 11 Sep 2005 18:53:41 +0100, "Ollie Riches"
<ol**********@phoneanalyser.net> wrote:
in fact here you go
http://www.pinvoke.net/default.aspx/...eateDIBSection
Great resource, thanks. They even have a short stretch of sample code
for bitblt. I have seen PInvoked Bitblt code posted before but always
as "Why doesn't this work."
I guess I'll have to code both GDI and GDI+ and run my own benchmarks.
I had expected those numbers to be available somewhere, as well as
some organized classes for PInvoking GDI functions. You'd think... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DraguVaso |
last post by:
Hi,
In the override of the Paint-method of a DataGridTextBoxColumn I want to
show an image with BitBlt, to see what I can gain there on performance.
The problem is: It doesn't show me the image...
|
by: JackS |
last post by:
I am trying to use GDI32 bitblt to write a bitmap to a control's window, but all I get is an empty rectangle of some rop-dependent color. In short, I use the following logic in a paint event handler:...
|
by: _R |
last post by:
I need to establish a canvas for sorts, for painting primarily single
line pictures. Lines and images are currently drawn into raw
graphics space which is derived from a control, using LockBits.
...
|
by: Raed Sawalha |
last post by:
Dear,
Can I use BitBlt , and GetDC with ASP.NET?
|
by: VB Programmer |
last post by:
I am using the BitBlt operation to capture various controls into jpegs.
It's almost like a screen capture, but of just the control. (This is a
VB.NET application.)
Because of BitBlt limitations...
| |
by: matt |
last post by:
Hallo,
I have to create a simple sprite movement;
in VB6 I used the API BitBlt and all was very good.
Using the NET graphical methods (not API) ,
the result is slow.
Do you have a NET...
|
by: Galen Somerville |
last post by:
I'm doing something wrong. I made up a test app and put the ZIP file on my
website
http://home.surewest.net/galen/index.html under Downloads.
Basically I have a Panel that will get continuous...
|
by: Martijn Mulder |
last post by:
/*
BitBlt.cs
C# code using P/Invoke
I have good reasons to use P/Invoke to get access to the Win32 API
function BitBlt(). But I have trouble understanding the workings of it.
Below is a...
|
by: =?Utf-8?B?Y3JhbmtlX2JveQ==?= |
last post by:
Hi Folks,
I'm not sure where this post belongs since I'm using managed vc.net, but the
issue is around GDI BitBlt.
Here is a summary of the problem:
- I am trying to copy a bitmap of my main...
|
by: crankeboy |
last post by:
Hi Folks,
My setup: Visual Studio Express 2008, VC++, .NET, BitBlt
Here is a summary of the problem:
- I am trying to copy a bitmap of my main form into a picture box.
- To do this, I bitblt...
|
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...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |