processing / processing/processing-website
beginRaw and endRaw example code does not work
未关闭
还没有人认领这个 Issue。
- 主要语言
- MDX
- 星标
- 90
- 派生
- 122
- 平均合并
- 1 小时 43 分钟
- 30 天内合并 PR
- 3
描述
Issue description
The example code for beginRaw and endRaw does not work. Those functions are not available for the default renderer.
I'm happy to make a PR for this but someone needs to tell me which file to edit. Is the reference documentation generated from XML files or is that old code and data?
URL(s) of affected page(s)
https://processing.org/reference/beginRaw_.html
https://processing.org/reference/endRaw_.html
Proposed fix
Add P2D to the setup() function like this:
void setup() {
size(400, 400, P2D);
beginRaw(PDF, "raw.pdf");
}
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从受影响的参考页面 beginRaw_.html 和 endRaw_.html 开始,追溯到这些页面示例的源文件。确认 Processing 网站如何存储参考文档,然后更新这两个示例以包含 P2D,并验证显示的代码与提议的可用设置相匹配。
由索引模型根据 Issue 内容生成。
评估
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100