Post Reply 
A query on Graphics Syntax
05-14-2016, 12:01 AM
Post: #4
RE: A query on Graphics Syntax
I forgot translate, he
Quote:You can not create graphical variables. It is possible to create graphics Named with ICON.

The G0-9 are always operated as expressions, so to do:
GN:=G7 or GN:='G7' is it same. Both refer to the graph variable G7.

In doing:
DIMGROB (GN, 320, 240); It is setting G7 "DIMGROB (G7, 320, 240)"
Also missing point is made by pixel -> DIMGROB_P

This expression redefines size and content.
GN:= Afiles("BSL_A"); So it was not necessary to size GN (G7) above.

Created in your code you can get the graphic on screen with GN or G7.
BLIT(G0, GN) = BLIT(GN) = BLIT(G7)

This is an error
BLIT_P (G0, Afiles ("BSL_A"));
BLIT need as parameters a reference to a source or graphic variables, such as:
G0: Display
G7: Variable temporarily storing graphic objects
Error will occur if you try to pass Afiles ("BSL_A") because it is not a reference, these are raw data, which BLIT is not ready to receive it.

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
A query on Graphics Syntax - StephenG1CMZ - 05-13-2016, 05:15 PM
RE: A query on Graphics Syntax - Arno K - 05-13-2016, 11:27 PM
RE: A query on Graphics Syntax - Carlos295pz - 05-14-2016 12:01 AM



User(s) browsing this thread: 2 Guest(s)