You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling the areas example with the latest fidget:
$ nim c areas
....
/home/jose/src/nimlang/fidget-master/src/fidget/opengl/context.nim(572, 10) Error: type mismatch: got <Image, Rect, float32, ColorRGBA, float32>
but expected one of:
proc strokeRoundedRect(image: Image; rect: Rect; nw, ne, se, sw: float32;
color: SomeColor; transform: Vec2 | Mat3 = vec2(0, 0);
strokeWidth = 1.0)
first type mismatch at position: 4
required type for ne: float32
but expression 'rgba(255, 255, 255, 255)' is of type: ColorRGBA
proc strokeRoundedRect(image: Image; rect: Rect; radius: float32;
color: SomeColor; transform: Vec2 | Mat3 = vec2(0, 0);
strokeWidth = 1.0)
first type mismatch at position: 5
required type for transform: Vec2 or Mat3
but expression 'weight' is of type: float32
3 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them
expression: strokeRoundedRect(image, rect(weight / 2, weight / 2, rect.w - weight,
rect.h - weight), radius,
rgba(255, 255, 255, 255), weight)
The text was updated successfully, but these errors were encountered:
Compiling the
areas
example with the latest fidget:The text was updated successfully, but these errors were encountered: