On Sunday 29 April 2012 15:33:00 Pino Toscano wrote: > This has always been the case: Document does not asks for pixmaps on its > own, but it does on behalf of PixmapRequest's sent by the observers. > When a pixmap for a page is available, Document notifies the observers > about that and they will act accordingly. > Please also note that this part (observers) is not totally "public API", > especially (as already said) the public okularcore API is currently > taylored for generator plugins, not really for users of Document. > > > Again, when using only the okular core library this seems pointless. > > Given that this is the pixmap generation workflow, it is not pointless > at all.
Yes, I agree with you that it makes sense to use the observers, but observer header is not made public. I have reasoned from the point of view of someone trying to use okular core library as a backend. So, make public observer header and ensure some mechanism for pixmap manipulation. -- Bogdan _______________________________________________ Okular-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/okular-devel
