![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
ScaleBar () | |
double | GetPixelAt (double unit) |
double | GetUnitAt (double pixel) |
void | SetUnitAt (double unit, double pixel) |
void | SetUnitsPerTickAt (double unitsPerTick, double pixel) |
void | SetPixelsPerTickAt (double pixelsPerTick, double pixel) |
void | ZoomAtPosition (double position, double coeficient, bool affectPixelsPerTick) |
bool | StartDraggingScale () |
bool | EndDraggingScale () |
Static Public Attributes | |
static readonly DependencyProperty | CustomDrawingContextProperty |
static readonly DependencyProperty | BackgroundProperty |
static readonly DependencyProperty | LargeTickPenProperty |
static readonly DependencyProperty | SmallTickPenProperty |
static readonly DependencyProperty | LargeTickTopProperty |
static readonly DependencyProperty | LargeTickBottomProperty |
static readonly DependencyProperty | SmallTickTopProperty |
static readonly DependencyProperty | SmallTickBottomProperty |
static readonly DependencyProperty | DecimalCountRoundingProperty |
static readonly DependencyProperty | TextPositionOriginProperty |
static readonly DependencyProperty | TextPositionProperty |
static readonly DependencyProperty | ForegroundProperty |
static readonly DependencyProperty | FontProperty |
static readonly DependencyProperty | FontSizeProperty |
static readonly DependencyProperty | StartUnitProperty |
static readonly DependencyProperty | MinimumUnitsPerTickProperty |
static readonly DependencyProperty | MaximumUnitsPerTickProperty |
static readonly DependencyProperty | UnitsPerTickProperty |
static readonly DependencyProperty | PixelsPerTickProperty |
static readonly DependencyProperty | AdjustedUnitsPerTickProperty = AdjustedUnitsPerTickPropertyKey.DependencyProperty |
static readonly DependencyProperty | AdjustedPixelsPerTickProperty = AdjustedPixelsPerTickPropertyKey.DependencyProperty |
static readonly DependencyProperty | PixelsPerUnitProperty = PixelsPerUnitPropertyKey.DependencyProperty |
static readonly DependencyProperty | AdjustedPixelsPerUnitProperty = AdjustedPixelsPerUnitPropertyKey.DependencyProperty |
static readonly DependencyProperty | IsAliasedProperty |
static readonly DependencyProperty | IsTextVisibleProperty |
static readonly DependencyProperty | IsSmallTickVisibleProperty |
static readonly DependencyProperty | IsZoomingOnMouseWheelProperty |
static readonly DependencyProperty | MouseWheelZoomCoeficientProperty |
static readonly DependencyProperty | IsDraggingOnLeftMouseButtonProperty |
static readonly DependencyProperty | IsDraggingOnRightMouseButtonProperty |
static readonly DependencyProperty | UnitSystemProperty |
static readonly DependencyProperty | SymbolProperty |
static readonly DependencyProperty | TickTextUnitDividerProperty |
static readonly RoutedEvent | BeforeRenderEvent |
static readonly RoutedEvent | AfterRenderEvent |
static readonly RoutedEvent | BeforeTicksRenderEvent |
static readonly RoutedEvent | AfterTicksRenderEvent |
static readonly RoutedEvent | ScaleChangingEvent |
static readonly RoutedEvent | ScaleChangedEvent |
Protected Member Functions | |
override void | OnRender (DrawingContext localDrawingContext) |
virtual void | DrawLargeTick (DrawingContext drawingContext, double unit, double position) |
virtual void | DrawSmallTick (DrawingContext drawingContext, double position) |
override void | OnMouseWheel (MouseWheelEventArgs e) |
override void | OnMouseMove (MouseEventArgs e) |
override void | OnMouseLeftButtonDown (MouseButtonEventArgs e) |
override void | OnMouseLeftButtonUp (MouseButtonEventArgs e) |
override void | OnMouseRightButtonDown (MouseButtonEventArgs e) |
override void | OnMouseRightButtonUp (MouseButtonEventArgs e) |
Properties | |
RoutedEventHandler | BeforeRender |
RoutedEventHandler | AfterRender |
CustomRenderRoutedEventHandler | BeforeTicksRender |
CustomRenderRoutedEventHandler | AfterTicksRender |
RoutedDependencyPropertyChangedEventHandler | ScaleChanging |
RoutedDependencyPropertyChangedEventHandler | ScaleChanged |
DrawingContext | CustomDrawingContext [get, set] |
Brush | Background [get, set] |
Pen | LargeTickPen [get, set] |
Pen | SmallTickPen [get, set] |
double | LargeTickTop [get, set] |
Gets or sets the relative top (Y) coordinate of the drawn large ticks. This is a dependency property. More... | |
double | LargeTickBottom [get, set] |
Gets or sets the relative bottom (Y) coordinate of the drawn large ticks. This is a dependency property. More... | |
double | SmallTickTop [get, set] |
Gets or sets the relative top (Y) coordinate of the drawn small ticks. This is a dependency property. More... | |
double | SmallTickBottom [get, set] |
Gets or sets the relative bottom (Y) coordinate of the drawn small ticks. This is a dependency property. More... | |
int | DecimalCountRounding [get, set] |
Point | TextPositionOrigin [get, set] |
Gets or sets the center point of drawn text, relative to the bounds of the drawn text itself. This is a dependency property. More... | |
double | TextPosition [get, set] |
Gets or sets the relative top (Y) coordinate of the center of the drawn text. This is a dependency property. More... | |
Brush | Foreground [get, set] |
Typeface | Font [get, set] |
double | FontSize [get, set] |
double | StartUnit [get, set] |
double | MinimumUnitsPerTick [get, set] |
double | MaximumUnitsPerTick [get, set] |
double | UnitsPerTick [get, set] |
double | AdjustedUnitsPerTick [get, set] |
double | PixelsPerTick [get, set] |
double | AdjustedPixelsPerTick [get, set] |
double | PixelsPerUnit [get, set] |
double | AdjustedPixelsPerUnit [get, set] |
bool | IsAliased [get, set] |
bool | IsTextVisible [get, set] |
bool | IsSmallTickVisible [get, set] |
bool | IsZoomingOnMouseWheel [get, set] |
double | MouseWheelZoomCoeficient [get, set] |
bool | IsDraggingOnLeftMouseButton [get, set] |
bool | IsDraggingOnRightMouseButton [get, set] |
UnitSystem | UnitSystem [get, set] |
string | UnitSymbol [get, set] |
double | TickTextUnitDivider [get, set] |
Definition at line 42 of file ScaleBar.cs.
SiliconStudio.Presentation.Controls.ScaleBar.ScaleBar | ( | ) |
Definition at line 282 of file ScaleBar.cs.
|
protectedvirtual |
Definition at line 946 of file ScaleBar.cs.
|
protectedvirtual |
Definition at line 961 of file ScaleBar.cs.
bool SiliconStudio.Presentation.Controls.ScaleBar.EndDraggingScale | ( | ) |
Definition at line 1002 of file ScaleBar.cs.
double SiliconStudio.Presentation.Controls.ScaleBar.GetPixelAt | ( | double | unit | ) |
Definition at line 653 of file ScaleBar.cs.
double SiliconStudio.Presentation.Controls.ScaleBar.GetUnitAt | ( | double | pixel | ) |
Definition at line 658 of file ScaleBar.cs.
|
protected |
Definition at line 1023 of file ScaleBar.cs.
|
protected |
Definition at line 1031 of file ScaleBar.cs.
|
protected |
Definition at line 1013 of file ScaleBar.cs.
|
protected |
Definition at line 1039 of file ScaleBar.cs.
|
protected |
Definition at line 1047 of file ScaleBar.cs.
|
protected |
Definition at line 966 of file ScaleBar.cs.
|
protected |
Definition at line 703 of file ScaleBar.cs.
void SiliconStudio.Presentation.Controls.ScaleBar.SetPixelsPerTickAt | ( | double | pixelsPerTick, |
double | pixel | ||
) |
Definition at line 676 of file ScaleBar.cs.
void SiliconStudio.Presentation.Controls.ScaleBar.SetUnitAt | ( | double | unit, |
double | pixel | ||
) |
Definition at line 663 of file ScaleBar.cs.
void SiliconStudio.Presentation.Controls.ScaleBar.SetUnitsPerTickAt | ( | double | unitsPerTick, |
double | pixel | ||
) |
Definition at line 669 of file ScaleBar.cs.
bool SiliconStudio.Presentation.Controls.ScaleBar.StartDraggingScale | ( | ) |
Definition at line 991 of file ScaleBar.cs.
void SiliconStudio.Presentation.Controls.ScaleBar.ZoomAtPosition | ( | double | position, |
double | coeficient, | ||
bool | affectPixelsPerTick | ||
) |
Definition at line 981 of file ScaleBar.cs.
|
static |
Definition at line 170 of file ScaleBar.cs.
|
static |
Definition at line 184 of file ScaleBar.cs.
|
static |
Definition at line 163 of file ScaleBar.cs.
|
static |
Definition at line 252 of file ScaleBar.cs.
|
static |
Definition at line 264 of file ScaleBar.cs.
|
static |
Definition at line 50 of file ScaleBar.cs.
|
static |
Definition at line 246 of file ScaleBar.cs.
|
static |
Definition at line 258 of file ScaleBar.cs.
|
static |
Definition at line 44 of file ScaleBar.cs.
|
static |
Definition at line 92 of file ScaleBar.cs.
|
static |
Definition at line 116 of file ScaleBar.cs.
|
static |
Definition at line 122 of file ScaleBar.cs.
|
static |
Definition at line 110 of file ScaleBar.cs.
|
static |
Definition at line 186 of file ScaleBar.cs.
|
static |
Definition at line 216 of file ScaleBar.cs.
|
static |
Definition at line 222 of file ScaleBar.cs.
|
static |
Definition at line 198 of file ScaleBar.cs.
|
static |
Definition at line 192 of file ScaleBar.cs.
|
static |
Definition at line 204 of file ScaleBar.cs.
|
static |
Definition at line 74 of file ScaleBar.cs.
|
static |
Definition at line 56 of file ScaleBar.cs.
|
static |
Definition at line 68 of file ScaleBar.cs.
|
static |
Definition at line 140 of file ScaleBar.cs.
|
static |
Definition at line 134 of file ScaleBar.cs.
|
static |
Definition at line 210 of file ScaleBar.cs.
|
static |
Definition at line 152 of file ScaleBar.cs.
|
static |
Definition at line 177 of file ScaleBar.cs.
|
static |
Definition at line 276 of file ScaleBar.cs.
|
static |
Definition at line 270 of file ScaleBar.cs.
|
static |
Definition at line 86 of file ScaleBar.cs.
|
static |
Definition at line 62 of file ScaleBar.cs.
|
static |
Definition at line 80 of file ScaleBar.cs.
|
static |
Definition at line 128 of file ScaleBar.cs.
|
static |
Definition at line 234 of file ScaleBar.cs.
|
static |
Definition at line 98 of file ScaleBar.cs.
|
static |
Definition at line 104 of file ScaleBar.cs.
|
static |
Definition at line 240 of file ScaleBar.cs.
|
static |
Definition at line 146 of file ScaleBar.cs.
|
static |
Definition at line 228 of file ScaleBar.cs.
|
getset |
Definition at line 528 of file ScaleBar.cs.
|
getset |
Definition at line 540 of file ScaleBar.cs.
|
getset |
Definition at line 516 of file ScaleBar.cs.
|
addremove |
Definition at line 303 of file ScaleBar.cs.
|
addremove |
Definition at line 315 of file ScaleBar.cs.
|
getset |
Definition at line 385 of file ScaleBar.cs.
|
addremove |
Definition at line 297 of file ScaleBar.cs.
|
addremove |
Definition at line 309 of file ScaleBar.cs.
|
getset |
Definition at line 379 of file ScaleBar.cs.
|
getset |
Definition at line 447 of file ScaleBar.cs.
|
getset |
Definition at line 480 of file ScaleBar.cs.
|
getset |
Definition at line 486 of file ScaleBar.cs.
|
getset |
Definition at line 474 of file ScaleBar.cs.
|
getset |
Definition at line 546 of file ScaleBar.cs.
|
getset |
Definition at line 576 of file ScaleBar.cs.
|
getset |
Definition at line 582 of file ScaleBar.cs.
|
getset |
Definition at line 558 of file ScaleBar.cs.
|
getset |
Definition at line 552 of file ScaleBar.cs.
|
getset |
Definition at line 564 of file ScaleBar.cs.
|
getset |
Gets or sets the relative bottom (Y) coordinate of the drawn large ticks. This is a dependency property.
The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.
Definition at line 419 of file ScaleBar.cs.
|
getset |
Definition at line 391 of file ScaleBar.cs.
|
getset |
Gets or sets the relative top (Y) coordinate of the drawn large ticks. This is a dependency property.
The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.
Definition at line 408 of file ScaleBar.cs.
|
getset |
Definition at line 504 of file ScaleBar.cs.
|
getset |
Definition at line 498 of file ScaleBar.cs.
|
getset |
Definition at line 570 of file ScaleBar.cs.
|
getset |
Definition at line 522 of file ScaleBar.cs.
|
getset |
Definition at line 534 of file ScaleBar.cs.
|
addremove |
Definition at line 327 of file ScaleBar.cs.
|
addremove |
Definition at line 321 of file ScaleBar.cs.
|
getset |
Gets or sets the relative bottom (Y) coordinate of the drawn small ticks. This is a dependency property.
The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.
Definition at line 441 of file ScaleBar.cs.
|
getset |
Definition at line 397 of file ScaleBar.cs.
|
getset |
Gets or sets the relative top (Y) coordinate of the drawn small ticks. This is a dependency property.
The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.
Definition at line 430 of file ScaleBar.cs.
|
getset |
Definition at line 492 of file ScaleBar.cs.
|
getset |
Gets or sets the relative top (Y) coordinate of the center of the drawn text. This is a dependency property.
The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.
Definition at line 468 of file ScaleBar.cs.
|
getset |
Gets or sets the center point of drawn text, relative to the bounds of the drawn text itself. This is a dependency property.
Each coordinate axis can be set to less than 0.0 or more than 1.0 where additional offset is needed.
Definition at line 457 of file ScaleBar.cs.
|
getset |
Definition at line 600 of file ScaleBar.cs.
|
getset |
Definition at line 510 of file ScaleBar.cs.
|
getset |
Definition at line 594 of file ScaleBar.cs.
|
getset |
Definition at line 588 of file ScaleBar.cs.