Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
Most primitive way for doing graphics on Lazarus
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
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
IDE instability on Raspbe...
by
rvk
[
Today
at 10:37:14 am]
Boleeman's projects are p...
by
AlexTP
[
Today
at 10:18:04 am]
Using KeyPress event, how...
by
alpine
[
Today
at 10:02:15 am]
Understanding and adjusti...
by
circular
[
Today
at 09:55:30 am]
Your best UI design - con...
by
circular
[
Today
at 09:36:11 am]
ZeosDBO and querys using ...
by
Zvoni
[
Today
at 09:27:17 am]
STARS with line border st...
by
Boleeman
[
Today
at 09:13:29 am]
JEDI error but unit compi...
by
DomingoGP
[
Today
at 08:28:17 am]
Configure JCF messages
by
DomingoGP
[
Today
at 08:19:10 am]
Any upgrades to fpWeb pag...
by
AlexTP
[
Today
at 08:10:55 am]
Zeos components. Had to c...
by
dbannon
[
Today
at 07:26:11 am]
A button require administ...
by
Fibonacci
[
Today
at 05:57:21 am]
How to detect one externa...
by
d2010
[
Today
at 12:24:32 am]
Center Lost Window featur...
by
Tony Stone
[
Today
at 12:06:16 am]
Complex package installat...
by
wp
[March 27, 2024, 10:47:45 pm]
Controlling the behavior ...
by
wp
[March 27, 2024, 10:43:40 pm]
A "leisure" question on W...
by
EventHorizon
[March 27, 2024, 10:18:38 pm]
need advice about the fol...
by
jamie
[March 27, 2024, 09:56:39 pm]
[SOLVED] Completion box s...
by
Martin_fr
[March 27, 2024, 08:44:09 pm]
Dialog ShowModal and an i...
by
d7_2_laz
[March 27, 2024, 08:25:18 pm]
Offical launch of the 1 B...
by
Gustavo 'Gus' Carreno
[March 27, 2024, 07:41:48 pm]
Problem setting length of...
by
Remy Lebeau
[March 27, 2024, 05:41:10 pm]
TDBLookupcombobox seems u...
by
Fantablup
[March 27, 2024, 05:18:04 pm]
Poll: Watches and Display...
by
Martin_fr
[March 27, 2024, 03:58:57 pm]
Help needed with Cairo / ...
by
AL
[March 27, 2024, 02:35:10 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Most primitive way for doing graphics on Lazarus (Read 1817 times)
pascal111
Sr. Member
Posts: 423
Un trabajo en equipo para programas serias.
Most primitive way for doing graphics on Lazarus
«
on:
April 20, 2021, 08:41:54 pm »
I'm a beginner in Lazarus, and I'm asking about the most primitive way of making graphics on Lazarus without needing for downloading additional packages if the Lazarus has standard classic way for that. (I don't think that I have OpenGl card)
Logged
La chose par la chose est rappelé.
dseligo
Hero Member
Posts: 1194
Re: Most primitive way for doing graphics on Lazarus
«
Reply #1 on:
April 20, 2021, 10:36:34 pm »
Look at this thread, in answer #3 you can download example project:
https://forum.lazarus.freepascal.org/index.php/topic,54249.msg402876.html#msg402876
Logged
Roland57
Sr. Member
Posts: 419
Re: Most primitive way for doing graphics on Lazarus
«
Reply #2 on:
April 20, 2021, 11:36:29 pm »
Maybe you could use the ptcGraph unit.
Logged
My projects are on
Gitlab
and on
Codeberg
.
speter
Sr. Member
Posts: 345
Re: Most primitive way for doing graphics on Lazarus
«
Reply #3 on:
April 21, 2021, 02:19:40 am »
The simplest way to do graphics in lazaraus is to use the canvas object - either a form's canvas or place a paintbox component on the form and use it's canvas.
Have a look at the wiki page "developing with graphics"
https://wiki.freepascal.org/Developing_with_Graphics
.
There is also a useful forum thread at
https://forum.lazarus.freepascal.org/index.php/topic,42439.msg296299.html#msg296299
cheers
S.
Logged
I climbed mighty mountains, and saw that they were actually tiny foothills.
pascal111
Sr. Member
Posts: 423
Un trabajo en equipo para programas serias.
Re: Most primitive way for doing graphics on Lazarus
«
Reply #4 on:
April 21, 2021, 03:34:30 am »
Thanks everyone!
Logged
La chose par la chose est rappelé.
Handoko
Hero Member
Posts: 5129
My goal: build my own game engine using Lazarus
Re: Most primitive way for doing graphics on Lazarus
«
Reply #5 on:
April 21, 2021, 08:31:11 am »
Quote from: pascal111 on April 20, 2021, 08:41:54 pm
I don't think that I have OpenGl card
... 810-based boards include an AMR expansion slot. Additionally, the integrated graphics does not support 32-bit graphics mode, forcing the user to downsample the 810's standard 24-bit mode to 16-bit in order to run most games or full screen DirectX/OpenGL programs ...
Source:
https://en.wikipedia.org/wiki/Intel_810
Intel 810 Chipset, which was an integrated VGA chipset released by Intel in 1999 already has some basic supports of OpenGL. Any computer with integrated VGA manufactured after 2000 (Pentium 4 and above) should already support OpenGL version 1.2.
https://en.wikipedia.org/wiki/OpenGL#Version_history
So I believe your computer should be able to run OpenGL 1.2 programs unless it is a Pentium 3 or lower. You can download and run
glSlideshow
to test your computer, it requires OpenGL 1.2 support.
https://forum.lazarus.freepascal.org/index.php/topic,35313.msg256719.html#msg256719
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
Most primitive way for doing graphics on Lazarus
TinyPortal
© 2005-2018