Jump to content

User contributions for Iturbide

A user with 606 edits. Account created on 31 March 2025.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

6 April 2025

  • 22:1222:12, 6 April 2025 diff hist +1,539 N GpiQueryAttrMode Created page with "This function returns the current value of the attribute mode, as set by GpiSetAttrMode. ==Syntax== GpiQueryAttrMode(hps) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ==Return Value== ; lMode (LONG) - returns : Current attribute mode. : This parameter can have one of the following values: :; >=0 :: Current attribute mode :; AM_ERROR :: Error. ==Errors== Possible returns from WinGetLastError: ; PMERR_INV_HPS (0x207F) : An invalid presen..." current
  • 22:1122:11, 6 April 2025 diff hist +40 GPI Functions Primitive Attribute/Tag
  • 22:0622:06, 6 April 2025 diff hist +3,596 N GpiSetRegion Created page with "This function changes a region to be the logical-OR of a set of rectangles. ==Syntax== GpiSetRegion(hps, hrgn, lcount, arclRectangles) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The region must be owned by the device identified by the currently associated device context. ; hrgn (HRGN) - input : Region handle. ; lcount (LONG) - input : Count of rectangles. : This is the number of rectangles specified in arclRectangles. If lcount = 0..." current
  • 22:0522:05, 6 April 2025 diff hist +2,569 N GpiRectInRegion Created page with "This function checks whether any part of a rectangle lies within the specified region. ==Syntax== GpiRectInRegion(hps, hrgn, prclRect) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The region must be owned by the device identified by the currently associated device context. ; hrgn (HRGN) - input : Region handle. ; prclRect (PRECTL) - input : Test rectangle. : The rectangle is specified in device coordinates. ==Return Value== ; lInsid..." current
  • 22:0422:04, 6 April 2025 diff hist +2,678 N GpiQueryRegionBox Created page with "This function checks whether a point lies within a region. ==Syntax== GpiPtInRegion(hps, hrgn, pptlPoint) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The region must be owned by the device identified by the currently associated device context. ; hrgn (HRGN) - input : Region handle. ; pptlPoint (PPOINTL) - input : Point to be checked. : The point is in device coordinates. ==Return Value== ; lInside (LONG) - returns : Inside and..."
  • 22:0422:04, 6 April 2025 diff hist +2,678 N GpiPtInRegion Created page with "This function checks whether a point lies within a region. ==Syntax== GpiPtInRegion(hps, hrgn, pptlPoint) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The region must be owned by the device identified by the currently associated device context. ; hrgn (HRGN) - input : Region handle. ; pptlPoint (PPOINTL) - input : Point to be checked. : The point is in device coordinates. ==Return Value== ; lInside (LONG) - returns : Inside and..." current
  • 22:0322:03, 6 April 2025 diff hist +2,959 N GpiPaintRegion Created page with "This function paints a region into a presentation space, using the current pattern attributes. ==Syntax== GpiPaintRegion(hps, hrgn) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; hrgn (HRGN) - input : Region handle. ==Return Value== ; lHits (LONG) - returns : Correlation and error indicators. :; GPI_OK :: Successful :; GPI_HITS :: Correlate hits :; GPI_ERROR :: Error. ==Remarks== The current GPI area foreground and background colors a..." current
  • 22:0222:02, 6 April 2025 diff hist +2,521 N GpiOffsetRegion Created page with "This function moves a region. ==Syntax== GpiOffsetRegion(hps, Hrgn, pptlOffset) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The region must be owned by the device identified by the currently associated device context. ; Hrgn (HRGN) - input : Handle of the region to be moved. ; pptlOffset (PPOINTL) - input : Offset to be added to the region boundary. ==Return Value== ; rc (BOOL) - returns : Success indicator. :; TRUE :: Successf..." current
  • 22:0122:01, 6 April 2025 diff hist +2,753 N GpiEqualRegion Created page with "This function checks whether two regions are identical. ==Syntax== GpiEqualRegion(hps, hrgnSrc1, hrgnSrc2) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The regions must be owned by the device identified by the currently associated device context. ; hrgnSrc1 (HRGN) - input : Handle of first region. ; hrgnSrc2 (HRGN) - input : Handle of second region. ==Return Value== ; lEquality (LONG) - returns : Equality and error indicators. :..." current
  • 22:0122:01, 6 April 2025 diff hist +3,464 N GpiCombineRegion Created page with "This function combines two regions. ==Syntax== GpiCombineRegion(hps, hrgnDest, hrgnSrc1, hrgnSrc2, lMode) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The regions must be owned by the device identified by the currently associated device context. ; hrgnDest (HRGN) - input : Handle of destination. ; hrgnSrc1 (HRGN) - input : Handle of first source region. ; hrgnSrc2 (HRGN) - input : Handle of second source region. ; lMode (LONG..." current
  • 21:5921:59, 6 April 2025 diff hist +2,391 N GpiDestroyRegion Created page with "This function destroys a region. ==Syntax== GpiDestroyRegion(hps, hrgn) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The region must be owned by the device identified by the currently associated device context. ; hrgn (HRGN) - input : Handle of region to be destroyed. : If this is NULLHANDLE, the call takes no action, and completes without error. ==Return Value== ; rc (BOOL) - returns : Success indicator. :; TRUE :: Successful comple..." current
  • 21:5821:58, 6 April 2025 diff hist +3,170 N GpiCreateRegion Created page with "This function creates a region, for a particular class of device, using a series of rectangles. ==Syntax== GpiCreateRegion(hps, lCount, arclRectangles) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : A region suitable for use with the currently associated device is created. ; lCount (LONG) - input : The number of rectangles. : The number specified in arclRectangles. If lCount is 0, an empty region is created, and arclRectangles is ignored...." current
  • 21:5721:57, 6 April 2025 diff hist +3,357 N GpiSetClipRegion Created page with "This function defines the region to be used for clipping, when any drawing takes place through the specified presentation space. ==Syntax== GpiSetClipRegion(hps, hrgn, phrgnOld) ==Parameters== ; hps (HPS) - input : Presentation-space handle. : The presentation space must be currently associated with a device context of the correct device class (defined when the region is first created). ; hrgn (HRGN) - input : Region handle. : If hrgn is null, the clipping re..." current
  • 21:5621:56, 6 April 2025 diff hist +2,340 N GpiRectVisible Created page with "This function checks whether any part of a rectangle lies within the clipping region of the device associated with the specified presentation space. ==Syntax== GpiRectVisible(hps, prclRectangle) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; prclRectangle (PRECTL) - input : Test rectangle, in world coordinates. : Points on the borders of the rectangle are considered to be included within the rectangle. ==Return Value== ; lVisibility (LON..." current
  • 21:5521:55, 6 April 2025 diff hist +1,250 N GpiQueryClipRegion Created page with "This function returns the handle of the currently selected clip region. ==Syntax== GpiQueryClipRegion(hps) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ==Return Value== ; hrgn (HRGN) - returns : Clip-region handle (if any). :; NULLHANDLE :: Null handle (no region is selected) :; HRGN_ERROR :: Error :; Otherwise :: Clip region handle. ==Remarks== If there is no currently selected clip region, a null handle is returned. ==Errors== Possible..." current
  • 21:5421:54, 6 April 2025 diff hist +2,565 N GpiQueryClipBox Created page with "This function returns the dimensions of the tightest rectangle which completely encloses the intersection of all the clipping definitions. ==Syntax== GpiQueryClipBox(hps, prclBound) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; prclBound (PRECTL) - output : Bounding rectangle. : The coordinates of the bounding rectangle, in world coordinates. ==Return Value== ; lComplexity (LONG) - returns : Complexity and error indicators. :; RGN_NUL..." current
  • 21:5321:53, 6 April 2025 diff hist +2,026 N GpiPtVisible Created page with "This function checks whether a point is visible within the clipping region of the device associated with the specified presentation space. ==Syntax== GpiPtVisible(hps, pptlPoint) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; pptlPoint (PPOINTL) - input : Point to be checked. : The point is given in world coordinates. ==Return Value== ; lVisibility (LONG) - returns : Visibility indicator. :; PVIS_INVISIBLE :: Not visible :; PVIS_VISIBL..." current
  • 21:5321:53, 6 April 2025 diff hist +2,291 N GpiOffsetClipRegion Created page with "This function moves the clipping region by the specified displacement. ==Syntax== GpiOffsetClipRegion(hps, pptlPoint) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; pptlPoint (PPOINTL) - input : Displacement. : The displacement by which the clipping region is to be moved, expressed as an offset in world coordinates. ==Return Value== ; lComplexity (LONG) - returns : Complexity of clipping and error indicators. : The clipping complexity..." current
  • 21:5221:52, 6 April 2025 diff hist +2,932 N GpiIntersectClipRectangle Created page with "This function sets the new clip region to the intersection of the current clip region and the specified rectangle. ==Syntax== GpiIntersectClipRectangle(hps, prclRectangle) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; prclRectangle (PRECTL) - input : prclRectangle, the coordinates of which are world coordinates. ==Return Value== ; lComplexity (LONG) - returns : Complexity of clipping and error indicators. : The clipping complexity inf..." current
  • 21:5021:50, 6 April 2025 diff hist +2,739 N GpiExcludeClipRectangle Created page with "This function excludes a rectangle from the clipping region. ==Syntax== GpiExcludeClipRectangle(hps, prclRectangle) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; prclRectangle (PRECTL) - input : Rectangle to be excluded. : The coordinates are world coordinates. ==Return Value== ; lComplexity (LONG) - returns : Complexity of clipping and error indicators. : The clipping complexity information includes the combined effects of: : * Clip..." current
  • 21:5021:50, 6 April 2025 diff hist +36 GPI Functions Clipping
  • 21:4921:49, 6 April 2025 diff hist −1 GPI Functions No edit summary
  • 21:4821:48, 6 April 2025 diff hist +4,792 N GpiSetTextAlignment Created page with "This function determines the alignment used to position the characters in a string. ==Syntax== GpiSetTextAlignment(hps, lHoriz, lVert) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; lHoriz (LONG) - input : Horizontal alignment. : This parameter and the next one (lVert) specify the alignment of character strings horizontally and vertically. Together they define a reference point within the string that is positioned on the starting point spec..." current
  • 21:4721:47, 6 April 2025 diff hist +2,006 N GpiQueryTextAlignment Created page with "This function returns the current value of the text alignment attribute, as set by the GpiSetTextAlignment function. ==Syntax== GpiQueryTextAlignment(hps, plHoriz, plVert) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; plHoriz (PLONG) - output : Horizontal alignment. : The horizontal alignment determines character positioning in a text string. The value returned will be one of those described under the GpiSetTextAlignment function...." current
  • 21:4621:46, 6 April 2025 diff hist +1,756 N GpiQueryCharSet Created page with "GpiQueryCharSet - Syntax This function returns the character-set local identifier (lcid), as set by the GpiSetCharSet function. ==Syntax== GpiQueryCharSet(hps) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ==Return Value== ; lLcid (LONG) - returns : Character-set local identifier. :; LCID_DEFAULT :: Default :; >0 :: Local identifier :; LCID_ERROR :: Error. ==Remarks== This function is invalid when the drawing mode (see GpiSetDrawingMo..." current
  • 21:4221:42, 6 April 2025 diff hist +1,673 N GpiQueryCharExtra Created page with "This function returns the current value of the character-extra attribute, as set by the GpiSetCharExtra function. ==Syntax== GpiQueryCharExtra(hps, Extra) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; Extra (PFIXED) - output : Character-extra attribute value. ==Return Value== ; rc (BOOL) - returns : Success indicator. :; TRUE :: Successful completion :; FALSE :: Error occurred. ==Remarks== This function is invalid when the drawin..." current
  • 21:4121:41, 6 April 2025 diff hist +1,797 N GpiQueryCharDirection Created page with "This function returns the current value of the character-direction attribute, as set by the GpiSetCharDirection function. ==Syntax== GpiQueryCharDirection(hps, pDirection) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; pDirection (PLONG) - output : Character-direction attribute value. ==Return Value== ; rc (BOOL) - returns : Success indicator. :; TRUE :: Successful completion :; FALSE :: Error occurred. ==Remarks== This function i..." current
  • 21:3921:39, 6 April 2025 diff hist +1,772 N GpiQueryCharBreakExtra Created page with "This function returns the current value of the character-break-extra attribute, as set by the GpiSetCharBreakExtra function. ==Syntax== GpiQueryCharBreakExtra(hps, BreakExtra) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; BreakExtra (PFIXED) - output : Character-break-extra attribute value. ==Return Value== ; rc (BOOL) - returns : Success indicator. :; TRUE :: Successful completion :; FALSE :: Error occurred. ==Remarks== This fun..." current
  • 21:3921:39, 6 April 2025 diff hist +92 GPI Functions Character/Text
  • 21:3721:37, 6 April 2025 diff hist +3,015 N GpiSetCharExtra Created page with "This function specifies an extra increment to be used for spacing characters in a string. ==Syntax== GpiSetCharExtra(hps, Extra) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; Extra (FIXED) - input : Character-extra value. : The value can be negative, 0, or positive: :; A negative value forces the characters closer together. :; A value of 0 results in normal spacing. :; A positive value forces the characters further apart. : The value is in..." current
  • 21:3521:35, 6 April 2025 diff hist +2 GpiSetCharBreakExtra Remarks current
  • 21:3421:34, 6 April 2025 diff hist +3,314 N GpiSetCharBreakExtra Created page with "This function specifies an extra increment to be used for spacing break characters in a string. ==Syntax== GpiSetCharBreakExtra(hps, BreakExtra) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; BreakExtra (FIXED) - input : Character-break-extra value. : The value can be negative, 0, or positive: :; A negative value reduces the effective width of break characters. :; A value of 0 results in normal spacing. :; A positive value increases the effe..."
  • 21:3321:33, 6 April 2025 diff hist +5,191 N GpiQuerySetIds Created page with "This function returns information about all the fonts that have been created by GpiCreateLogFont, and tagged bit maps (see GpiSetBitmapId). ==Syntax== GpiQuerySetIds(hps, lCount, alTypes, aNames, allcids) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; lCount (LONG) - input : The number of objects to be queried. : The number of local identifiers (lcids) currently in use, and therefore the maximum number of objects for which informati..." current
  • 21:3221:32, 6 April 2025 diff hist +1,796 N GpiUnloadFonts Created page with "This function unloads any fonts previously loaded from the resource file by GpiLoadFonts. ==Syntax== GpiUnloadFonts(hab, pszFilename) ==Parameters== ; hab (HAB) - input : Anchor-block handle. ; pszFilename (PSZ) - input : Fully qualified file name of the font resource. : The file name extension is .FON ==Return Value== ; rc (BOOL) - returns : Success indicator. :; TRUE :: Successful completion :; FALSE :: Error occurred. ==Remarks== Before issuing t..." current
  • 21:3221:32, 6 April 2025 diff hist +2,308 N GpiQueryWidthTable Created page with "This function returns width table information for the logical font identified by the value of the character-set attribute. ==Syntax== GpiQueryWidthTable(hps, lFirstChar, lCount, alData) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; lFirstChar (LONG) - input : Codepoint of first character. : The codepoint of the initial character, for which width-table information is required. ; lCount (LONG) - input : Count of elements in alData. : Th..." current
  • 21:3121:31, 6 April 2025 diff hist +1,358 N GpiQueryNumberSetIds Created page with "This function returns the number of local identifiers (lcids) currently in use, referring to fonts or bit maps. ==Syntax== GpiQueryNumberSetIds(hps) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ==Return Value== ; lCount (LONG) - returns : Number of lcids. :; >=0 :: Number of lcids in use :; GPI_ALTERROR :: Error. ==Remarks== LCID_DEFAULT is included if the default font has been changed (see GpiCreateLogFont). The information returned b..." current
  • 21:3021:30, 6 April 2025 diff hist +4,980 N GpiQueryFonts Created page with "This function returns a record providing details of the fonts that match the specified pszFacename. ==Syntax== GpiQueryFonts(hps, flOptions, pszFacename, plReqFonts, lMetricsLength, afmMetrics) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; flOptions (ULONG) - input : Enumeration options. : This controls which fonts are to be enumerated. If more than one of the following options are required, the values can be ORed together. :; QF_PUBLIC ::..." current
  • 21:3021:30, 6 April 2025 diff hist +2,448 N GpiQueryFontMetrics Created page with "This function returns a record providing details of the font metrics for the logical font that is currently selected. ==Syntax== GpiQueryFontMetrics(hps, lMetricsLength, pfmMetrics) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; lMetricsLength (LONG) - input : Length of metrics. : It must be greater or equal to 0. ; pfmMetrics (PFONTMETRICS) - output : Metrics of font. : In this buffer are returned the font metrics of the logical font,..." current
  • 21:2921:29, 6 April 2025 diff hist +2,454 N GpiLoadFonts Created page with "This function loads one or more fonts from the specified resource file. ==Syntax== GpiLoadFonts(hab, pszFilename) ==Parameters== ; hab (HAB) - input : Anchor-block handle. ; pszFilename (PSZ) - input : Filename. : This is the fully-qualified name of the font resource. ==Return Value== ; rc (BOOL) - returns : Success indicator. :; TRUE :: Successful completion :; FALSE :: Error occurred. ==Remarks== All of the fonts in the file become available for any p..." current
  • 21:2821:28, 6 April 2025 diff hist +3,164 N GpiDeleteSetId Created page with "This function deletes a logical font or bit-map tag. ==Syntax== GpiDeleteSetId(hps, lLcid) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; lLcid (LONG) - input : Local identifier. : The local identifier (lcid) for the object. It must be in the range of 0 through 254. : If LCID_ALL is specified, all logical fonts are deleted, and all bit-map tagging is removed. If LCID_DEFAULT or LCID_ALL is specified, the original default font is restored if..." current
  • 21:2721:27, 6 April 2025 diff hist 0 N File:GpiQueryTextBox aptlPoints.png No edit summary current
  • 21:2721:27, 6 April 2025 diff hist +5,337 N GpiQueryTextBox Created page with "This function returns the relative coordinates of the four corners of a text box. ==Syntax== GpiQueryTextBox(hps, lCount1, pchString, lCount2, aptlPoints) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; lCount1 (LONG) - input : Number of characters. : It must be greater or equal to 0 and less or equal to 512 ; pchString (PCH) - input : The character string. ; lCount2 (LONG) - input : Number of points. : Contains the number of point..." current
  • 21:2521:25, 6 April 2025 diff hist +1,711 N GpiQueryCharMode Created page with "This function returns the current value of the character-mode attribute, as set by the GpiSetCharMode function. ==Syntax== GpiQueryCharMode(hps) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ==Return Value== ; lMode (LONG) - returns : Character mode. :; CM_DEFAULT :: Default :; >0 :: Character mode :; CM_ERROR :: Error. ==Remarks== This function is invalid when the drawing mode (see GpiSetDrawingMode) is set to retain. ==Errors== P..." current
  • 21:2421:24, 6 April 2025 diff hist +2,557 N GpiQueryCharBox Created page with "This function returns the current value of the character box attribute, as set by the GpiSetCharBox function. ==Syntax== GpiQueryCharBox(hps, psizfxSize) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; psizfxSize (PSIZEF) - output : Character-box size. : If the character box is currently set to the default, the default size is returned. This is the size returned by DevQueryCaps (CAPS_GRAPHICS_CHAR_WIDTH and CAPS_GRAPHICS_CHAR_HEIGHT), co..." current
  • 21:2321:23, 6 April 2025 diff hist +8,347 N GpiCreateLogFont Created page with "This function provides a logical definition of a font. ==Syntax== GpiCreateLogFont(hps, pName, lLcid, pfatAttrs) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; pName (PSTR8) - input : Logical font name. : An 8-character name that can be used to describe the logical font. Its principal use is in interchange files, where it can help to identify the required font. If no interchange files are to be used, it can be null. For example, it can refe..." current
  • 21:2221:22, 6 April 2025 diff hist +2,214 N GpiQueryCharShear Created page with "This function returns the value of the current character-shear angle, as set by the GpiSetCharShear function. ==Syntax== GpiQueryCharShear(hps, pptlShear) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; pptlShear (PPOINTL) - output : Character shear. : A point, relative to (0,0), that defines the character shear vector. : If the character shear is currently set to the default, (0,1) is returned. ==Return Value== ; rc (BOOL) - return..." current
  • 21:2121:21, 6 April 2025 diff hist 0 N File:GpiSetCharShear Remarks.png No edit summary current
  • 21:2121:21, 6 April 2025 diff hist +4,334 N GpiSetCharShear Created page with "This function sets the character-shear attribute. ==Syntax== GpiSetCharShear(hps, pptlAngle) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; pptlAngle (PPOINTL) - input : Character shear vector. : With reference to the figure in the Notes, the shear angle is defined in terms of the relative coordinates of the point pptlAngle. (x, y). : If x is 0 and y is 1 (initial default), "upright" characters result. If x and y are both positive or both n..." current
  • 21:1921:19, 6 April 2025 diff hist +77 GpiSetCharMode Remarks current
  • 21:1621:16, 6 April 2025 diff hist +4,591 N GpiSetCharMode Created page with "This function controls the character mode used when drawing a character string. ==Syntax== GpiSetCharMode(hps, lMode) ==Parameters== ; hps (HPS) - input : Presentation-space handle. ; lMode (LONG) - input : Character mode. : This parameter can have one of the following values: :; CM_DEFAULT :: The default; the same as CM_MODE1 (unless changed with GpiSetDefAttrs). :; CM_MODE1 :: The font selected by means of GpiSetCharSet can be either a raster font o..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)