开发者

What is CIVector's CIAttributeTypeRectangle?

开发者 https://www.devze.com 2023-04-10 20:35 出处:网络
I am using Apple\'s Core Image Filter reference. It references: \"A CIVector class whose attribute type is CIAttributeTypeRectangle and whose disp开发者_开发知识库lay name is Rectangle.\"

I am using Apple's Core Image Filter reference. It references: "A CIVector class whose attribute type is CIAttributeTypeRectangle and whose disp开发者_开发知识库lay name is Rectangle."

I can't find anything anywhere that tells me anything about "attribute type is CIAttributeTypeRectangle" and what "display name is Rectangle." means.

Apple's docs (look under the CICrop Section)


It should probably say kCIAttributeTypeRectangle rather than CIAttributeTypeRectangle. It refers to:

kCIAttributeTypeRectangle

A Core Image vector that specifies the x and y values of the rectangle origin, and the width (w) and height (h) of the rectangle. The vector takes the form [x, y, w, h]. (A 4-element vector type.)

See kCIAttributeTypeRectangle.

I believe whenever it talks about a "Display name", it's referring to the display name for that particular parameter in Quartz Composer.

0

精彩评论

暂无评论...
验证码 换一张
取 消