mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
common render: code refactoring.
correct wrong coding convention.
This commit is contained in:
parent
2f334f3300
commit
98e542e2f6
1 changed files with 4 additions and 2 deletions
|
@ -41,12 +41,14 @@ struct Surface
|
||||||
|
|
||||||
using RenderData = void*;
|
using RenderData = void*;
|
||||||
|
|
||||||
struct Compositor {
|
struct Compositor
|
||||||
|
{
|
||||||
CompositeMethod method;
|
CompositeMethod method;
|
||||||
uint32_t opacity;
|
uint32_t opacity;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RenderRegion {
|
struct RenderRegion
|
||||||
|
{
|
||||||
uint32_t x, y, w, h;
|
uint32_t x, y, w, h;
|
||||||
|
|
||||||
void intersect(const RenderRegion& rhs)
|
void intersect(const RenderRegion& rhs)
|
||||||
|
|
Loading…
Add table
Reference in a new issue