Jump to content

GPI Functions: Difference between revisions

From EDM2
changed to this url.
 
 
(110 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Graphics Programming Interface ==
== Graphics Programming Interface ==
* [[GpiComment]]
For more information check [[Graphics Programming Interface]] (GPI).
* [[GpiCorrelateChain]]
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* [[GpiCorrelateFrom]]
*[[GpiComment]]
* [[GpiCorrelateSegment]]
*[[GpiCorrelateChain]]
* [[GpiLabel]]
*[[GpiCorrelateFrom]]
* [[GpiMove]]
*[[GpiCorrelateSegment]]
* [[GpiPop]]
*[[GpiLabel]]
* [[GpiQueryBoundaryData]]
*[[GpiMove]]
* [[GpiQueryCurrentPosition]]
*[[GpiPop]]
* [[GpiQueryDefViewingLimits]]
*[[GpiQueryBoundaryData]]
* [[GpiQueryGraphicsField]]
*[[GpiQueryCurrentPosition]]
* [[GpiQueryPageViewport]]
*[[GpiQueryDefViewingLimits]]
* [[GpiQueryPickAperturePosition]]
*[[GpiQueryGraphicsField]]
* [[GpiQueryPickApertureSize]]
*[[GpiQueryPageViewport]]
* [[GpiQueryViewingLimits]]
*[[GpiQueryPickAperturePosition]]
* [[GpiResetBoundary]]
*[[GpiQueryPickApertureSize]]
* [[GpiRotate]]
*[[GpiQueryViewingLimits]]
* [[GpiScale]]
*[[GpiResetBoundaryData]]
* [[GpiSetCurrentPosition]]
*[[GpiRotate]]
* [[GpiSetDefViewingLimits]]
*[[GpiScale]]
* [[GpiSetGraphicsField]]
*[[GpiSetCurrentPosition]]
* [[GpiSetPageViewport]]
*[[GpiSetDefViewingLimits]]
* [[GpiSetPickAperturePosition]]
*[[GpiSetGraphicsField]]
* [[GpiSetPickAperturnSize]]
*[[GpiSetPageViewport]]
* [[GpiSetViewingLimits]]
*[[GpiSetPickAperturePosition]]
* [[GpiStrokePath]]
*[[GpiSetPickApertureSize]]
* [[GpiTranslate]]
*[[GpiSetViewingLimits]]
* [[GpiWCBitBlt]]
*[[GpiStrokePath]]
*[[GpiTranslate]]
*[[GpiWCBitBlt]]


=== Area ===
=== Area ===
* [[GpiBeginArea]]
*[[GpiBeginArea]]
* [[GpiBox]]
*[[GpiBox]]
* [[GpiCloseFigure]]
*[[GpiCloseFigure]]
* [[GpiEndArea]]
*[[GpiEndArea]]
* [[GpiFloodFill]]
*[[GpiFloodFill]]
* [[GpiQueryPattern]]
*[[GpiQueryPattern]]
* [[GpiQueryPatternRefPoint]]
*[[GpiQueryPatternRefPoint]]
* [[GpiQueryPatternSet]]
*[[GpiQueryPatternSet]]
* [[GpiSetPattern]]
*[[GpiSetPattern]]
* [[GpiSetPatternRefPoint]]
*[[GpiSetPatternRefPoint]]
* [[GpiSetPatternSet]]
*[[GpiSetPatternSet]]
 
=== Bitmaps ===
=== Bitmaps ===
* [[GpiBitBlt]]
* [[GpiBitBlt]]
Line 58: Line 61:
* [[GpiSetBitmapDimension]]
* [[GpiSetBitmapDimension]]
* [[GpiSetBitmapId]]
* [[GpiSetBitmapId]]
=== Character/Text ===
=== Character/Text ===
* [[GpiCharString]]
*[[GpiCharString]]
* [[GpiCharStringAt]]
*[[GpiCharStringAt]]
* [[GpiCharStringPos]]
*[[GpiCharStringPos]]
* [[GpiCharStringPosAt]]
*[[GpiCharStringPosAt]]
* [[GpiQueryCharAngle]]
*[[GpiQueryCharAngle]]
* [[GpiQueryCharBox]]
*[[GpiQueryCharBox]]
* [[GpiQueryCharBreakExtra]]
*[[GpiQueryCharBreakExtra]]
* [[GpiQueryCharDirection]]
*[[GpiQueryCharDirection]]
* [[GpiQueryCharExtra]]
*[[GpiQueryCharExtra]]
* [[GpiQueryCharMode]]
*[[GpiQueryCharMode]]
* [[GpiQueryCharSet]]
*[[GpiQueryCharSet]]
* [[GpiQueryCharShear]]
*[[GpiQueryCharShear]]
* [[GpiQueryCharStringPos]]
*[[GpiQueryCharStringPos]]
* [[GpiQueryCharStringPosAt]]
*[[GpiQueryCharStringPosAt]]
* [[GpiQueryDefCharBox]]
*[[GpiQueryDefCharBox]]
* [[GpiQueryTextAlignment]]
*[[GpiQueryTextAlignment]]
* [[GpiQueryTextBox]]
*[[GpiQueryTextBox]]
* [[GpiQueryWidthsTable]]
*[[GpiQueryWidthTable]]
* [[GpiSetCharAngle]]
*[[GpiSetCharAngle]]
* [[GpiSetCharBox]]
*[[GpiSetCharBox]]
* [[GpiSetCharBreakExtra]]
*[[GpiSetCharBreakExtra]]
* [[GpiSetCharDirection]]
*[[GpiSetCharDirection]]
* [[GpiSetCharExtra]]
*[[GpiSetCharExtra]]
* [[GpiSetCharMode]]
*[[GpiSetCharMode]]
* [[GpiSetCharSet]]
*[[GpiSetCharSet]]
* [[GpiSetCharShear]]
*[[GpiSetCharShear]]
* [[GpiSetTextAlignment]]
*[[GpiSetTextAlignment]]
 
=== Clipping ===
=== Clipping ===
* [[GpiExcludeClipRectangle]]
*[[GpiExcludeClipRectangle]]
* [[GpiIntersectClipRectangle]]
*[[GpiIntersectClipRectangle]]
* [[GpiOffsetClipRegion]]
*[[GpiOffsetClipRegion]]
* [[GpiPtVisible]]
*[[GpiPtVisible]]
* [[GpiQueryClipBox]]
*[[GpiQueryClipBox]]
* [[GpiQueryClipRegion]]
*[[GpiQueryClipRegion]]
* [[GpiRectVisible]]
*[[GpiRectVisible]]
* [[GpiSetClipPath]]
*[[GpiSetClipPath]]
* [[GpiSetClipRegion]]
*[[GpiSetClipRegion]]
 
=== Code Page ===
=== Code Page ===
* [[GpiQueryCp]]
*[[GpiQueryCp]]
* [[GpiSetCp]]
*[[GpiSetCp]]
=== Color ===
 
* [[GpiCreateLogColorTable]]
=== Colour ===
* [[GpiQueryBackColor]]
*[[GpiCreateLogColorTable]]
* [[GpiQueryColor]]
*[[GpiQueryBackColor]]
* [[GpiQueryColorData]]
*[[GpiQueryColor]]
* [[GpiQueryColorIndex]]
*[[GpiQueryColorData]]
* [[GpiQueryLogColorTable]]
*[[GpiQueryColorIndex]]
* [[GpiQueryMix]]
*[[GpiQueryLogColorTable]]
* [[GpiQueryNearestColor]]
*[[GpiQueryMix]]
* [[GpiQueryPel]]
*[[GpiQueryNearestColor]]
* [[GpiQueryRealColors]]
*[[GpiQueryPel]]
* [[GpiQueryRGBColor]]
*[[GpiQueryRealColors]]
* [[GpiSetColor]]
*[[GpiQueryRGBColor]]
* [[GpiSetBackColor]]
*[[GpiSetColor]]
* [[GpiSetBackMix]]
*[[GpiSetBackColor]]
* [[GpiSetColor]]
*[[GpiSetBackMix]]
* [[GpiSetMix]]
*[[GpiSetColor]]
* [[GpiSetPel]]
*[[GpiSetMix]]
*[[GpiSetPel]]
 
=== Fonts ===
=== Fonts ===
* [[GpiCreateLogFont]]
*[[GpiCreateLogFont]]
* [[GpiLoadFonts]]
*[[GpiLoadFonts]]
* [[GpiLoadPublicFonts]]
*[[GpiLoadPublicFonts]]
* [[GpiQueryFaceString]]
*[[GpiQueryFaceString]]
* [[GpiQueryFontAction]]
*[[GpiQueryFontAction]]
* [[GpiQueryFontFileDescription]]
*[[GpiQueryFontFileDescriptions]]
* [[GpiQueryFonts]]
*[[GpiQueryFontMetrics]]
* [[GpiQueryFullFontFileDescs]]
*[[GpiQueryFonts]]
* [[GpiQueryKerningPairs]]
*[[GpiQueryFullFontFileDescs]]
* [[GpiQueryLogicalFont]]
*[[GpiQueryKerningPairs]]
* [[GpiUnloadFonts]]
*[[GpiQueryLogicalFont]]
* [[GpiUnloadPublicFonts]]
*[[GpiUnloadFonts]]
*[[GpiUnloadPublicFonts]]
 
=== Line/Arc ===
=== Line/Arc ===
* [[GpiBox]]
*[[GpiBox]]
* [[GpiFullArc]]
*[[GpiFullArc]]
* [[GpiLine]]
*[[GpiLine]]
* [[GpiPartialArc]]
*[[GpiPartialArc]]
* [[GpiPointArc]]
*[[GpiPointArc]]
* [[GpiPolyFillet]]
*[[GpiPolyFillet]]
* [[GpiPolyFilletSharp]]
*[[GpiPolyFilletSharp]]
* [[GpiPolygons]]
*[[GpiPolygons]]
* [[GpiPolyLine]]
*[[GpiPolyLine]]
* [[GpiPolyLineDisjoint]]
*[[GpiPolyLineDisjoint]]
* [[GpiQueryArcParams]]
*[[GpiPolySpline]]
* [[GpiQueryDefArcParams]]
*[[GpiQueryArcParams]]
* [[GpiQueryLineEnd]]
*[[GpiQueryDefArcParams]]
* [[GpiQueryLineJoin]]
*[[GpiQueryLineEnd]]
* [[GpiQueryLineType]]
*[[GpiQueryLineJoin]]
* [[GpiQueryLineWidth]]
*[[GpiQueryLineType]]
* [[GpiQueryLineWidthGeom]]
*[[GpiQueryLineWidth]]
* [[GpiSetArcParams]]
*[[GpiQueryLineWidthGeom]]
* [[GpiSetLineEnd]]
*[[GpiSetArcParams]]
* [[GpiSetLineJoin]]
*[[GpiSetDefArcParams]]
* [[GpiSetLineType]]
*[[GpiSetLineEnd]]
* [[GpiSetLineWidth]]
*[[GpiSetLineJoin]]
* [[GpiSetLineWidthGeom]]
*[[GpiSetLineType]]
* [[GpiSpline]]
*[[GpiSetLineWidth]]
*[[GpiSetLineWidthGeom]]
 
=== Marker ===
=== Marker ===
* [[GpiMarker]]
*[[GpiMarker]]
* [[GpiPolyMarker]]
*[[GpiPolyMarker]]
* [[GpiQueryMarker]]
*[[GpiQueryMarker]]
* [[GpiQueryMarkerBox]]
*[[GpiQueryMarkerBox]]
* [[GpiQueryMarkerSet]]
*[[GpiQueryMarkerSet]]
* [[GpiSetMarker]]
*[[GpiSetMarker]]
* [[GpiSetMarkerBox]]
*[[GpiSetMarkerBox]]
* [[GpiSetMarkerSet]]
*[[GpiSetMarkerSet]]
 
=== MetaFile ===
=== MetaFile ===
* [[GpiCopyMetaFile]]
*[[GpiCopyMetaFile]]
* [[GpiDeleteMetaFile]]
*[[GpiDeleteMetaFile]]
* [[GpiLoadMetaFile]]
*[[GpiLoadMetaFile]]
* [[GpiPlayMetaFile]]
*[[GpiPlayMetaFile]]
* [[GpiQueryMetaFileBits]]
*[[GpiQueryMetaFileBits]]
* [[GpiQueryMetaFileLength]]
*[[GpiQueryMetaFileLength]]
* [[GpiSaveMetaFile]]
*[[GpiSaveMetaFile]]
* [[GpiSetMetaFileBits]]
*[[GpiSetMetaFileBits]]
 
=== Palette ===
=== Palette ===
* [[GpiAnimatePalette]]
* [[GpiAnimatePalette]]
Line 181: Line 195:
* [[GpiSelectPalette]]
* [[GpiSelectPalette]]
* [[GpiSetPaletteEntries]]
* [[GpiSetPaletteEntries]]
=== Paths ===
=== Paths ===
* [[GpiBeginPath]]
*[[GpiBeginPath]]
* [[GpiEndPath]]
*[[GpiEndPath]]
* [[GpiFillPath]]
*[[GpiFillPath]]
* [[GpiModifyPath]]
*[[GpiModifyPath]]
* [[GpiOutlinePath]]
*[[GpiOutlinePath]]
* [[GpiPathToRegion]]
*[[GpiPathToRegion]]
* [[GpiSetClipPath]]
*[[GpiSetClipPath]]
* [[GpiStrokePath]]
*[[GpiStrokePath]]
 
=== Presentation Space/Device Context ===
=== Presentation Space/Device Context ===
* [[GpiAssociate]]
*[[GpiAssociate]]
* [[GpiCreatePS]]
*[[GpiCreatePS]]
* [[GpiDestroyPS]]
*[[GpiDestroyPS]]
* [[GpiErase]]
*[[GpiErase]]
* [[GpiQueryDevice]]
*[[GpiQueryDevice]]
* [[GpiQueryDeviceBitmapFormats]]
*[[GpiQueryDeviceBitmapFormats]]
* [[GpiQueryPS]]
*[[GpiQueryPS]]
* [[GpiResetPS]]
*[[GpiResetPS]]
* [[GpiRestorePS]]
*[[GpiRestorePS]]
* [[GpiSavePS]]
*[[GpiSavePS]]
* [[GpiSetPS]]
*[[GpiSetPS]]
 
=== Primitive Attribute/Tag ===
=== Primitive Attribute/Tag ===
* [[GpiDeleteSetId]]
*[[GpiDeleteSetId]]
* [[GpiQueryAttrMode]]
*[[GpiQueryAttrMode]]
* [[GpiQueryAttrs]]
*[[GpiQueryAttrs]]
* [[GpiQueryDefAttrs]]
*[[GpiQueryDefAttrs]]
* [[GpiQueryDefTag]]
*[[GpiQueryDefTag]]
* [[GpiQuerySetIds]]
*[[GpiQuerySetIds]]
* [[GpiQueryTag]]
*[[GpiQueryTag]]
* [[GpiSetAttrMode]]
*[[GpiSetAttrMode]]
* [[GpiSetAttrs]]
*[[GpiSetAttrs]]
* [[GpiSetDefAttrs]]
*[[GpiSetDefAttrs]]
* [[GpiSetDefTag]]
*[[GpiSetDefTag]]
* [[GpiSetTag]]
*[[GpiSetTag]]
 
=== Regions ===
=== Regions ===
* [[GpiCombineRegion]]
*[[GpiCombineRegion]]
* [[GpiCreateRegion]]
*[[GpiCreateRegion]]
* [[GpiDestroyRegion]]
*[[GpiDestroyRegion]]
* [[GpiEqualRegion]]
*[[GpiEqualRegion]]
* [[GpiFrameRegion]]
*[[GpiFrameRegion]]
* [[GpiIntersectClipRectangle]]
*[[GpiIntersectClipRectangle]]
* [[GpiOffsetRegion]]
*[[GpiOffsetRegion]]
* [[GpiPaintRegion]]
*[[GpiPaintRegion]]
* [[GpiPtInRegion]]
*[[GpiPtInRegion]]
* [[GpiQueryRegionBox]]
*[[GpiQueryRegionBox]]
* [[GpiQueryRegionRects]]
*[[GpiQueryRegionRects]]
* [[GpiQueryRegionBox]]
*[[GpiQueryRegionRects]]
* [[GpiQueryRegionRects]]
*[[GpiRectInRegion]]
* [[GpiRectInRegion]]
*[[GpiSetClipRegion]]
* [[GpiSetClipRegion]]
*[[GpiSetRegion]]
* [[GpiSetRegion]]
 
=== Segment ===
=== Segment ===
* [[GpiBeginElement]]
*[[GpiBeginElement]]
* [[GpiCallSegmentMatrix]]
*[[GpiCallSegmentMatrix]]
* [[GpiCloseSegment]]
*[[GpiCloseSegment]]
* [[GpiDeleteElement]]
*[[GpiDeleteElement]]
* [[GpiDeleteElements]]
*[[GpiDeleteElements]]
* [[GpiDeleteElementsBetweenLabels]]
*[[GpiDeleteElementsBetweenLabels]]
* [[GpiDeleteSegment]]
*[[GpiDeleteElementRange]]
* [[GpiDeleteSegments]]
*[[GpiDeleteSegment]]
* [[GpiDrawSegment]]
*[[GpiDeleteSegments]]
* [[GpiElement]]
*[[GpiDrawSegment]]
* [[GpiEndElement]]
*[[GpiElement]]
* [[GpiErrorSegmentData]]
*[[GpiEndElement]]
* [[GpiGetData]]
*[[GpiErrorSegmentData]]
* [[GpiOffsetElementPointer]]
*[[GpiGetData]]
* [[GpiOpenSegment]]
*[[GpiOffsetElementPointer]]
* [[GpiPutData]]
*[[GpiOpenSegment]]
* [[GpiQueryDrawControl]]
*[[GpiPutData]]
* [[GpiQueryDrawingMode]]
*[[GpiQueryDrawControl]]
* [[GpiQueryEditMode]]
*[[GpiQueryDrawingMode]]
* [[GpiQueryElement]]
*[[GpiQueryEditMode]]
* [[GpiQueryElementPointer]]
*[[GpiQueryElement]]
* [[GpiQueryElementType]]
*[[GpiQueryElementPointer]]
* [[GpiQueryInitialSegmentAttrs]]
*[[GpiQueryElementType]]
* [[GpiQuerySegmentAttrs]]
*[[GpiQueryInitialSegmentAttrs]]
* [[GpiQuerySegmentNames]]
*[[GpiQuerySegmentAttrs]]
* [[GpiQuerySegmentPriority]]
*[[GpiQuerySegmentNames]]
* [[GpiQuerySegmentTransformMatrix]]
*[[GpiQuerySegmentPriority]]
* [[GpiRemoveDynamics]]
*[[GpiQuerySegmentTransformMatrix]]
* [[GpiSetDrawControl]]
*[[GpiRemoveDynamics]]
* [[GpiSetDrawingMode]]
*[[GpiSetDrawControl]]
* [[GpiSetEditMode]]
*[[GpiSetDrawingMode]]
* [[GpiSetElementPointer]]
*[[GpiSetEditMode]]
* [[GpiSetElementPointerAtLabel]]
*[[GpiSetElementPointer]]
* [[GpiSetInitialSegmentAttrs]]
*[[GpiSetElementPointerAtLabel]]
* [[GpiSetSegmentAttrs]]
*[[GpiSetInitialSegmentAttrs]]
* [[GpiSetSegmentPriority]]
*[[GpiSetSegmentAttrs]]
* [[GpiSetSegmentTransformMatrix]]
*[[GpiSetSegmentPriority]]
* [[GpiSetStopDraw]]
*[[GpiSetSegmentTransformMatrix]]
*[[GpiSetStopDraw]]
 
=== Space/Transformations ===
=== Space/Transformations ===
* [[GpiCovert]]
*[[GpiConvert]]
* [[GpiConvertWithMatrix]]
*[[GpiConvertWithMatrix]]
* [[GpiQueryDefaultViewMatrix]]
*[[GpiQueryDefaultViewMatrix]]
* [[GpiQueryModelTransformMatrix]]
*[[GpiQueryModelTransformMatrix]]
* [[GpiQueryStopDraw]]
*[[GpiQueryStopDraw]]
* [[GpiQueryViewingTransformMatrix]]
*[[GpiQueryViewingTransformMatrix]]
* [[GpiSetDefaultViewMatrix]]
*[[GpiSetDefaultViewMatrix]]
* [[GpiSetModelTransformMatrix]]
*[[GpiSetModelTransformMatrix]]
* [[GpiSetViewingTransformMatrix]]
*[[GpiSetViewingTransformMatrix]]
 
=== Not Documented / To Verify ===
* [[GpiOval]]
* GpiAbortPath
* GpiAccessMetaFile
* [[GpiBeginInkPath]]
* [[GpiEndInkPath]]
* [[GpiOpenMetaFile]]
* [[GpiCloseMetafile]]
* GpiConvPSH
* GpiCreateEllipticRegion
* GpiCreatePolygonRegion
* GpiCreateRoundRectRegion
* GpiDrawChain
* GpiDrawFrom
* GpiDrawDynamics
* GpiConvPSH
* [[GpiEnableYInversion]]
* GpiInstallIFIFont
* GpiMTAssociate
* GpiMTDisassociate
* GpiQueryDCData
* GpiSetDCOwner
* GpiQueryFontMappingFlags
* GpiSetFontMappingFlags
* GpiQueryMitreLimit
* GpiSetMitreLimit
* GpiQueryNumberSetIds
* GpiQueryPath
* GpiQueryRasterizerCaps
* GpiQueryTabbedTextExtent
* [[GpiQueryYInversion]]
* GpiTabbedCharStringAt
* GpiRealizeColorTable
* GpiResizePalette
* GpiResumePlay
* GpiSuspendPlay
* GpiSaveMetaFile2
* GpiSetBitmapOwner
* GpiSetRegionOwner
* GpiStartRequest
* GpiStrokeInkPath
* GpiUnrealizeColorTable
* GpiVectorSymbol
 
</div>


[[OS2_API | OS/2 API]]
[[Category:The OS/2 API Project]]

Latest revision as of 01:24, 25 April 2025

Graphics Programming Interface

For more information check Graphics Programming Interface (GPI).

Area

Bitmaps

Character/Text

Clipping

Code Page

Colour

Fonts

Line/Arc

Marker

MetaFile

Palette

Paths

Presentation Space/Device Context

Primitive Attribute/Tag

Regions

Segment

Space/Transformations

Not Documented / To Verify

  • GpiOval
  • GpiAbortPath
  • GpiAccessMetaFile
  • GpiBeginInkPath
  • GpiEndInkPath
  • GpiOpenMetaFile
  • GpiCloseMetafile
  • GpiConvPSH
  • GpiCreateEllipticRegion
  • GpiCreatePolygonRegion
  • GpiCreateRoundRectRegion
  • GpiDrawChain
  • GpiDrawFrom
  • GpiDrawDynamics
  • GpiConvPSH
  • GpiEnableYInversion
  • GpiInstallIFIFont
  • GpiMTAssociate
  • GpiMTDisassociate
  • GpiQueryDCData
  • GpiSetDCOwner
  • GpiQueryFontMappingFlags
  • GpiSetFontMappingFlags
  • GpiQueryMitreLimit
  • GpiSetMitreLimit
  • GpiQueryNumberSetIds
  • GpiQueryPath
  • GpiQueryRasterizerCaps
  • GpiQueryTabbedTextExtent
  • GpiQueryYInversion
  • GpiTabbedCharStringAt
  • GpiRealizeColorTable
  • GpiResizePalette
  • GpiResumePlay
  • GpiSuspendPlay
  • GpiSaveMetaFile2
  • GpiSetBitmapOwner
  • GpiSetRegionOwner
  • GpiStartRequest
  • GpiStrokeInkPath
  • GpiUnrealizeColorTable
  • GpiVectorSymbol