I am analyzing some Objective-C code and found the following:
CGContextDrawImage(bmContext, (CGRect){.origin.x = 0.0f, .origin.y = 0.0f, .size.width = _fullWidth, .size.height = height}, partialImg);
What is the purpose of {.origin.x = 0.0f, ...}
?
Is this an object being initialized or a dictionary?
thanks!