int MGL_EXPORT mgl_is_frames(HMGL gr) { return gr->get(MGL_VECT_FRAME) && !(gr->GetQuality()&MGL_DRAW_LMEM); }
int MGL_EXPORT mgl_get_quality(HMGL gr) { return gr->GetQuality(); }