English
Units

area To Region

 

Georg
Teles
Created Region a area (/ File) the (/ The) before with GenSimpleRGN a Image generiert watts.

Download

structure the Rgn-File:
length	type	Content
------------------------
[4]	Char	Rgn!
[2]	Word	Version
[2]	Word	Width
[2]	Word	Height
[*]		data for The Region

Läft faster as Bildhandle To Region   [...]  and String To Region   [...]  there in the Vorfeld The compel Information generiert go, nevertheless recommend itself small Images ! Gespeichert go diejenigen Pixel, The objectively herausgeschnitten get (apiece More herausgeschnitten becomes, so larger The File / so longer lasts it, The Region To produce / with small modifications How Rundungen / Kanten power it none large Difference)

to that Generate of/ one RGN-File is GenSimpleRGN enclosed

let as File take off and later as File or area integrate (or with the Datengenerator directly in the program write / at Datengenerator noticed, that of/ one the downstairs Pixel missing ! lying sooner on the Datengenerator !).
GetOpenFRgn( rgn$ )
' way to Region-File, String
GetOpenHRgn( rgn# )
' Variable, The The Region-File (whole File as area) contains, area
GetOpenFBin( be$, x&, y& )
' 1. Par = way to Region-data-File, String
' 2. Par = wide the Regionbereiches / the Bildes, Long
' 3. Par = Höhe the Regionbereiches / the Bildes, Long
GetOpenHBin( be#, x&, y& )
' 1. Par = Variable, The The Region-data-File as area contains, area
' 2. Par = wide the Regionbereiches / the Bildes, Long
' 3. Par = Höhe the Regionbereiches / the Bildes, Long

One by-product (here only 1 Image), that from the "cdg"-Dateiformat (14 Images) of my Clockbar arose and a Image 2-Dimensional describe / Pixel definiert. arose original to the own idea the Bildhandle To Region   [...]  .

Works with SKControl



Regards Georg

374 kB
Version:1.0.0.1
Hochgeladen:05/26/19
Downloadcounter88
Download
 
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

05/26/19  
 




Georg
Teles
Update 1.0.0.1
with binären RGN-data-Files must one itself self around the dissolution (Höhe & wide) concern. The PCU checks hierbei neither, whether The angegebene File objectively a RGN-data-File is, there the Header entfällt and only mere data the Region in this File expects go.

GenSimpleRGN watts updated, one can The RGN-File too as, as supra beschriebene, RGN-data-Save file (.be).

everything tested only under XProfan X2 - PCUs with XPSE compiled, alternatively are with XProfan compiled thereby - settled is a PCU only with the function GetOpenHRgn

Regards Georg
 
XProfan X2
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

06/04/19  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.937 Views

Untitledvor 0 min.
Georg Teles08/11/24
p.specht07/06/21
N.Art11/18/20
iF09/24/20
More...

Themeninformationen

this Topic has 1 subscriber:

Georg Teles (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie