LineTo
E724265
LineTo is a Windows GDI function that draws a straight line from the current drawing position to a specified endpoint in a device context.
All labels observed (1)
| Label | Occurrences |
|---|---|
| LineTo canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288254 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: LineTo Context triple: [Gdi32, exportsFunction, LineTo]
-
A.
A line
The A line is a major New York City Subway service that runs primarily along the Eighth Avenue Line in Manhattan and extends into Brooklyn and Queens.
-
B.
Draw the Line
"Draw the Line" is a 1977 hard rock album by Aerosmith known for its gritty sound and title track, marking a turbulent yet influential period in the band's career.
-
C.
S3 Line
The S3 Line is a rapid transit route within the Nanjing Metro system in Nanjing, China.
-
D.
Line P
Line P is a cable car line of the Medellín Metro system that serves hillside neighborhoods by connecting them to the city’s main mass transit network.
-
E.
Line L
Line L is a cable car line of the Medellín Metro system that serves hillside neighborhoods by connecting them to the main urban transit network.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: LineTo Target entity description: LineTo is a Windows GDI function that draws a straight line from the current drawing position to a specified endpoint in a device context.
-
A.
A line
The A line is a major New York City Subway service that runs primarily along the Eighth Avenue Line in Manhattan and extends into Brooklyn and Queens.
-
B.
Draw the Line
"Draw the Line" is a 1977 hard rock album by Aerosmith known for its gritty sound and title track, marking a turbulent yet influential period in the band's career.
-
C.
S3 Line
The S3 Line is a rapid transit route within the Nanjing Metro system in Nanjing, China.
-
D.
Line P
Line P is a cable car line of the Medellín Metro system that serves hillside neighborhoods by connecting them to the city’s main mass transit network.
-
E.
Line L
Line L is a cable car line of the Medellín Metro system that serves hillside neighborhoods by connecting them to the main urban transit network.
- F. None of above. chosen
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf |
Windows GDI function
ⓘ
graphics drawing function ⓘ |
| affectsObject | device context ⓘ |
| belongsToAPI | Win32 API NERFINISHED ⓘ |
| callConvention | stdcall ⓘ |
| category | 2D graphics API ⓘ |
| clippedBy | current clipping region ⓘ |
| coordinateMappingControlledBy | SetMapMode ⓘ |
| declaredAs | BOOL LineTo(HDC hdc, int x, int y); ⓘ |
| definedIn | wingdi.h ⓘ |
| documentationSite | Microsoft Learn NERFINISHED ⓘ |
| drawsShape | straight line ⓘ |
| endsAt | specified endpoint ⓘ |
| errorRetrieval | GetLastError ⓘ |
| exportedBy | gdi32.dll ⓘ |
| graphicsType | immediate mode rendering ⓘ |
| hasParameter |
HDC hdc
ⓘ
int x ⓘ int y ⓘ |
| hasReturnType | BOOL ⓘ |
| languageBinding | C ⓘ |
| linkLibrary | Gdi32.lib ⓘ |
| movesCurrentPosition | TRUE ⓘ |
| partOf | Windows GDI NERFINISHED ⓘ |
| relatedFunction |
LineDDA
NERFINISHED
ⓘ
MoveToEx ⓘ Polyline NERFINISHED ⓘ PolylineTo ⓘ |
| requires | valid device context handle ⓘ |
| requiresHeader | Windows.h ⓘ |
| requiresSubsystem | GDI NERFINISHED ⓘ |
| returnsOnFailure | zero ⓘ |
| returnsOnSuccess | nonzero ⓘ |
| runsOn | Microsoft Windows NERFINISHED ⓘ |
| startsFrom | current drawing position ⓘ |
| supportedSince | early versions of Windows ⓘ |
| threadingModel | caller must serialize access to HDC ⓘ |
| updatesCurrentPositionTo | specified endpoint ⓘ |
| usedFor |
drawing UI element borders
ⓘ
drawing chart axes ⓘ rendering vector graphics ⓘ |
| usesCoordinateSystem |
device coordinates
ⓘ
logical coordinates ⓘ |
| usesCurrentObject |
current brush for cosmetic effects only
ⓘ
current pen ⓘ current raster operation mode ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: LineTo Description of subject: LineTo is a Windows GDI function that draws a straight line from the current drawing position to a specified endpoint in a device context.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.