πano

crimsonpi.egloos.com

포토로그



classes by πano

class BEImage    :    Save properties about single image which would be drawn on the screen.
float m_x   :   screen position of x
float m_y   :   screen position of y
float m_scale   :   variation from original image size. Range is (0, +INF.). 1.0 indicate original size.
m_rotate_z   :   The angle of rotation by z-axis.(It is not defined now that positive value means clockwise or not. Also it might be degree scale or radian scale.)
bool m_is_show   :   Determine would the image be drawn or hided.

class BEDrawList   :   A sorted list of BEImage instances. The first element of the list will be drawn first(assume m_is_show is true), while the last element will be drawn lastly. (It is currently inherits vector<BEImage> by public. vector can be changed list, queue or somoething lately)
BEScript   :   Script Manager
unsigned long m_instruction_position    :   Indicate currently running position of script. Its concpet is similar to PC(program counter) in machine language.
BEDrawList m_draw_list   :   A list or set of all images that would be drawn during runtime of the script.(It is not show the class diagram yet)

BEScriptStack   :   A stack that to implement function call(call another script).

덧글

댓글 입력 영역