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
Install new .deb over exi...
by
CM630
[
Today
at 08:44:36 pm]
LazSWatch - a serial port...
by
CM630
[
Today
at 08:17:10 pm]
Lazarus interface to Rexx...
by
Thaddy
[
Today
at 07:34:26 pm]
WASM import error
by
lebao3105
[
Today
at 05:51:47 pm]
OpenDocument('Filename') ...
by
J-G
[
Today
at 05:23:26 pm]
Lazarus Bugfix Release 4....
by
n7800
[
Today
at 04:56:57 pm]
Discipline your AI coding...
by
Weiss
[
Today
at 04:37:42 pm]
Lazarus Main not building...
by
dsiders
[
Today
at 03:01:07 pm]
Hello. I'm new to this co...
by
zeljko
[
Today
at 02:17:38 pm]
TCollection wiki entry
by
Thaddy
[
Today
at 01:24:21 pm]
weird error message
by
cdbc
[
Today
at 12:23:13 pm]
Freepascal
by
LeP
[
Today
at 09:40:33 am]
TTL Record Count, i.e. a ...
by
Zvoni
[
Today
at 09:10:08 am]
Printing on HP Smart Tank
by
Thaddy
[
Today
at 07:10:37 am]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 06:38:27 am]
MVP made easier.
by
cdbc
[
Today
at 06:18:24 am]
I have made some progress...
by
onionmixer
[
Today
at 02:57:55 am]
Lazarus 4.6 may erase you...
by
Martin_fr
[July 12, 2026, 06:35:29 pm]
Best name for procedure
by
LemonParty
[July 12, 2026, 05:23:02 pm]
Fixed an RV32ec compiler ...
by
MattBradford
[July 12, 2026, 05:11:16 pm]
Many recent books on Laza...
by
Tomu
[July 12, 2026, 05:02:44 pm]
International Pascal Cong...
by
zeljko
[July 12, 2026, 04:08:53 pm]
equivalent to C/C++ "offs...
by
jamie
[July 12, 2026, 02:43:16 pm]
val return code
by
ALLIGATOR
[July 12, 2026, 01:40:21 pm]
Help needed on how to do ...
by
cdbc
[July 12, 2026, 12:15:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: IntersectRect (Read 6369 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: 8836
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