ExampleFor an example of how the drawing buffer can be used to create a nice visual effect, take a look here:
DrawingBuffer: Missing example
Moderator: Documentation Editors
DrawingBuffer: Missing example
The part in the help looks like this:
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
- Andre
- PureBasic Team
- Posts: 2056
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: DrawingBuffer: Missing example
In german help-file it looks like this:
(The double 'Beispiel' / english 'Example' has something to do with the used 'DocMaker' tags, as here the introduction text finally links to a separate PB code, while it isn't included on this help page directly)
Not perfect, but..... it look like it should.Beispiel
Für ein Beispiel, wie der Zeichenbuffer zum Erstellen schöner Grafikeffekte genutzt werden kann, werfen Sie einen Blick auf das:
Beispiel
DirectScreenDrawing.pb
(The double 'Beispiel' / english 'Example' has something to do with the used 'DocMaker' tags, as here the introduction text finally links to a separate PB code, while it isn't included on this help page directly)
Re: DrawingBuffer: Missing example
Still missing.
To clarify: There is no link or code in the english doc on linux (like there is on Windows and online)
In fact there is no example DirectScreenDrawing.pb nor any other example using DrawingBuffer(). Since the Windows/Online version of the example doesn't really run on my system I think the example would have to be adapted to support multple pixel formats (like #PB_PixelFormat_24Bits_RGB | #PB_PixelFormat_ReversedY for example) to run on linux as well. ..instead of just deleting it from the linux version
To clarify: There is no link or code in the english doc on linux (like there is on Windows and online)
In fact there is no example DirectScreenDrawing.pb nor any other example using DrawingBuffer(). Since the Windows/Online version of the example doesn't really run on my system I think the example would have to be adapted to support multple pixel formats (like #PB_PixelFormat_24Bits_RGB | #PB_PixelFormat_ReversedY for example) to run on linux as well. ..instead of just deleting it from the linux version
- Andre
- PureBasic Team
- Posts: 2056
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: DrawingBuffer: Missing example
I just don't know why the example isn't included, when building the PB Linux version... so maybe something to be checked by Fred, when doing the Make/Build process...
Here is a quote from the PB docs (2DDrawing source doc file), there is nothing "Windows only" or excluding something on Linux...!?
Here is a quote from the PB docs (2DDrawing source doc file), there is nothing "Windows only" or excluding something on Linux...!?
Extending the DirectScreenDrawing.pb example code is another topic. But this is also something I'm not able to do...@Example
For an example of how the drawing buffer can be used to create a nice visual effect, take a look here:
@ExampleFile All DirectScreenDrawing.pb
@SeeAlso
@@DrawingBufferPixelFormat, @@DrawingBufferPitch
@SupportedOS