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
A "leisure" question on W...
by
VisualLab
[
Today
at 02:01:13 am]
Big Numbers Math
by
woodybrison
[
Today
at 01:30:21 am]
Project fails on run but ...
by
jamie
[
Today
at 12:54:49 am]
Curling Pythagoras Tree: ...
by
Boleeman
[
Today
at 12:00:37 am]
Offical launch of the 1 B...
by
Gustavo 'Gus' Carreno
[March 28, 2024, 11:51:31 pm]
Ribbon bar in Lazarus 3.2...
by
wp
[March 28, 2024, 11:29:17 pm]
Free AI to use in local
by
BSaidus
[March 28, 2024, 10:57:23 pm]
how to search in rxmemory...
by
rcmz
[March 28, 2024, 10:19:54 pm]
Configure JCF messages
by
GordonFindlay
[March 28, 2024, 10:16:19 pm]
Poll: Watches and Display...
by
Martin_fr
[March 28, 2024, 10:15:08 pm]
Dialog ShowModal and an i...
by
d7_2_laz
[March 28, 2024, 09:51:39 pm]
JEDI error but unit compi...
by
Thaddy
[March 28, 2024, 09:30:33 pm]
Understanding and adjusti...
by
circular
[March 28, 2024, 09:09:56 pm]
Controlling the behavior ...
by
wp
[March 28, 2024, 08:29:28 pm]
how to change the color f...
by
wp
[March 28, 2024, 07:23:58 pm]
Dynarray initialization p...
by
Thaddy
[March 28, 2024, 06:30:12 pm]
Zeos components. Had to c...
by
Fantablup
[March 28, 2024, 04:17:13 pm]
[SOLVED] Completion box s...
by
furious programming
[March 28, 2024, 04:12:26 pm]
[LAMW] How to create a ca...
by
af0815
[March 28, 2024, 03:48:16 pm]
Complex package installat...
by
wp
[March 28, 2024, 03:38:16 pm]
[SOLVED] Combined pointer...
by
CM630
[March 28, 2024, 02:48:41 pm]
Using KeyPress event, how...
by
Zvoni
[March 28, 2024, 02:24:42 pm]
a Unit problem?
by
Thaddy
[March 28, 2024, 01:56:12 pm]
Any upgrades to fpWeb pag...
by
marcov
[March 28, 2024, 12:50:25 pm]
Help needed with Cairo / ...
by
Roland57
[March 28, 2024, 12:25:16 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Most primitive way for doing graphics on Lazarus (Read 1819 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: 1196
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: 421
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: 5131
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