如何将 PDF 文件传递​​给 GlSurfaceView 并渲染它?

发布于 2024-12-25 04:25:56 字数 136 浏览 5 评论 0原文

我是 android 中 openGlSurfaceView 的新手。我想将 PDF 文件传递​​到此表面视图。我还想为 PDF 文件添加放大/缩小选项。正如我遇到的,绘制三角形及其 3D 视图,仅给出旋转。任何人都可以帮我做这件事吗?有这方面的具体教程吗?

I am new to openGlSurfaceView in android. I want to pass a PDF file to this surface view. Also I want to include a zoom in/out option for the PDF file. As I came across, drawing triangle and its 3D view, rotation only given. Can any one help me in doing this? Is there any specific tutorial for this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

财迷小姐 2025-01-01 04:25:56

要渲染 PDF 文件,您需要一个 PDF 库。例如 Poppler 就是一个开源的。这不像渲染位图那样简单。

To render a PDF file you need a PDF library. For example Poppler is an open source one. It's not a straightforward thing, like rendering a bitmap.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文