アプリを作る際に作成した、xcf.txtの日本語訳です。目次及び使用上の注意はこちら
5. THE CHANNEL STRUCTURE ========================
[この章はあまり訳していません]
Channel structures are pointed to from layer structures (in case of layer masks) or from the master image structure (for all other channels).
channel structureは、layer structure内のpointer(layer maskの場合)または、master image structure内の(layer mask以外の場合)pointerによって位置が示されています。
uint32 width The width of the channel uint32 height The height of the channel string name The name of the channel property-list Layer properties (see below) uint32 hptr Pointer to the hierarchy structure containing the pixels
The with and height of the channel must be the same as those of its parent structure (the layer in the case of layer masks; the canvas for all other channels).
channelの高さと幅は、親となるstructure(layer maskの場合はそのlayer・それ以外の場合はcanvas)と同じでなければなりません。
Channel properties ------------------
The following properties are found only in the property list of channel structures. In addition to these, the list can also contain the properties PROP_OPACITY, PROP_VISIBLE, PROP_LINKED, PROP_TATTOO, PROP_PARASITES, and PROP_END, defined in section 8 below.
以下で解説するpropertyは、channel structureにしか登場しません。加えて、channel structureはPROP_OPACITY, PROP_VISIBLE, PROP_LINKED, PROP_TATTOO,PROP_PARASITES, PROP_ENDを含むことができます。それらについてはsection 8で述べます。
PROP_ACTIVE_CHANNEL (editing state) uint32 3 The type number for PROP_ACTIVE_CHANNEL is 3 uint32 0 PROP_ACTIVE_CHANNEL has no payload
Appears in the property list for the currently active channel.
現在アクティブなchannelにこのpropertyが設定されます。
PROP_SELECTION (editing state?) uint32 4 The type number for PROP_SELECTION is 4 uint32 0 PROP_SELECTION has no payload
Appears in the property list for the channel structure that represents the selection mask.
[未訳:原文を見てください]
PROP_SHOW_MASKED (editing state) uint32 14 The type number for PROP_SHOW_MASKED is 14 uint32 4 Four bytes of payload uint32 b 1 if the channel is shown as a mask, 0 if not
Appears in the property list for channels.
[未訳:原文を見てください]
PROP_COLOR uint32 16 The type number for PROP_COLOR is 16 uint32 3 Three bytes of payload byte r Red component of color byte g Green component of color byte b Blue component of color
Appears in the property list for channels and gives the color of the screen that is used to represent the channel when it is visible in the UI. (The alpha of the screen is given as the channel's PROP_OPACITY).
[未訳:原文を見てください]
0 件のコメント:
コメントを投稿