From: Masahiro S. ()
<sa...@to...> - 2007-07-14 15:45:27
|
酒井です。 現在、Atk::TextRange は ATk::TextRectangle のサブクラスとして実装されて いますが、この両者が is a の関係とは思えないので、これは変ではないでしょ うか? /** * AtkTextRectangle: * @x: The horizontal coordinate of a rectangle * @y: The vertical coordinate of a rectangle * @width: The width of a rectangle * @height: The height of a rectangle * * A structure used to store a rectangle used by AtkText. **/ typedef struct _AtkTextRectangle AtkTextRectangle; struct _AtkTextRectangle { gint x; gint y; gint width; gint height; }; /** * AtkTextRange: * @bounds: A rectangle giving the bounds of the text range * @start_offset: The start offset of a AtkTextRange * @end_offset: The end offset of a AtkTextRange * @content: The text in the text range * * A structure used to describe a text range. **/ typedef struct _AtkTextRange AtkTextRange; struct _AtkTextRange { AtkTextRectangle bounds; gint start_offset; gint end_offset; gchar* content; }; -- 酒井 政裕 / Masahiro Sakai |