图像格式(100分)

  • 主题发起人 主题发起人 mire
  • 开始时间 开始时间
M

mire

Unregistered / Unconfirmed
GUEST, unregistred user!
请问 TPicture,TGraphic,TBitmap有什么不同?(能否详细点?)[:)]
 
去看帮助不就可以了?
>TPicture:
TPicture contains a bitmap, icon, metafile graphic, or user-defined graphic.
TPicture is a TGraphic container, used to hold a graphic, the type of which is
specified in the Graphic property. It is used in place of a TGraphic if the graphic
can be of any TGraphic class.

>TGraphic:
TGraphic is the abstract base class type for objects such as icons, bitmaps, and
metafiles that can store and display visual images.
TGraphic is an abstract class that cannot be instantiated. Descendant graphics
objects override many of the methods of TGraphic to address the needs of their
particular file format and graphical characteristics. TGraphic also introduces
methods that work with TPicture objects and the Clipboard. Properties of TGraphic
provide information about the state and size of the graphic image.

>TBitmap:
TBitmap is an encapsulation of a Windows bitmap (HBITMAP), including its palette (HPALETTE).
TBitmap contains an internal image of the bitmap graphic and automatically
manages realization of the palette when drawn. A bitmap is a powerful graphics
object used to create, manipulate (scale, scroll, rotate, and paint), and store
images in memory and as files on a disk.
 
对,看帮助
 
[gold]程序员大本营99[/gold]就有所有的这些格式的稳当说明呀,难道你没有D版的??[:D]
 
英文不好的话,徐新华的书中就有,网上有下载。(忘了哪里了)。
 
接受答案了.
 
后退
顶部