class PPictImage: public PImage

This class is used to represent a picture image.

Inheritance:


Public Methods

[more] PPictImage (PPictBase * obj = NULL)
Create a picture drawing.
[more] PPictImage ( PRESOURCE_ID resID )
Create a picture drawing, loading it from the applications resources.
[more] PPictImage ( PFile & dwg )
Create a picture drawing, reading the picture from the file in a platform specific format.


Inherited from PImage:


Inherited from PSmartPointer:

Public

Construction

Overrides from class PObject

Pointer access functions

Protected Fields

oPSmartObject* object


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

This class is used to represent a picture image. It works in conjuction with the PPictBase class using the "smart" pointer system.

A picture image is one for which a set of drawing commands is stored and rendered. This gives very low memory usage and the ability to scale the image to any size. However, complex images such as photographs are not representable by this format. The alternative is to use a PPixelImage which stores each pixel individually.

A common use for images is by the PMemoryCanvas class for drawing to off screen memory.

o PPictImage(PPictBase * obj = NULL)
Create a picture drawing. The picture image may then be drawn into via a PMemoryCanvas instance.

o PPictImage( PRESOURCE_ID resID )
Create a picture drawing, loading it from the applications resources. There is no platform independent way to create these resources but this function is provided if needed by an application and the author is willing to provide the resources manually.
Parameters:
resID - Unique identifier for picture image resource.

o PPictImage( PFile & dwg )
Create a picture drawing, reading the picture from the file in a platform specific format. For example, under MS-Windows this would read a ".WMF" file format.
Parameters:
dwg - File to read picture image from.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.