Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
IntersectRect
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
would multi threading hel...
by
speter
[
Today
at 08:56:13 am]
kick mellstroy VS mellstr...
by
Lauriet
[
Today
at 08:08:13 am]
Default, Manual Initializ...
by
Khrys
[
Today
at 07:16:41 am]
Regarding the issue of de...
by
yinhuajian
[
Today
at 05:54:00 am]
How to observe the value ...
by
yinhuajian
[
Today
at 05:50:14 am]
Cannot see unit text - ed...
by
lorenzo
[
Today
at 04:05:13 am]
AdvancedHTTPServer: A Go-...
by
egsuh
[
Today
at 01:44:33 am]
Perlin Noise Map With BGR...
by
Boleeman
[
Today
at 01:31:57 am]
Apakah Tokopedia Punya WA...
by
Xibition
[
Today
at 01:18:59 am]
Berapa WhatsApp Tokopedia...
by
Xibition
[
Today
at 01:18:36 am]
WhatsApp Tokopedia
by
Xibition
[
Today
at 01:16:59 am]
Berapa kah Nomor WA Tokop...
by
Xibition
[
Today
at 01:16:27 am]
Berapa kah wa Tokopedia
by
Xibition
[
Today
at 01:15:58 am]
Apakah Tokopedia memiliki...
by
Xibition
[
Today
at 01:15:28 am]
Berapa Nomor WA Tokopedia...
by
Xibition
[
Today
at 01:14:35 am]
Nomor WA Tokopedia
by
Xibition
[
Today
at 01:13:33 am]
What's wrong with my appl...
by
VisualLab
[
Today
at 01:04:16 am]
ThemeServices.OnThemeChan...
by
440bx
[
Today
at 12:16:35 am]
[Windows] UTF8 encoding w...
by
bstewart
[
Today
at 12:08:42 am]
Cross Compile for Dos on ...
by
PascalDragon
[January 20, 2026, 10:54:36 pm]
Feature announcement: Fun...
by
PascalDragon
[January 20, 2026, 09:50:39 pm]
Access violation during d...
by
PascalDragon
[January 20, 2026, 09:49:09 pm]
IStringList...
by
PascalDragon
[January 20, 2026, 09:35:54 pm]
Lazreport. Sorting.
by
PascalDragon
[January 20, 2026, 09:34:15 pm]
Strings in Free Pascal: I...
by
PascalDragon
[January 20, 2026, 09:33:09 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: IntersectRect (Read 6281 times)
T-bear
Full Member
Posts: 160
IntersectRect
«
on:
May 28, 2011, 07:08:43 pm »
Hi,
In wich Unit is the function Intersectrect (
http://lazarus-ccr.sourceforge.net/docs/rtl/types/intersectrect.html
)
Because when i use Intersectrect, i get Identifier not found "Intersectrect".
Thanks!
«
Last Edit: May 28, 2011, 07:12:38 pm by T-bear
»
Logged
typo
Hero Member
Posts: 3051
Re: IntersectRect
«
Reply #1 on:
May 28, 2011, 07:12:13 pm »
Unit Types.
Logged
LazarusBrasil.Org
T-bear
Full Member
Posts: 160
Re: IntersectRect
«
Reply #2 on:
May 28, 2011, 07:13:53 pm »
And what is the third/first rectangle good for?
Logged
typo
Hero Member
Posts: 3051
Re: IntersectRect
«
Reply #3 on:
May 28, 2011, 07:24:05 pm »
I don't understand.
IntersectRect returns the intersection of the 2 rectangles R1 and R2 in Rect. It returns True if the 2 rectangles have an intersection, otherwise False is returned, and Rect is filled with zero.
«
Last Edit: May 28, 2011, 07:25:59 pm by typo
»
Logged
LazarusBrasil.Org
Leledumbo
Hero Member
Posts: 8835
Programming + Glam Metal + Tae Kwon Do = Me
Re: IntersectRect
«
Reply #4 on:
May 29, 2011, 03:15:42 pm »
Quote
And what is the third/first rectangle good for?
The explanation is clear. 2nd and 3rd parameter is intersected and the resulting intersection rect is placed in 1st parameter.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
IntersectRect
TinyPortal
© 2005-2018