PCE version 4C man_modulenamespaceid_tablemodified current_idOIxN class/pointN referenceC hash_tablerefersizeOIxNbothI sN V.point.xCman_variable_card identifiermodule last_modifiednamesummary descriptionsee_alsoinheritdefaultsOIxN V.point.xRICdateOIx,{GlNxnCstringOIx[Coordinate of the point object. Most graphical objects interpret the value in pixel units.nnnsNM.point.S.initialiseCman_method_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherit diagnosticsdefaultsbugsOIxNM.point.S.initialiseRIOIx,};N initialisenOIxVCreate a point object from its <-x and <-y value. When a value is omitted, 0 is used.nnnnnsNM.point.G.distanceOI xNM.point.G.distanceRIOI x,{HNdistancenOI xDRounded integer reflecting the (pixel) distance between both points.nnnnnsNM.point.G.print_nameOI xNM.point.G.print_nameRIOI x,{IRN print_namenOIx!Printed representation as ,nnnnnsNM.point.G.differenceOIxNM.point.G.differenceRIOIx,};N differencenOIxNew point with <-x and <-y obtained by subtracting the receiver's coordinates from the argument (vector subtraction). See also <-distance and ->minus.nnnnnsNM.point.S.offsetOIxNM.point.S.offsetRIOIx,{HNoffsetnOIx.Add dx to <-x and dy to <-y. See also ->plus.nnnnnsNC.pointCman_class_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherituser_interfacebugsOIxNC.pointRIOIx,{GNpointnOIxA `point' describes a discrete position in an infinite two-dimensional plain. Points are used to describe positions when communicating with graphical objects. Note that the coordinate system used by PCE deals both with negative and positive coordinates.CchainsizeOIxIeN$class/size$C.sizeEN$class/area$C.areaXnnnsNM.point.S.equalOIxNM.point.S.equalRIOIx5ZNequalnOIxkSucceeds if <-x and <-y of both points are equal. See also `object ->equal' and `object ->same_reference'.nnnnnsN V.point.yOIxN V.point.yRIOIx,{G=NynnnOIxIEN V.point.xXnsNM.point.S.copyOIxNM.point.S.copyRIOI x>ONcopynOI!xLCopy x- and y values from the argument. See also <-copy, <-clone and ->set.nnnnnsNM.point.G.convertOI"xNM.point.G.convertRIOI#x5}UNconvertnOI$xConvert event to its position relative to its receiver using `event <-position' or a text of the form `, '. The latter is discouraged (backward compatibility).OI%xIEN$class/event$M.event.G.positionXnnnnsNM.point.G.copyOI&xNM.point.G.copyRIOI'x>>NcopynOI(xNew point with same <-x and <-y. The copy is created using the equivalent of the expression below. ?(P?class, instance, ?(P, slot, x), ?(P, slot, y)) See also ->copy.nnnnnXaCnumber O I)xx