![]() Obtains a handle to a device context's currently selected object of a specified type. The GetBrushOrgEx method retrieves the current brush origin (x,y) for the specified device context. The Height Specifies the height of horizontal brush strokes. The Width Specifies the width of vertical brush strokes. The FrameRgn function draws a border around the specified region by using the specified brush. The width and height of the border are always one logical unit. FrameRectįrameRect(LEFT, TOP, RIGHT, BOTTOM, BRUSH)ĭraws a border around the specified rectangle by using the specified brush. ![]() FloodFillįills an area of the display surface with the current brush. Transforms any curves in the path that is selected, turning each curve into a sequence of lines. The FillRgn function fills a region by using the specified brush. This includes the left and top borders, but excludes the right and bottom borders of the rectangle. FillRectįillRect(LEFT, TOP, RIGHT, BOTTOM, BRUSH)įills a rectangle by using the specified brush. FillPathĬloses any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode. Fillįills an area of the display surface. ExtFloodFillĮxtFloodFill(X, Y, COLOR, )įills an area of the display surface with the current brush. EndPathĬloses a path bracket and selects the path defined by the bracket. The ellipse is outlined by using the current pen and is filled by using the current brush. The center of the ellipse is the center of the specified bounding rectangle. It formats the text according to the specified method. DrawTextĭrawText(STRING, LEFT, TOP, RIGHT, BOTTOM, )ĭraws formatted text in the specified rectangle. The DrawIcon method draws an icon or cursor into the specified device context. If any of LEFT, TOP, RIGHT, BOTTOM are readonly, then DFCS_ADJUSTRECT will be ignored for the readonly parameters. If STATE includes DFCS_ADJUSTRECT, then the input parameters LEFT, TOP, RIGHT, BOTTOM are ajusted to exclude the surrounding edge of the push button. DrawFrameControlĭrawFrameControl(LEFT, TOP, RIGHT, BOTTOM, TYPE, STATE)ĭraws a frame control of the specified type and style. ![]() DrawEdgeĭrawEdge(LEFT, TOP, RIGHT, BOTTOM, ])ĭraws one or more edges of rectangle DrawFocusRectĭraws a rectangle in the style used to indicate that the rectangle has the focus. DeleteDCĭeletes the specified device context DeleteObjectĭeletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. Creates a device context (DC) for a device by using the specified name. CreateCompatibleDCĬreates a memory device context (DC) compatible with the specified device. CreateCompatibleBitmapĬreates a bitmap compatible with the device that is associated with the specified device context. CloseFigureĬloses an open figure in a path. Returns nonzero if succesful, zero on errors. Circleĭraws a circle or an ellipse X, Y, RADIUS specifies the center point and the radius of the circle, while X, Y, WIDTH, HEIGHT specifies the center point and the size of the ellipse. The chord is outlined by using the current pen and filled by using the current brush. ChordĬhord(LEFT, TOP, RIGHT, BOTTOM, XF, YF, XS, YS)ĭraws a chord (a region bounded by the intersection of an ellipse and a line segment, called a "secant"). Gets or sets the current background mix mode for the DC possible values are: 1 TRANSPARENTĬancels any pending operation on the device context. Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context. BeginPathīitBlt(XD, YD, WD, HD, SOURCE, XS, YS, ) ArcToĪrcTo(LEFT, TOP, RIGHT, BOTTOM, XRADIALF, YRADIALF, XRADIALS, YRADIALS) Gets or sets the drawing direction to be used for arc and rectangle functions. The length of the arc is defined by the given start and sweep angles. The arc is drawn along the perimeter of a circle with the given radius and center. The line segment is drawn from the current position to the beginning of the arc. To get the DC for the entire screen use: $Screen = new Win32::GUI::DC("DISPLAY") ĭraws a line segment and an arc. The second form creates a DC for the specified DEVICE actually, the only supported DRIVER is the display driver (eg. newĬreates a new DC object the first form (WINDOW is a Win32::GUI object) gets the DC for the specified window (can also be called as WINDOW->GetDC). Win32::GUI::DC - Work with a Window's DC (Drawing Context) DESCRIPTIONĬommon methods apply to most windows, controls and resources.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |