Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2005, 11:19 AM
swees swees is offline
Junior Member
 
Join Date: Jun 2005
Posts: 4
Default marquee and zoom on Image component

hallo! i'm trying to make a program like paintbrush. made some tools but have no idea how to make zoom and marquee tools. if You have any, i would be grateful for ideas or sources. thanks!
regards
swees
Reply With Quote
  #2  
Old 06-11-2005, 11:46 AM
BaraoZemo BaraoZemo is offline
Senior Member
 
Join Date: Nov 2001
Posts: 3,573
Default RE: marquee and zoom on Image component

subscribe first (itīs free)

[link=http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1327&lngWId=7] WhiteBoard delphi sources[/link]

Regards
BaraoZemo

ps, donīt forget to click in the button and Accept as Answer if this helped you!
Reply With Quote
  #3  
Old 06-12-2005, 01:50 AM
swees swees is offline
Junior Member
 
Join Date: Jun 2005
Posts: 4
Default RE: marquee and zoom on Image component

hi. i know this source and it's really good but it doesn't contain neither marquee nor zoom tools...
Reply With Quote
  #4  
Old 06-12-2005, 04:04 AM
douglas douglas is offline
Senior Member
 
Join Date: Jul 2001
Posts: 7,695
Default RE: marquee and zoom on Image component

Check these out:

Marching Ants
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/Algorithms.htm

Rubber Banding
efg's sample project of how to use "Marching Ants" over a TImage
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/Algorithms.htm#RubberBanding



Also, EFG Lab has numerous articles on all kinds of things related to images and image processing, Colors, Painting, etc

http://www.efg2.com/

Lab
http://www.efg2.com/Lab/index.html

Reference
http://www.efg2.com/Lab/Library/index.html

Image Processing
http://www.efg2.com/Lab/Library/ImageProcessing/index.html

Algorithms
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/Algorithms.htm



If this Helps!, please accept as Answer!

UnSysApps
Reply With Quote
  #5  
Old 06-12-2005, 07:02 AM
BaraoZemo BaraoZemo is offline
Senior Member
 
Join Date: Nov 2001
Posts: 3,573
Default RE: marquee and zoom on Image component

in some situations i donīt like to use free codes ,because you donīt get a fast approach and the quality is fair...

for commercial application i suggest this (only 49 eur)
(and donīt lost you time...)

ImageEN
http://www.hicomponents.com/nimageen.asp

Regards
BaraoZemo

ps, donīt forget to click in the button and Accept as Answer if this helped you!
Reply With Quote
  #6  
Old 06-12-2005, 10:01 AM
swees swees is offline
Junior Member
 
Join Date: Jun 2005
Posts: 4
Default RE: marquee and zoom on Image component

unfortunately, links for "marching ants" are refering to a search system completely not related with delphi
Reply With Quote
  #7  
Old 06-12-2005, 10:27 AM
swees swees is offline
Junior Member
 
Join Date: Jun 2005
Posts: 4
Default RE: marquee and zoom on Image component

ok, it's a still in nappies sample for zoom:

var
Bitmap:TBitmap;
ImIn,ImOut:TRect;
begin
ImIn:=rect(0,0,Image1.Width,Image1.Height);
ImOut:=rect(0,0,(Image1.Width)*2,(Image1.Height)*2 );
Bitmap:=TBitmap.Create;
Bitmap.Height:=(Image1.Height)*2;
Bitmap.Width:=(Image1.Width)*2;
Bitmap.Canvas.CopyRect(ImOut,image1.Canvas,ImIn);
Image1.Picture.Graphic:=Bitmap;
Bitmap.Free;
end;

but works
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 07:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.