Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:vi10extractdimension [2017/03/21 17:57] – created qem103 | en:software:qview:qview_6:qcl_library:vi10extractdimension [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VI10ExtractDimension ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **I = **//Image// | ||
+ | |||
+ | Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions). | ||
+ | |||
+ | The VI10ExtractDimension function allows to extract from the Buffer instructions, | ||
+ | This function of the always run after a [[.: | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VI10ExtractDimension (awBuffer, awWidth, awHeight)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS /\\ ARRGBL | ||
+ | | OUT | GLOBAL | ||
+ | | OUT | GLOBAL | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | //TASK_00// | ||
+ | <code QCl> | ||
+ | MAIN: | ||
+ | VI10InitBuffer(awBuffer) | ||
+ | VI10GetDimension(awBuffer) | ||
+ | VI10DrawBuffer(awBuffer) | ||
+ | VI11WaitBufferReadyUsingWAIT(awBuffer) | ||
+ | VI10ExtractDimension(awBuffer, | ||
+ | VI10InitBuffer(awBuffer) | ||
+ | END | ||
+ | </ | ||
+ | |||
+ | === Note === | ||
+ | * Before the command ExtractDimension you must have execute the [[.: | ||
+ | * After you execute the **ExtractDimension** command You must reinitialize the buffer with the [[.: | ||