fix stroke preview zoom, implement dest pick on ppbr export

This commit is contained in:
2019-09-23 22:31:28 +02:00
parent cfdf428a9b
commit 4806a3e8f6
8 changed files with 38 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ public:
void stroke_draw_mix(const glm::vec2& bb_min, const glm::vec2& bb_sz);
// return rect {origin, size}
glm::vec4 stroke_draw_samples(std::array<vertex_t, 4>& P, Texture2D& blend_tex);
std::vector<StrokeFrame> stroke_draw_compute(Stroke& stroke) const;
std::vector<StrokeFrame> stroke_draw_compute(Stroke& stroke, float zoom) const;
void draw_stroke();
void draw_stroke_immediate();
Image render_to_image();