mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-06 23:43:07 +02:00
Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: "Using Graphics Containers"
|
||||
ms.date: "03/30/2017"
|
||||
helpviewer_keywords:
|
||||
- "graphics [Windows Forms], using containers"
|
||||
- "graphics containers"
|
||||
- "examples [Windows Forms], graphics containers"
|
||||
ms.assetid: 74632f91-cefa-4f51-ab7c-f9ac91942caf
|
||||
---
|
||||
# Using Graphics Containers
|
||||
A <xref:System.Drawing.Graphics> object provides methods such as <xref:System.Drawing.Graphics.DrawLine%2A>, <xref:System.Drawing.Graphics.DrawImage%2A>, and <xref:System.Drawing.Graphics.DrawString%2A> for displaying vector images, raster images, and text. A <xref:System.Drawing.Graphics> object also has several properties that influence the quality and orientation of the items that are drawn. For example, the smoothing mode property determines whether antialiasing is applied to lines and curves, and the world transformation property influences the position and rotation of the items that are drawn.
|
||||
|
||||
A <xref:System.Drawing.Graphics> object is associated with a particular display device. When you use a <xref:System.Drawing.Graphics> object to draw in a window, the <xref:System.Drawing.Graphics> object is also associated with that particular window.
|
||||
|
||||
A <xref:System.Drawing.Graphics> object can be thought of as a container because it holds a set of properties that influence drawing and it is linked to device-specific information. You can create a secondary container within an existing <xref:System.Drawing.Graphics> object by calling the <xref:System.Drawing.Graphics.BeginContainer%2A> method of that <xref:System.Drawing.Graphics> object.
|
||||
|
||||
## In This Section
|
||||
[Managing the State of a Graphics Object](managing-the-state-of-a-graphics-object.md)
|
||||
Describes how manage the quality settings, clipping area and transformations of a <xref:System.Drawing.Graphics> object.
|
||||
|
||||
[Using Nested Graphics Containers](using-nested-graphics-containers.md)
|
||||
Shows how to use containers to control the state of the <xref:System.Drawing.Graphics> object.
|
||||
Reference in New Issue
Block a user