PCE version 4C man_modulenamespaceid_tablemodified current_idOIxN class/bitmapN referenceC hash_tablerefersizeOIxNbothI sNM.bitmap.S.loadCman_method_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherit diagnosticsdefaultsbugsOIxNM.bitmap.S.loadRICdateOIx5}Q4NloadnCstringOIxÙLoad file in the associated image. XPCE searches for the file in the path described by the last argument. The default path is image.path. Backward compatibility only. New code should manipulate the image directly.CchainsizeOIxIeNM.bitmap.S.saveXnOIx2Fails silently on bad format or non-existing file.OIxœThe default search path is determined by the resource `Bitmap.path'. Its system defined value is .:~/lib/bitmaps:$PCEHOME/bitmaps:/usr/include/X11/bitmapsnsNV.bitmap.imageCman_variable_card identifiermodule last_modifiednamesummary descriptionsee_alsoinheritdefaultsOI xNV.bitmap.imageRIOI x)©JãNimagenOI x*The image that contains the actual pixels.nnnsNM.bitmap.S.initialiseOI xNM.bitmap.S.initialiseRIOI x<¼sN initialisenOIxþCreate a bitmap for the given image object. The bitmap will be given the same <-width and <-height as the image. Note that images are automatically converted from names (see `image->initialise'). Thus, the following displays XPCE's icon on a picture window: ?- send(new(P, picture), open), send(P, display, bitmap('16x16/pce.xpm'), point(25, 25)). By default, image objects are cached (i.e. remain in memory). If you have many or large ones, please study `image->initialise' and `image->load'.nnnnnsNM.bitmap.S.geometryOIxNM.bitmap.S.geometryRIOIx,D îNgeometrynOIxOJust moves the bitmap. In the current implementation bitmaps cannot be scaled.nnnnnsNM.bitmap.G.containsOIxNM.bitmap.G.containsRIOIx,D!NcontainsnOIx*Return a new chain object holding <-image.nnnnnsNM.bitmap.S.transparentOIxNM.bitmap.S.transparentRIOIx2?ü>N transparentnOIxŠWhen @on, 0-pixels are not painted. ->transparent is only useful for monochrome (`image ->kind' bitmap) images. See also `image ->mask'.nnnnnsNM.bitmap.G.convertOIxNM.bitmap.G.convertRIOIx,D 6NconvertnOIxí`Bitmap <-convert' converts text of the form # @Reference Succeeds if @Reference is an existing named reference to an image object. # File basename Succeeds if `image <-convert' succeeds and returns a new bitmap from this image.OIxIeNM.bitmap.G.clipXnnnnsNM.bitmap.S.imageOIxNM.bitmap.S.imageRIOIx)©KŽNimagenOIx$Associate an image with a bitmap. Sets the width and height of the bitmap to the width and height of the image. If the image has <->access `both' and <->bitmap @nil, the <->bitmap variable of the image is filled with the bitmap. Subsequent changes to the image are forwarded to the bitmap.OIxIEN$class/image$V.image.bitmapXnnnnsNC.bitmapCman_class_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherituser_interfacebugsOI xNC.bitmapRIOI!x.ñˆ†NbitmapnOI"xüA bitmap is a graphical that displays an image. Most of the behaviour to manipulate the pixels of a bitmaps thus can be found with class image. Bitmaps (images) come in two flavours. If `image <-kind' = bitmap, the elements of the bitmap are regarded as booleans. Boolean true (@on) is displayed in the <-colour of the bitmap and Boolean false (@off) is displayed in the current background or not painted if <-transparent equals @on. If `image <-kind' is pixmap each individual pixel represents a colour.OI#xIeN$class/image$C.imageENV.bitmap.statusXnnOI$x»Stencils are not implemented. A bitmap always paints all the pixels inside it's area. Support for partly transparent bitmaps should be provided. There are no means for scaling bitmaps.XaCnumber O I%xx