no way to compare when less than two revisions
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
— | software:qview:qview_6:qcl_library:vi10setbackground [2019/08/29 17:01] (versione attuale) – creata - modifica esterna 127.0.0.1 | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
+ | ====== VI10SetBackground ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **I = **//Image// | ||
+ | |||
+ | Funzione utilizzata per la gestione della funzionalità Vector Image (oggetto presente su alcune versioni di Qpaint). | ||
+ | |||
+ | La funzione VI10SetBackground __aggiunge il comando background in coda alle istruzioni da processare nel Buffer per eseguire il disegno__.\\ | ||
+ | Il comando background serve per impostare il colore di fondo dell' | ||
+ | Per impostare il colore di background vedi la __Tabella codici colore di QPaint__. | ||
+ | |||
+ | |||
+ | ===== IMPLEMENTAZIONE ===== | ||
+ | |||
+ | **VI10SetBackground (awBuffer, Color)** | ||
+ | |||
+ | Parametri: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS /\\ ARRGBL | ||
+ | | IN | CONST/\\ GLOBAL | ||
+ | |||
+ | === Esempio === | ||
+ | |||
+ | //TASK_00// | ||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | |||
+ | VI10InitBuffer (awBuffer) ; | ||
+ | |||
+ | Color = 0 ; | ||
+ | |||
+ | VI10SetBackground (awBuffer, Color) ; | ||
+ | |||
+ | .... | ||
+ | |||
+ | WAIT 1 | ||
+ | JUMP MAIN | ||
+ | |||
+ | END | ||
+ | </ | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | * Per default il colore del disegno è il bianco. | ||