All types
|
All members
RT.Util
RT.KitchenSink.Fonts
RT.Util
RT.Util.Controls
RT.Util.Drawing
Bytes
Bitmap
Canvas
Coordinate
Axes
Direction
Graphics
Transformer
Graphics
Util
ColorBlend
(
color
,
back
Color
,
amount
)
DrawBitmap
(
width
,
height
,
draw
,
keep
Low
Quality
)
DrawImageAlpha
(
graphics
,
image
,
dest
Rect
,
opacity
)
DrawRoundedRectangle
(
g
,
pen
,
rectangle
,
radius
,
tolerant
)
DrawRoundedRectangle
(
g
,
pen
,
x
,
y
,
width
,
height
,
radius
,
tolerant
)
FitIntoMaintainAspectRatio
(
fit
What
,
fit
Into
)
FromHsv
(
hue
,
saturation
,
value
)
GetMaximumFontSize
(
graphics
,
maximum
Size
,
font
Family
,
text
,
style
,
allow
Word
Wrapping
)
GetMaximumFontSize
(
graphics
,
font
Family
,
text
,
style
,
allow
Word
Wrapping
,
max
Width
,
max
Height
)
RoundedRectangle
(
rectangle
,
radius
,
tolerant
)
RoundedRectangle
(
x
,
y
,
width
,
height
,
radius
,
tolerant
)
SetHighQuality
(
g
)
Text
Anchor
RT.Util.ExtensionMethods
RT.Util.Forms
PropellerApi
RT.ArithmeticCoding
RT.CommandLine
RT.Dijkstra
RT.Generex
RT.Json
RT.Lingo
RT.Lingo.Base
RT.NUnitDirect
RT.PostBuild
RT.SelfService
RT.Serialization
RT.Serialization.Binary
RT.Serialization.Json
RT.Serialization.Xml
RT.Servers
RT.TagSoup
RT.Util.Core
Legend
Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field
Extension method:
Rectangle
FitIntoMaintainAspectRatio
(
this Size
,
Rectangle
)
Declared in:
RT.Util.Drawing.
GraphicsUtil
Declaration
public static
Rectangle
FitIntoMaintainAspectRatio
(
this Size
fitWhat
,
Rectangle
fitInto
)
Summary
Returns a rectangle that has the same aspect ratio as
fitWhat
but fits into
fitInto
.
Parameters
this Size
fitWhat
Specifies the aspect ratio of the desired rectangle.
Rectangle
fitInto
The rectangle into which to fit the result rectangle.
Returns
The result rectangle which fits into
fitInto
.