Lines Matching refs:gPdfRenderClass
43 static jclass gPdfRenderClass; variable
50 if (!gPdfRenderClass) return ERROR; in openDocument()
62 if (!gPdfRenderClass) return ERROR; in getPageAttributes()
79 if (!gPdfRenderClass) return ERROR; in renderPageStripe()
112 gPdfRenderClass = (*env)->NewGlobalRef(env, (*env)->FindClass(env, in pdf_render_init()
114 gPdfRenderOpenDocument = (*env)->GetMethodID(env, gPdfRenderClass, "openDocument", in pdf_render_init()
116 gPdfRenderGetPageSize = (*env)->GetMethodID(env, gPdfRenderClass, "getPageSize", in pdf_render_init()
118 gPdfRenderRenderPageStripe = (*env)->GetMethodID(env, gPdfRenderClass, "renderPageStripe", in pdf_render_init()
128 (*env)->DeleteGlobalRef(env, gPdfRenderClass); in pdf_render_deinit()
130 gPdfRenderClass = 0; in pdf_render_deinit()
161 jmethodID methodId = (*self->env)->GetStaticMethodID(self->env, gPdfRenderClass, "getInstance", in create_pdf_render_ifc()
163 jobject instance = (*self->env)->CallStaticObjectMethod(self->env, gPdfRenderClass, methodId, in create_pdf_render_ifc()