erge branch 'master' of http://git.nakadashi.lol/akko/diffvg
This commit is contained in:
13
color.h
13
color.h
@@ -7,7 +7,8 @@
|
||||
enum class ColorType {
|
||||
Constant,
|
||||
LinearGradient,
|
||||
RadialGradient
|
||||
RadialGradient,
|
||||
PatchGradient
|
||||
};
|
||||
|
||||
struct Constant {
|
||||
@@ -61,3 +62,13 @@ struct RadialGradient {
|
||||
float *stop_offsets;
|
||||
float *stop_colors; // rgba
|
||||
};
|
||||
|
||||
/*
|
||||
struct PatchGradient {
|
||||
PatchGradient(const Vector2f &topLeft,
|
||||
const Vector2f &topRight,
|
||||
const Vector2f &bottomLeft,
|
||||
const Vector2f &bottomRight,
|
||||
const )
|
||||
}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user